Mike Pone
Mike Pone

Reputation: 19320

using Maven SCM tag with Perforce

Does anyone have examples on how to configure the Maven SCM tag for perforce?

Upvotes: 2

Views: 2989

Answers (1)

Mike Pone
Mike Pone

Reputation: 19320

I just found this that has the answer.

RE: mvn release with perforce

<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

Related Questions