“gradle publish” wrongly reporting up-to-date
I'm trying to build Apache S4 and publish it to our Nexus repository. gradle publishToMavenLocal worked, so I added publishing { repositories { maven { credentials { username "admin" password "admin123" } url "http://127.0.0.1:9081/nexus/content/repositories/releases/" } } } to build.gradle after apply plugin: 'maven-publish' . This worked for other projects on the same machine. However, now I get aromanov@ws:~/etc/apache-s4-0.6.0$ gradle clean publish Build file '/home/aromanov/etc/apache-s4-0.6.0/subprojects/s4-benchmarks/s4-benchmarks.gradle': line 42 The RepositoryHandler.mavenRepo()