a***@nokia.com
2006-07-25 21:13:25 UTC
Question as in the subject.
This is how I invoked it:
mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-j2ee-simple
-DarchetypeVersion=1.0-alpha-4
-DgroupId=ossj.jsr264
-DartifactId=oss_om_ri
And this is the error in the output:
################################################################################
[INFO] ResourceManager : found archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml
with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[ERROR] ResourceManager : unable to find resource 'archetype-resources/site/pom.xml' in any resource loader.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: Error processing templates.
Unable to find resource 'archetype-resources/site/pom.xml'
################################################################################
Indeed, if I take a look into the jar file from http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven-archetype-j2ee-simple/1.0-alpha-4/maven-archetype-j2ee-simple-1.0-alpha-4.jar
* the archetype-resources\pom.xml refers to the site project:
<modules>
<module>projects</module>
<module>primary-source</module>
<module>servlets</module>
<module>ejbs</module>
<module>ear</module>
* there is no such project as archetype-resources\site
Also, I could not find a bug report for it at http://jira.codehaus.org/browse/ARCHETYPE. Is it really a bug, or am I doing something wrong?
_ __ _ _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
`- `
Andreas Ebbert-Karroum
Senior Software Design Engineer
Nokia Networks Services / Middleware
phone: +49-211-94123928, fax: +49-211-9412-3838
Heltorfer Straße 1, 40472 Düsseldorf, Germany
----------------------------------------------------------------------
This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/
----------------------------------------------------------------------
This is how I invoked it:
mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-j2ee-simple
-DarchetypeVersion=1.0-alpha-4
-DgroupId=ossj.jsr264
-DartifactId=oss_om_ri
And this is the error in the output:
################################################################################
[INFO] ResourceManager : found archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml
with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[ERROR] ResourceManager : unable to find resource 'archetype-resources/site/pom.xml' in any resource loader.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: Error processing templates.
Unable to find resource 'archetype-resources/site/pom.xml'
################################################################################
Indeed, if I take a look into the jar file from http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven-archetype-j2ee-simple/1.0-alpha-4/maven-archetype-j2ee-simple-1.0-alpha-4.jar
* the archetype-resources\pom.xml refers to the site project:
<modules>
<module>projects</module>
<module>primary-source</module>
<module>servlets</module>
<module>ejbs</module>
<module>ear</module>
<module>site</module>
</modules>* there is no such project as archetype-resources\site
Also, I could not find a bug report for it at http://jira.codehaus.org/browse/ARCHETYPE. Is it really a bug, or am I doing something wrong?
_ __ _ _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
`- `
Andreas Ebbert-Karroum
Senior Software Design Engineer
Nokia Networks Services / Middleware
phone: +49-211-94123928, fax: +49-211-9412-3838
Heltorfer Straße 1, 40472 Düsseldorf, Germany
----------------------------------------------------------------------
This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/
----------------------------------------------------------------------