[ 
https://jira.codehaus.org/browse/MRELEASE-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359261#comment-359261
 ] 

Andreas Weise (agito) commented on MRELEASE-707:
------------------------------------------------

The use of -Dproject.scm.developerConnection is documented here: 
http://maven.apache.org/guides/mini/guide-releasing.html

So it should work or not?

> release plugin does not use neither ${project.scm.connection} nor 
> ${project.scm.developerConnection}
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-707
>                 URL: https://jira.codehaus.org/browse/MRELEASE-707
>             Project: Maven Release Plugin
>          Issue Type: Improvement
>          Components: prepare
>    Affects Versions: 2.2.1
>         Environment: ArchLinux
> Maven 3.0.3
> Mercurial 1.9.1
>            Reporter: Alexander Betaev
>            Assignee: Robert Scholte
>
> Use case: I don't want to include <scm/> section in all my POM's since I want 
> to perform releases only using CI software. It seems for me to be more useful 
> configuration for distributed SCM's than using release plugins locally.
> So I am providing '-Dproject.scm.connection=scm:hg:file://${basedir}/../' and 
> '-Dproject.scm.developerConnection=scm:hg:file://${basedir}/../' to Maven's 
> JVM. But it does not affect anything in maven-release-plugin. Also I did not 
> find any property which I should use instead of project.scm.connection.
> The error message I receive looks like I forgot to configure maven-scm-plugin:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.2.1:prepare (default-cli) on 
> project parent: Missing required setting: scm connection or 
> developerConnection must be specified. -> [Help 1]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to