On 05/27/2013 10:21 AM, Fabio Martelli wrote:
mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repository.apache.org/content/repositories/snapshots \
-DarchetypeVersion=1.2.0-SNAPSHOT
but this gives me:

[nik@anvil snapshot120]$ mvn archetype:generate \
> -DarchetypeGroupId=org.apache.syncope \
> -DarchetypeArtifactId=syncope-archetype \
> -DarchetypeRepository=http://repository.apache.org/content/repositories/snapshots \
> -DarchetypeVersion=1.2.0-SNAPSHOT
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] Archetype defined by properties
Downloading: http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/maven-metadata.xml [WARNING] Checksum validation failed, expected <!DOCTYPE but is f1283ec8f06b6ea4d2091f71e4529b882d474bb6 for http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/maven-metadata.xml [WARNING] Checksum validation failed, expected <!DOCTYPE but is f1283ec8f06b6ea4d2091f71e4529b882d474bb6 for http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/maven-metadata.xml Downloaded: http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/maven-metadata.xml (402 B at 0.4 KB/sec) [WARNING] The metadata /home/nik/.m2/repository/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/maven-metadata-syncope-archetype-repo.xml is invalid: end tag name </body> must match start tag name <hr> from line 7 (position: TEXT seen ...</address>\n</body>... @9:8) Downloading: http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.jar [WARNING] Checksum validation failed, expected <!DOCTYPE but is 08c17e15de2e8732a4cddb281732916952e87c7d for http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.jar [WARNING] Checksum validation failed, expected <!DOCTYPE but is 08c17e15de2e8732a4cddb281732916952e87c7d for http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.jar Downloaded: http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.jar (420 B at 0.5 KB/sec) [WARNING] The metadata /home/nik/.m2/repository/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/maven-metadata-syncope-archetype-repo.xml is invalid: end tag name </body> must match start tag name <hr> from line 7 (position: TEXT seen ...</address>\n</body>... @9:8) Downloading: http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.pom [WARNING] Checksum validation failed, expected <!DOCTYPE but is 9be18526804c0108aa167a02a5e1a17163749204 for http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.pom [WARNING] Checksum validation failed, expected <!DOCTYPE but is 9be18526804c0108aa167a02a5e1a17163749204 for http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.pom Downloaded: http://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/1.2.0-SNAPSHOT/syncope-archetype-1.2.0-SNAPSHOT.pom (420 B at 0.2 KB/sec) [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.587s
[INFO] Finished at: Mon May 27 10:23:40 CEST 2013
[INFO] Final Memory: 10M/210M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: null: MojoFailureException: NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[nik@anvil snapshot120]$

Reply via email to