Version prior to 2.5 might be provided for snapshots ....

WBR, Maxim
(from mobile, sorry for the typos)

On Sat, Sep 22, 2018, 02:03 Andrea Del Bene <[email protected]> wrote:

> Ouch....! I just discovered that from version 2.5 archetype plugin
> removed support for archetypeRepository parameter. We should add a note
> about this below the form.
>
>
> https://stackoverflow.com/questions/43570594/error-executing-maven-archetype-generate-command-to-create-a-opndaylight-project
>
>
> On 21/09/2018 16:54, Maxim Solodovnik wrote:
> > 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 <[email protected]>
> 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 <[email protected]>
> 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: [email protected]
> >>> For additional commands, e-mail: [email protected]
> >>>
> >>>
> >> --
> >> Andrea Del Bene.
> >> Apache Wicket committer.
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to