As " -DarchetypeVersion=1.1" is specified it should get version 1.1 of the
archtype. It's hard to tell why it's not based on the little info provided.

I suggest use
mvn archtype:generate
and you'll get prompted for archetype

/Anders

On Wed, Mar 14, 2018 at 11:17 AM, Bernd Eckenfels <[email protected]>
wrote:

> Hello,
>
> Looks like the tutorial is wrong, I only see a 1.1 version of that
> archetype. Since you normally cannot remove artifacts from Maven Central it
> looks like this never worked. You can see the content here:
>
> https://repo.maven.apache.org/maven2/org/apache/maven/
> archetypes/maven-archetype-quickstart/
>
> Gruss
> Bernd
>
> Gruss
> Bernd
> --
> http://bernd.eckenfels.net
> ________________________________
> From: kobano <[email protected]>
> Sent: Wednesday, March 14, 2018 11:12:07 AM
> To: [email protected]
> Subject: Maven build failure - first install
>
> Hello, I'm a beginner and follow the course OpenClassroom " Organize and
> package a Java application with Apache Maven
> <https://openclassrooms.com/courses/organisez-et-packagez-
> une-application-java-avec-apache-maven/creez-votre-premier-projet-maven>
> "On this first part I have to  create a Maven project qsuelette from the
> quickstart archetype
> <https://openclassrooms.com/courses/organisez-et-packagez-
> une-application-java-avec-apache-maven/creez-votre-
> premier-projet-maven#/id/r-4608836>
> .Following the line :mvn -X archetype:generate
> -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.1I
> get
> a build failure and I can not find the source of the problem.I added -X for
> more info, and here are the last lines I can get :I'm working on windows 8,
> and have not created a settings.xml file.For info, here is what mvn -v
> shows:A line in what is displayed indicates that "quickstart" is not
> found:Could not find artifact
> org.apache.maven.archetypes:maven-archetype-quickstart:jar:3.0.1 in
> central
> ( https://repo.maven.apache.org/maven2
> <https://repo.maven.apache.org/maven2>  )Could it be that the
> OpenClassroom
> course uses a skeleton that no longer exists?Or the problem would come from
> elsewhere?Thanks in advance for the help !!
>
>
>
> --
> Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
>

Reply via email to