Hello Andrea,

It seems generating quickstart with SNAPSHOT wicket version (which
wasn't built locally) will not work :(

mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=8.2.0-SNAPSHOT -DgroupId=com.mycompany
-DartifactId=myproject
-DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots/
-DinteractiveMode=false

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate
(default-cli) on project standalone-pom: The desired archetype does
not exist (org.apache.wicket:wicket-archetype-quickstart:8.2.0-SNAPSHOT)
-> [Help 1]

mvn -version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;
2018-02-25T02:49:05+07:00)
Maven home: /opt/maven
Java version: 1.8.0_181, vendor: Oracle Corporation

Maybe `wicket-archetype-quickstart` can be modified to get
wicket-version as the parameter?
This will solve the issue on latest Maven ....
On Fri, 21 Sep 2018 at 21:03, Andrea Del Bene <an.delb...@gmail.com> wrote:
>
> Hi Simon,
>
> I'm afraid  we have left a quite outdated command on quickstart page. If
> you want to generate a quickstart project simply use the command you get in
> the form. If you want to generate the project in interactive mode just
> remove parameter up to the archetype version. For example:
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=8.1.0
>
> I will fix the quickstart page asap.
>
> On Fri, Sep 21, 2018 at 3:09 PM Simon B <simon.bott...@gmail.com> wrote:
>
> > Hi I'm trying to get a new Wicket project going using the latest version
> > with
> > maven
> >
> > I get the following error when running the recommended command:
> >
> > $] mvn archetype:generate -DarchetypeCatalog=https://wicket.apache.org -e
> >
> >
> > archetypeCatalog 'http://wicket.apache.org' is not supported anymore
> >
> >
> >
> >
> > --
> > Sent from:
> > http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> --
> Andrea Del Bene.
> Apache Wicket committer.



-- 
WBR
Maxim aka solomax

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to