[java-sig-commits] [Bug 759470] resolver - latest vs. LATEST

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 2 14:31:00 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=759470

Carlo de Wolf <cdewolf at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cdewolf at redhat.com

--- Comment #1 from Carlo de Wolf <cdewolf at redhat.com> 2011-12-02 09:30:59 EST ---
Using:

    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <version>latest</version>
    </dependency>

The regular mvn build will fail with:

[ERROR] Failed to execute goal on project maven-plugin-api: Could not resolve
dependencies for project org.apache.maven:maven-plugin-api:jar:3.0.3: Failure
to find org.codehaus.plexus:plexus-container-default:jar:latest in
https://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]

Using:

    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <version>LATEST</version>
    </dependency>

mvn-rpmbuild fails with:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on
project maven: Execution default-clean of goal
org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean failed: Plugin
org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies
could not be resolved: Failed to collect dependencies for
org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 (): Failed to read
artifact descriptor for
org.codehaus.plexus:plexus-container-default:jar:LATEST: Failed to resolve
version for org.codehaus.plexus:plexus-container-default:jar:LATEST: Could not
find metadata org.codehaus.plexus:plexus-container-default/maven-metadata.xml
in local (/home/carlo/work/apache/maven/maven-3/tags/maven-3.0.3/.m2) -> [Help
1]

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the java-sig-commits mailing list