Disregard my previous e-mail. More information. This happens with 8.8.0 and 9.0.0 and works with 8.7.0
mvn archetype:generate -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=8.7.0 -DgroupId=com.mycompany -DartifactId=myproject -DarchetypeRepository= https://repository.apache.org/ -DinteractiveMode=false -X error was * Found archetype org.apache.wicket:wicket-archetype-quickstart:9.0.0 in cache: /home/reiern70/.m2/repository/org/apache/wicket/wicket-archetype-quickstart/9.0.0/wicket-archetype-quickstart-9.0.0.jar[DEBUG] checking fileset archetype status on /home/reiern70/.m2/repository/org/apache/wicket/wicket-archetype-quickstart/9.0.0/wicket-archetype-quickstart-9.0.0.jar[DEBUG] org.apache.maven.archetype.exception.UnknownArchetype: java.util.zip.ZipException: zip END header not found* *I*t seem wicket-archetype-quickstart-9.0.0.jar download was broken on my end. Removing it from my local it made everything work as expected. On Fri, Sep 11, 2020 at 10:05 PM Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Hi, > > I'm trying > > > *mvn archetype:generate -DarchetypeGroupId=org.apache.wicket > -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=9.0.0 > -DgroupId=com.mycompany -DartifactId=myproject > -DarchetypeRepository=https://repository.apache.org/ > <https://repository.apache.org/> -DinteractiveMode=false* > > and this fails with > > I > > > > > > > > > > > > *NFO] BUILD FAILURE[INFO] > ------------------------------------------------------------------------[INFO] > Total time: 0.824 s[INFO] Finished at: 2020-09-11T12:00:24-07:00[INFO] > ------------------------------------------------------------------------[ERROR] > Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:2.3: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 > <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>* > > it seems I have latest maven version (http://maven.apache.org/download.cgi > ) > > > > > > > *Apache Maven 3.6.3Maven home: /usr/share/mavenJava version: 11.0.8, > vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64Default locale: > en_US, platform encoding: UTF-8OS name: "linux", version: > "5.4.0-47-generic", arch: "amd64", family: "unix"* > > Does anyone else experience this? > > -- > Regards - Ernesto Reinaldo Barreiro > -- Regards - Ernesto Reinaldo Barreiro