>end tag name </body> must match start tag name > <hr> from line 7 (position: TEXT seen ...</add > ress>\n</body>... @9:8)
uh, I'd say you have a proxy blocking HTTP requests take a loot at d:\daten\maven2-local\org\apache\maven\plugins\maven-archetype- plugin\maven-metadata-codehaus.xml, open this file in a web browser, and you'll probably understand Regards, Hervé Le vendredi 27 août 2010, thomas2004ch a écrit : > 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] > ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
