You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Goldhahn (JIRA)" <ji...@codehaus.org> on 2011/11/02 11:57:51 UTC
[jira] Created: (MNG-5191) snapshot dependencies are not downloaded
from remote snapshot repository
snapshot dependencies are not downloaded from remote snapshot repository
------------------------------------------------------------------------
Key: MNG-5191
URL: https://jira.codehaus.org/browse/MNG-5191
Project: Maven 2 & 3
Issue Type: Bug
Affects Versions: 3.0.3
Environment: Windows 7 64bit, Sun JDK 1.6.0_27 64bit
Reporter: Martin Goldhahn
Attachments: build.log, effective-pom.log, settings.log, system.log
I have a project that uses a SNAPSHOT dependency which is deployed to a remote snapshot repository (Archiva). When I build the project it seems maven does not use the snapshot repository at all to download the snapshot dependency, only the release repository.
The attachments are generated as follows:
- system.log: mvn help:system
- settings.log: mvn help:settings
- effective-pom.log: mvn help:effective-pom
- build.log: mvn -U -X -l build.log
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-5191) snapshot dependencies are not downloaded
from remote snapshot repository
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-5191.
----------------------------------
Resolution: Not A Bug
Assignee: Benjamin Bentmann
As per your settings' mirror configuration:
{code:xml}
<mirrors>
<mirror>
<mirrorOf>*,!apache-snapshots</mirrorOf>
<url>http://source01.uis.no/archiva/repository/internal/</url>
<id>internal.uis.no</id>
</mirror>
...
</mirrors>
{code}
the snapshot repositories declared in the POM (snapshots.uis.no, snapshots) get redirected to {{archiva/repository/internal/}} instead of using {{archiva/repository/snapshots/}}.
Also note that your effective POMs contains duplicate repositories for the above URLs, once using http: and once using https: which appears candidate for cleanup.
> snapshot dependencies are not downloaded from remote snapshot repository
> ------------------------------------------------------------------------
>
> Key: MNG-5191
> URL: https://jira.codehaus.org/browse/MNG-5191
> Project: Maven 2 & 3
> Issue Type: Bug
> Affects Versions: 3.0.3
> Environment: Windows 7 64bit, Sun JDK 1.6.0_27 64bit
> Reporter: Martin Goldhahn
> Assignee: Benjamin Bentmann
> Attachments: build.log, effective-pom.log, settings.log, system.log
>
>
> I have a project that uses a SNAPSHOT dependency which is deployed to a remote snapshot repository (Archiva). When I build the project it seems maven does not use the snapshot repository at all to download the snapshot dependency, only the release repository.
> The attachments are generated as follows:
> - system.log: mvn help:system
> - settings.log: mvn help:settings
> - effective-pom.log: mvn help:effective-pom
> - build.log: mvn -U -X -l build.log
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira