Skip to content

Commit

Permalink
Ensure the artfact's versions list is up to date
Browse files Browse the repository at this point in the history
Fix issue : https://issues.jenkins-ci.org/browse/JENKINS-29166
TRUE -> "aether.versionResolver.noCache"
  • Loading branch information
fdaugan committed Jul 22, 2015
1 parent 6678c68 commit 728d2c3
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -184,6 +184,10 @@ private RepositorySystemSession newSession() {
session.setTransferListener(new ConsoleTransferListener(logger));
session.setRepositoryListener(new ConsoleRepositoryListener(logger));
}

// Disable caching
session.setConfigProperty("aether.versionResolver.noCache", Boolean.TRUE);

addProxySelectorIfNecessary(session);
return session;
}
Expand Down

0 comments on commit 728d2c3

Please sign in to comment.