I am able to run this command succesfully

mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-modular-struts-archetype
-DarchetypeVersion=2.1.0-M1 -DgroupId=com.mycompany
-DartifactId=appfuse_struts

After that when I try to try the command 'mvn appfuse:full-source' from the
project directory appfuse_struts it runs successfully.

Then I try to run the command 'mvn' to download all the jars. It gives error

Project ID: unknown
POM Location: C:\Enterprise_App_CodeBase\appfuse_struts\pom.xml

Reason: Parse error reading POM. Reason: Duplicated tag: 'modules'
(position: START_TAG seen ...</properties>\r\n  <modu
les>... @400:12)  for project unknown at
C:\Enterprise_App_CodeBase\appfuse_struts\pom.xml


I can remove the extra modules element from the pom.xml and run it and it
works. How come the error comes in the standard instructions, I am doing
anything wrong. Please suggest, I am trying to get it to work for 2 days
now.

Regards
Thomas


-- 
View this message in context: 
http://n4.nabble.com/Failing-build-tp961431p961431.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to