You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/03/06 04:00:28 UTC
[jira] Commented: (MNG-2834) "from the specified remote
repositories" message incorrect
[ http://jira.codehaus.org/browse/MNG-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126254 ]
Brett Porter commented on MNG-2834:
-----------------------------------
this looks like a POM misconfiguration to me. Or it's being resolved from inside a plugin that uses those repos instead.
> "from the specified remote repositories" message incorrect
> ----------------------------------------------------------
>
> Key: MNG-2834
> URL: http://jira.codehaus.org/browse/MNG-2834
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.0.5
> Reporter: Geoffrey De Smet
> Assignee: John Casey
> Priority: Trivial
> Fix For: 2.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira