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 2.x 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
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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira