Hi folks, I'm trying to setup the releases plugin in a multi module project but without success so far. I expect this project to be released to a Nexus server from which also works as a proxy and is used to fetch dependencies. In my settings all traffic is redirected to the nexus server through a mirror and credentials for deployment have also been added. The distribution management for releases and snapshots are set to this server too. A deploy to the SNAPSHOTs repository works fine.
The problem happens while the execution of the release:prepare of the project when a module has a dependency to another module in the same project, it expects the dependency to already be in the Nexus server, but it is not. Following the error message: "Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.project.group:module-two:jar:0.1.0: Failure to find org.project.group:module-one:jar:0.1.0 in http://10.21.50.255:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced" I've found some posts and messages referring to this problem in the past and point to solve it changing the preparation goals to clean and install. This doesn't help, and it shouldn't because the artifact is looked for in the remote repository. I've also found suggestions to update Maven version, but I'm currently using 3.0.4. Also some suggestions point to update the maven-release-plugin so I've updated from 2.3 to 2.3.1 but the problem persists. Through all changes, "mvn release:prepare -DdryRun=true" never stopped working... What am I missing? Thanks in advance, IP -- View this message in context: http://maven.40175.n5.nabble.com/Releases-plugin-looking-for-dependencies-in-remote-repo-tp5710310.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org