You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nani2ratna <na...@gmail.com> on 2009/02/27 15:46:44 UTC
error in mvn archetype:generate
Hi,
I am trying to generate a small framework by using the maven command
mvn archetype:generate
I am entering 19 th option, i am getting error as follows
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/str
uts/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNA
PSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] : org.apache.maven.archetype.exception.UnknownArchetype: The desired
arch
etype does not exist
(org.apache.struts:struts2-archetype-starter:2.0.9-SNAPSHOT
)
The desired archetype does not exist
(org.apache.struts:struts2-archetype-starte
r:2.0.9-SNAPSHOT)
The desired archetype does not exist
(org.apache.struts:struts2-archetype-starte
r:2.0.9-SNAPSHOT)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: The desired archetype does not exist
(or
g.apache.struts:struts2-archetype-starter:2.0.9-SNAPSHOT)
struts 2.0.9 is not there in my local repository.
present Struts 2 latest GA version is 2.1.6.
So it should download that one from net.
But its trying to download 2.0.9.
ANd my internet connection is up.
If I dont understand maven please exceuse me.
I am new to maven.
Thanks and Regards
Ratna
--
View this message in context: http://www.nabble.com/error-in-mvn-archetype%3Agenerate-tp22247272p22247272.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: error in mvn archetype:generate
Posted by Wayne Fay <wa...@gmail.com>.
> can you give me some solution what to do now.
I would go remove the Snapshot repo reference from your settings.xml
file and try running it again.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: error in mvn archetype:generate
Posted by nani2ratna <na...@gmail.com>.
can you give me some solution what to do now.
Thanks and regards
ratna
Wayne Fay wrote:
>
>> Downloading:
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/str
>> uts/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNA
>> PSHOT.jar
>
> That Snapshot version does not exist in the Snapshot repo any more, as
> seen here:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-archetype-starter/
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/error-in-mvn-archetype%3Agenerate-tp22247272p22250356.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: error in mvn archetype:generate
Posted by Wayne Fay <wa...@gmail.com>.
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/str
> uts/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNA
> PSHOT.jar
That Snapshot version does not exist in the Snapshot repo any more, as
seen here:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-archetype-starter/
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org