Maven 2 & 3

"from the specified remote repositories" message incorrect

Details

  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

I am getting this message on a not found dependency:

from the specified remote repositories:
ggg-dev (http://mvn.ggg.be/maven2/dev),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
ggg-deploy (http://mvn.ggg.be/maven2/deploy),
snapshots (http://snapshots.maven.codehaus.org/maven2),
central (http://repo1.maven.org/maven2)

But that dependency (commons-collections:commons-collections:jar:2.0) is in ibiblio.
However, we don't use ibiblio, because we configured our repositories like this:

<repositories>
<repository>
<id>central</id>
<name>ggg deploy repository</name>
<url>http://mvn.ggg.be/maven2/deploy</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>ggg-dev</id>
<name>ggg dev repository</name>
<url>http://mvn.ggg.be/maven2/dev</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>ggg-deploy</id><!-- Not "central" -->
<name>ggg deploy repository</name>
<url>http://mvn.schaubroeck.be/maven2/deploy</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>ggg-dev</id>
<name>Schaubroeck dev repository</name>
<url>http://mvn.schaubroeck.be/maven2/dev</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>

So the following lines of "from the specified remote repositories" are incorrect:
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
snapshots (http://snapshots.maven.codehaus.org/maven2),
central (http://repo1.maven.org/maven2)

PS: especially those snapshots in there scared me... I deleted my entire repo, verified that we do not include snapshot repo's and still they show up in that list.

Activity

Hide
Brian Fox added a comment -

John, this might be fixed by the error rework?

Show
Brian Fox added a comment - John, this might be fixed by the error rework?
Hide
Brett Porter added a comment -

this looks like a POM misconfiguration to me. Or it's being resolved from inside a plugin that uses those repos instead.

Show
Brett Porter added a comment - this looks like a POM misconfiguration to me. Or it's being resolved from inside a plugin that uses those repos instead.

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated: