Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1.0
-
Component/s: None
-
Labels:None
-
Environment:maven 2.0.4
-
Number of attachments :
Description
Executing the following command:
mvn archetype:create -DarchetypeGroupId=org.trailsframework
-DarchetypeArtifactId=trails-archetype
-DremoteRepositories=http://snapshots.repository.codehaus.org/
-DarchetypeVersion=1.0-SNAPSHOT
-DgroupId=com.trailstest
-DartifactId=trailstest
Results in the following directory structure:
C:\source\trailstest
+---$
| +---src
| | ---main
| | ---resources
| ---target
| ---generated-sources
| ---resources
---src
+---main
| +---java
| | ---com
| | ---trailstest
| +---resources
| ---webapp
| +---images
| +---style
| ---WEB-INF
---test
---java
---com
---trailstest
I am unsure of the fix, but apparently someone needs to set ${basedir}
in the archetype somewhere.
I forgot the noformat markup above...
C:\source\trailstest +---${basedir} | +---src | | \---main | | \---resources | \---target | \---generated-sources | \---resources \---src +---main | +---java | | \---com | | \---trailstest | +---resources | \---webapp | +---images | +---style | \---WEB-INF \---test \---java \---com \---trailstest