Reputation: 19320
Does anyone have examples on how to configure the Maven SCM tag for perforce?
Upvotes: 2
Views: 2989
Reputation: 19320
I just found this that has the answer.
<scm>
<connection>scm:perforce://depot/simple</connection>
<developerConnection>scm:perforce://depot/simple</developerConnection>
<url>scm:perforce://depot/simple</url>
</scm>
I was also trying to use this with the release plugin and since my perforce needs a user Id I can specify that in the configuration section of the release plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-9</version>
<configuration>
<username>myUser</username>
</configuration>
</plugin>
Upvotes: 2