Skip to content
Permalink
Browse files

Ensure the artfact's versions list is up to date

Fix issue : https://issues.jenkins-ci.org/browse/JENKINS-29166
TRUE -> "aether.versionResolver.noCache"
  • Loading branch information...
fabdouglas committed Jul 22, 2015
1 parent 6678c68 commit 728d2c3a72954fc1f18f0969ac60bf49704cf41f
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/org/jvnet/hudson/plugins/repositoryconnector/aether/Aether.java
@@ -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;
}

0 comments on commit 728d2c3

Please sign in to comment.
You can’t perform that action at this time.