Hi all,

Usually I create a new project with following mvn command:

mvn archetype:create -DgroupId=com.weichen.app
-DartifactId=TestClusteringEJB

But today as I use this command to create a new project I got error as
follow. What could wrong?


D:\Temp\MyProjects>mvn archetype:create -DgroupId=com.weichen.app
-DartifactId=TestClusteringEJB
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[WARNING] Cannot resolve plugin-mapping metadata for groupId:
org.apache.maven.plugins - IGNORING.
[WARNING] Cannot resolve plugin-mapping metadata for groupId:
org.codehaus.mojo - IGNORING.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-archetype-plugin

Reason: Error getting POM for
'org.apache.maven.plugins:maven-archetype-plugin' from the repository:
Unable to read loca
l copy of metadata: Cannot read metadata from
'd:\daten\maven2-local\org\apache\maven\plugins\maven-archetype-plugin\mav
en-metadata-codehaus.xml': end tag name </body> must match start tag name
<hr> from line 7 (position: TEXT seen ...</add
ress>\n</body>... @9:8)
  org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST

 for project org.apache.maven.plugins:maven-archetype-plugin


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Aug 27 15:04:41 CEST 2010
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Problem-by-crearting-a-new-project-with-mvn-archetype-create-tp2739976p2739976.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to