Karl,
Thanks for the information. Based on your response, it seems that I
have specify the SCM in order to use
maven-release-plugin. I have also found the versions-maven-plugin, which
seems to do what I want it to do, without
using the SCM from maven. There are plenty of other files that I need to
update as part of the version change, and I don't
want to have multiple change lists for it.
As for the ancient version of the release plugin, I'll update the
version information in the next development cycle.
cheers,
mehul
On Mon, Oct 5, 2015 at 12:24 PM, Karl Heinz Marbaise <[email protected]>
wrote:
> Hi,
>
>
> On 10/5/15 6:19 PM, Mehul Sanghvi wrote:
>
>> I am trying to use the following:
>>
>> mvn -V -B release:update-versions
>> -DdevelopmentVersion=1.2.3.4-SNAPSHOT
>>
>> and it keeps coming back with the following:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-release-plugin:2.0:update-versions
>>
>
> First you are using an ancient version of the
> maven-release-plugin[2]....you should define the version by using a
> pluginManagement in a corporate pom file...
>
>
> (default-cli) on project FUBAR: Missing required setting: scm connection or
>> developerConnection must be specified.
>>
>> We do not use the maven scm plugin. The POMs are all checked out locally
>> on my system, and ready for editing. So why is it complaining about the
>> scm connection and developerConnection ?
>>
>> I tried to google and read the documents, but I am most likely missing
>> someting in my interpretation of things.
>>
>
>
> You have to define the scm connection[1] information into your pom's:
>
> for example like this:
>
> <scm>
> <connection>scm:svn:http://127.0.0.1/svn/my-project</connection>
>
> <developerConnection>scm:svn:https://127.0.0.1/svn/my-project
> </developerConnection>
> </scm>
>
> If you like to use maven-release-plugin you have to define those
> informations in the pom file.
>
> [1]: https://maven.apache.org/pom.html#SCM
> [2]: http://maven.apache.org/maven-release/maven-release-plugin/
>
>
> Kind regards
> Karl Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Mehul N. Sanghvi
email: [email protected]