maven


Maven release from a branch by jenkins


I have to perform a maven release from branch with Jenkis and tag the RELEASE.At the same time, i need to update the version (new SNAPSHOT) on trunk.
For Example:
/trunk contains Module_1.0.0-SNAPSHOT
/branches/Module_1.0.0-SNAPSHOT
After Perform Maven Release on /branches/Module_1.0.0-SNAPSHOT
/trunk contains Module_1.0.1-SNAPSHOT
/tag/Module_1.0.0-RELEASE
Setting maven-release-plugin and scm (url, connection, developerConnection), /tag/Module_1.0.0-RELEASE and new version on branch go right way.
But, even with developerConnection pointing to trunk doesn't udpate the version on trunk.
How could I achieve that?
thank's in advance.
If you run the Maven release plugin on your branch (/branches/Module_1.0.0-SNAPSHOT), it will:
Update the version number on this branch (1.0.0-SNAPSHOT --> 1.0.0)
Apply a tag on this branch (tag/1.0.0 or something like that)
Move your branch to 1.0.1-SNAPSHOT
Even if you set the developerConnection property, the Maven release plugin will not update the version number of your trunk branch.
If you want to increase the version number on the trunk, you have to release from the trunk (or release from the branch + merge your branch to your trunk).

Related Links

What are “optional” Maven dependencies? [closed]
Cobertura code coverage for failed tests
amazon aws artifacts could not be resolved
difference between “dependency information” and “dependencies” in the auto-generated site
How to set parameters from console to own maven report plugin
Maven Plugin Logging
How to do continuous integration with Hudson for Maven 3 multi-module projects well?
How to pause a maven build inbetween?
Supporting DocBook olink in Maven Project
Maven jaxws plugin fails with java.lang.UnsupportedClassVersionError: Bad version number in .class file
Maven override properties from command line does for child modules cross reference
How to deploy a parent pom file without executing plugins
TestNG specific testsuite not running
cygwin maven rpm “Segmentation fault”
tomcat 7 embedded doesn't shutdown correctly ClassNotFoundException ContainerBase$StopChild
Deploying war hangs using tomcat maven plugin

Categories

HOME
wso2-am
gitlab
hive
server
session
analysis
jpeg
fingerprint
webrequest
slurm
cloudkit
circular-dependency
event-handling
invantive-sql
solaris-10
samoa
swingx
jasonette
graphicsmagick
mustache.php
p-value
h2db
spark-jobserver
centos6.5
pingfederate
buck
ejabberd-module
jspm
vision
google-sites-2016
catel
code-contracts
amazon-kinesis-kpl
swisscomdev
automake
vapor
tasker
ws-security
ensembles
sfdc
import-from-excel
modelmapper
segment
menuitem
pnotify
blogengine.net
typescript1.8
idisposable
nativeapplication
jxcore
qtwebview
flow-control
synchronous
firmata
radtreelist
player
jwplayer7
nsviewcontroller
captivenetwork
phpcas
teamcity-8.0
retina
content-length
php-ci
arcanist
ios9.1
event-bubbling
unity5.2.3
sorl-thumbnail
pick
codeigniter-url
asp.net-dynamic-data
socketexception
neolane
php-5.4
ceil
sgen
contenttype
funcunit
comexception
centos5
stxxl
imdbpy
tws
eclipse-memory-analyzer
tinn-r
bitsharp
propertyeditor
osql
netdna-api
external-accessory
disclosure
gallio
infrastructure
database-management
web-architecture
data-driven
aquaticprime
ubuntu-9.04

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App