You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2014/06/13 03:35:10 UTC

[jira] (MNG-2834) "from the specified remote repositories" message incorrect

     [ https://jira.codehaus.org/browse/MNG-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2834.
------------------------------

    Resolution: Cannot Reproduce

> "from the specified remote repositories" message incorrect
> ----------------------------------------------------------
>
>                 Key: MNG-2834
>                 URL: https://jira.codehaus.org/browse/MNG-2834
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.5
>            Reporter: Geoffrey De Smet
>            Assignee: John Casey
>            Priority: Trivial
>             Fix For: Issues to be reviewed for 3.x
>
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)