Hi, There are many reasons for the failure release.
settings.xml is essential, you need write your repo related info at here. For pom.xml, you need do some basic configuration: Do you write the <distributeManagement></distributeManagement> in your pom? If not, you can not do the maven release. Do you write the <scm></scm> tag in your pom file? if not, you can not do the maven release. Br, Tim 2012/6/27 sekar <sgcse...@gmail.com> > Hi Tim, > > Thank you for your input. > As your mentioned, i have already configured maven jobs and its running > fine. but release is not working properly. > Do we need to change any thing in pom.xml and settings.xml file > Actually we are using Apache archiva as artifacts repository. > > -Sekar > > > On Wednesday, June 27, 2012 11:12:11 AM UTC+5:30, Tim wrote: > >> Hi Sekar, >> >> Before you do this, be sure, you already install Maven 2 or 3 (According >> to your requirement, we have both), Neuxs (Used to store the jar package) >> Jenkins Maven release plugin. >> >> 1. Config a maven 2 or 3 projects into jenkins >> 2. copy svn address, input essential info >> 3. build your project >> >> If everyting is ok, you can try to do the maven release using m2 release >> plugin, click the "Perform maven release" button and input the related >> version. >> >> If everyting is ok, you can find your jar into nexus after a while. >> >> Hope this is clear to you. >> >> Br, >> Tim >> >> 2012/6/27 sekar <> >> >>> Hi Any one can share the configuration step to Automating Releases With >>> maven-release-plugin via jenkins. >>> >>> >>> >>> - Maven >>> - Jenkins >>> - Sub version >>> >>> Thank you >>> >>> -Sekar >>> >>> >>> >>