Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Trivial
-
Resolution: Unresolved
-
Affects Version/s: 2.0.5
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
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.
John, this might be fixed by the error rework?