Issue Details (XML | Word | Printable)

Key: APF-878
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: jkrugler
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

mvn jetty:run exception after war:inplace using Struts Basic archetype

Created: 09/Sep/07 03:27 PM   Updated: 14/Sep/07 11:32 AM   Resolved: 14/Sep/07 11:32 AM
Component/s: WarPath Plugin
Affects Version/s: 2.0-RC1
Fix Version/s: 2.0 Final

File Attachments: 1. File patch.diff (0.6 kB)

Environment: Ubuntu 7.04


 Description  « Hide
To recreate do the following:

mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0-rc1 -DgroupId=com.mycompany.myproject -DartifactId=myproject

mvn war:inplace

rm -r src/main/webapp/WEB-INF/lib/

rm src/main/webapp/WEB-INF/classes/struts.xml

mvn jetty:run

Adding struts.xml to warpathExcludes the section of maven-warpath-plugin of pom.xml fixes the problem. See attached patch.

Matt Raible made changes - 10/Sep/07 12:28 AM
Field Original Value New Value
Fix Version/s 2.0 Final [ 10113 ]
2948 by  Matt Raible (2 files)
14/Sep/07 11:31 AM (34 months, 30 days ago)
Matt Raible made changes - 14/Sep/07 11:32 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]