Home > Uncategorized > Maven Release plugin: issues with Perforce

Maven Release plugin: issues with Perforce

I was using the “default” maven release plugin to do a release build (which tags my Perforce SCM as part of its process), and I got the following error:

‘login’ not necessary, no password set for this user

Then, if I supplied my username and password I got:

You don’t have permission for this operation

But my Perforce user doesn’t have a password, so I tried leaving it blank, which gave me:

password is required for the perforce scm plugin.

I “fixed” it by explicitly referencing version 2.0 of the release plugin in my pom:

<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0</version>
</plugin>

</plugins>
</build>

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: