[jboss-jira] [JBoss JIRA] (JBBUILD-726) org.apache.maven:maven-plugin-api:jar:2.1.0-M2-SNAPSHOT has a snapshot parent org.apache.maven:maven-parent:pom:11-SNAPSHOT that doesn't exist anymore

Paul Gier (JIRA) jira-events at lists.jboss.org
Fri Feb 22 15:38:57 EST 2013


    [ https://issues.jboss.org/browse/JBBUILD-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756215#comment-12756215 ] 

Paul Gier commented on JBBUILD-726:
-----------------------------------

It looks like the maven pom (maven-2.1.0-M2-20090213.232933-1.pom), is proxied from the apache snapshots repository (http://repository.apache.org/snapshots/).  You can check that by adding "?describe" to the end of the URL and check the "originatingRepositoryId" field.

https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/maven/2.1.0-M2-SNAPSHOT/maven-2.1.0-M2-20090213.232933-1.pom?describe

I could purge the proxied artifacts from the jboss repository, but the problem would re-appear with the next request.  The artifacts probably need to be cleaned up in the Apache snapshots repository.  Can these artifacts be updated in the build so that released versions are used?

                
> org.apache.maven:maven-plugin-api:jar:2.1.0-M2-SNAPSHOT has a snapshot parent org.apache.maven:maven-parent:pom:11-SNAPSHOT that doesn't exist anymore
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBBUILD-726
>                 URL: https://issues.jboss.org/browse/JBBUILD-726
>             Project: JBoss Build System
>          Issue Type: Bug
>          Components: Artifact Repositories
>            Reporter: Marek Schmidt
>            Assignee: Paul Gier
>             Fix For: Build Support 2013
>
>
> Hello,
> I am getting this error in weld examples, with the jboss-public repository enabled:
> mvn glassfish:start-domain
> ...
> {noformat}
> [ERROR] Failed to execute goal org.glassfish.maven.plugin:maven-glassfish-plugin:2.1:start-domain (default-cli) on project weld-jsf-numberguess: Execution default-cli of goal org.glassfish.maven.plugin:maven-glassfish-plugin:2.1:start-domain failed: Plugin org.glassfish.maven.plugin:maven-glassfish-plugin:2.1 or one of its dependencies could not be resolved: Failed to collect dependencies for org.glassfish.maven.plugin:maven-glassfish-plugin:jar:2.1 (): Failed to read artifact descriptor for org.apache.maven:maven-plugin-api:jar:2.1.0-M2-SNAPSHOT: Failure to find org.apache.maven:maven-parent:pom:11-SNAPSHOT in http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced -> [Help 1]
> {noformat}
> The problem seems to be that 
> https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/maven/2.1.0-M2-SNAPSHOT/maven-2.1.0-M2-20090213.232933-1.pom
> has a parent 
> https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/maven-parent/11-SNAPSHOT
> which doesn't exist anymore in the jboss public repo.
> Snapshots which depends on snapshots that have already been removed, should probably be removed also.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list