Yes, it does have the scm section, as defined by
http://maven.apache.org/scm/perforce.html.
<project>
...
<scm>
<connection>
scm:perforce:localhost:1666://depot/sandboxes/mdelaney/utils
</connection>
</scm>
...
</project>
-----Original Message-----
From: Mark Struberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2008 10:15 AM
To: Maven Users List
Subject: AW: Release plugin questions
Is your pom.xml having a <scm> section?
Releasing also tags the version in your scm, so you have to tell maven the SCM
repository it uses.
LieGrü,
strub
--- Michael Delaney <[EMAIL PROTECTED]> schrieb am Di, 10.6.2008:
> Von: Michael Delaney <[EMAIL PROTECTED]>
> Betreff: Release plugin questions
> An: "Maven Users List" <[email protected]>
> Datum: Dienstag, 10. Juni 2008, 15:29
> All,
>
>
>
> I am trying to evaluate the maven-release-plugin (version
> 2.0-beta-7)
> and I can't seem to get it to work flawlessly. Here is
> my scenario: I
> have a single library/artifact that has zero dependencies.
> The current
> version is set to 1.2-SNAPSHOT in the pom.xml file (see
> below for XML
> elements). However, when I go to run release:prepare I get
> the error
> pasted below. The Perforce path is valid and the user has
> the proper
> rights to edit the file (verified via Perforce UI and
> command-line).
>
>
>
> What am I doing wrong?
>
>
>
> [POM Elements]
>
> <project ... >
>
> <modelVersion>4.0.0</modelVersion>
>
> <artifactId>proj-utils</artifactId>
>
> <packaging>jar</packaging>
>
> <version>1.2-SNAPSHOT</version>
>
> <name>Project Utilities</name>
>
> <url>http://www.mydomain.com</url>
>
> <groupId>proj</groupId>
>
>
>
> [Maven Error]
>
> [INFO] [release:prepare]
>
> [INFO] Resuming release from phase
> 'generate-release-poms'
>
> [INFO] Generating release POMs...
>
> [INFO] Generating release POM for 'Lty Utils'...
>
> [DEBUG] No SCM translator found - skipping rewrite
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Cannot add release POM to SCM: Exception while
> executing SCM
> command.
>
>
>
> Unknown input:
> //depot/sandboxes/mdelaney/utils/release-pom.xml#4 -
> opened for add
>
> [INFO]
> ------------------------------------------------------------------------
>
> [DEBUG] Trace
>
> org.apache.maven.lifecycle.LifecycleExecutionException:
> Cannot add
> release POM to SCM: Exception while executing SCM command.
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]