Archiva

Archiva doesn't download SNAPSHOTs for proxied repositories.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.0
  • Fix Version/s: 1.0.2
  • Component/s: remote proxy
  • Labels:
    None
  • Environment:
    Linux, JDK 1.5,
  • Number of attachments :
    0

Description

I have setup Archiva Managed Internal Repository as my whole and sole mirror in my settings.xml.
The settings.xml does not contain any other repository information, just the mirror entry .

The Archiva Manged Internal Repository is set to proxy 4/5 external repositories,
One of which contains certain SNAPSHOTs that I have as dependencies.

The proxy connector for this repository has snapshot policy set to "always", I also tried
"daily", "hourly". But the SNAPSHOT is never downloaded any my build fails.

The log file shows no special activity.

Also I am including the link to the thread on user-list
http://www.nabble.com/Proxying-SNAPSHOT-repositories-td14336170.html

Activity

Hide
gumnaam added a comment -

btw, the repository with SNAPSHOT dependencies is http://www.wicketstuff.org/maven/repository/
And my dependency is org.wicketstuff.wicketstuff-scriptaculous ver 1.3-SNAPSHOT

Show
gumnaam added a comment - btw, the repository with SNAPSHOT dependencies is http://www.wicketstuff.org/maven/repository/ And my dependency is org.wicketstuff.wicketstuff-scriptaculous ver 1.3-SNAPSHOT
Hide
gumnaam added a comment -

Found the problem.
The culprit seems to be Maven 2.0.7+. It has problems with SNAPSHOT dependency resolution with mirrorOf set tp *.

The solution is outlined here.
http://www.jfrog.org/sites/artifactory/latest/maven.html

I did as the post suggested and it worked.
May be this should end up on the WIKI, or archiva proxy setup guide.

Show
gumnaam added a comment - Found the problem. The culprit seems to be Maven 2.0.7+. It has problems with SNAPSHOT dependency resolution with mirrorOf set tp *. The solution is outlined here. http://www.jfrog.org/sites/artifactory/latest/maven.html I did as the post suggested and it worked. May be this should end up on the WIKI, or archiva proxy setup guide.
Hide
Brett Porter added a comment -

this would likely be a problem only with non-unique versioned snapshots. Will test.

Show
Brett Porter added a comment - this would likely be a problem only with non-unique versioned snapshots. Will test.
Hide
Brett Porter added a comment -

Can't reproduce this under any combination of types of snapshots - suggest just adding it to the wiki if you feel this is useful

Show
Brett Porter added a comment - Can't reproduce this under any combination of types of snapshots - suggest just adding it to the wiki if you feel this is useful

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: