Maven Release plugin problem...

1,323 views
Skip to first unread message

Jeff

unread,
Apr 3, 2012, 7:39:53 PM4/3/12
to jenkins...@googlegroups.com
We have a few jobs now building regularly and now I want to release them.  I installed the release plugin which when enabled, gives me a "Perform Maven Release" link on the job summary page.
 
I went into the job config and selected "Preselect 'specify SCM login/password" option. 
 
When I click the "Perform Maven Release" link and enter my SCM information, I get an error:
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project Shared: Missing required setting: scm connection or developerConnection must be specified.
cause : Missing required setting: scm connection or developerConnection must be specified.
This being my first attempt and configuring a Maven Release, what am I missing? 

--
I ♥ DropBox !! 

Gábor Garami

unread,
Apr 3, 2012, 7:44:04 PM4/3/12
to jenkins...@googlegroups.com
From: http://maven.apache.org/pom.html

  • connection, developerConnection: The two connection elements convey to how one is to connect to the version control system through Maven. Where connection requires read access for Maven to be able to find the source code (for example, an update), developerConnection requires a connection that will give write access. The Maven project has spawned another project named Maven SCM, which creates a common API for any SCMs that wish to implement it. The most popular are CVS and Subversion, however, there is a growing list of other supported SCMs. All SCM connections are made through a common URL structure.
    scm:[provider]:[provider_specific]

    Where provider is the type of SCM system. For example, connecting to a CVS repository may look like this:

    scm:cvs:pserver:127.0.0.1:/cvs/root:my-project
Please find the quote and read the text before and after it.
Garami Gábor
E-mail: gabor....@hron.me
Tel: +36 20 235 9621
MSN: hr...@vipmail.hu
Skype: hron84
Reply all
Reply to author
Forward
0 new messages