I am trying to reproduce an existing maven environment on another computer, and when I try to use the release plugin, it gives me "the password is required for the scmfor scm plugin"
Honestly, I have not made any changes to pom.xml.
I found this error report: http://jira.codehaus.org/browse/SCM-415
Interestingly, I am using maven-scm-provider-perforce 1.1, so this may be exactly my problem.
So this leads to my current problem. I can not get my project to use the latest version of the service provider.
I tried adding this under <build>
<pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-perforce</artifactId> <version>1.3</version> </plugin> </plugins> </pluginManagement>
But he still uses 1.1
I also tried to get it to use version 1.3 of the maven-scm plugin, but it still uses 1.1 perforce providers.
How do I update my repo so that it pulls version 1.3 of the perforce provider?
Note. At the highest level, I invoke this command:
mvn --batch-mode -Dgoals=install release:prepare
source share