[ 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