Cannot create any projects via mvn archetype:generate

View: New views
2 Messages — Rating Filter:   Alert me  

Cannot create any projects via mvn archetype:generate

by khvatov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am pointing to http://repository.sonatype.org public group in my maven settings.
Last time I tried to create a project via mvn archetype:generate i got an error saying that
org.apache.maven.plugins:maven-archetype-plugin:pom:12-SNAPSHOT is missing.

I did some digging and found out that it comes from http://repository.sonatype.org
mainly from here:

http://repository.sonatype.org/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/

maven-metadata.xml lists up to 12-SNAPSHOT, but there are no such artifacts there.

Could somebody do something about it or how do I fix that on my side?

Thank you.
Alex

Re: Cannot create any projects via mvn archetype:generate

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This has been fixed at the source ( the apache repo).

Please don't use the sonatype repo groups for everyday development,  
it's meant for use to develop Nexus itself (maybe that's what you're  
doing), it's faster to get the data from Central or the Apache  
snapshot repo directly in other cases.
On May 1, 2009, at 4:19 PM, khvatov wrote:

>
> Hi,
>
> I am pointing to http://repository.sonatype.org public group in my  
> maven
> settings.
> Last time I tried to create a project via mvn archetype:generate i  
> got an
> error saying that
> org.apache.maven.plugins:maven-archetype-plugin:pom:12-SNAPSHOT is  
> missing.
>
> I did some digging and found out that it comes from
> http://repository.sonatype.org
> mainly from here:
>
> http://repository.sonatype.org/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/
>
> maven-metadata.xml lists up to 12-SNAPSHOT, but there are no such  
> artifacts
> there.
>
> Could somebody do something about it or how do I fix that on my side?
>
> Thank you.
> Alex
> --
> View this message in context: http://www.nabble.com/Cannot-create-any-projects-via-mvn-archetype%3Agenerate-tp23339121p23339121.html
> Sent from the Nexus Maven Repository Manager Dev List mailing list  
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...