I believe that this is the documentation that you are looking for.

http://maven.apache.org/plugins/maven-release-plugin/



-----Original Message-----
From: hujirong [mailto:[email protected]] 
Sent: Tuesday, May 22, 2012 10:15 AM
To: [email protected]
Subject: How to do a release build in Maven?

Hi

I just set up a snapshot build, I call it continuously build. A "mvn deploy"
will upload the snapshot to the Nexus repository. Here is the project
pom.xml:

        <groupId>com.nbfg.max.wesb</groupId>
        <artifactId>CDIPubSubMgmtMed</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <name>CDIPubSubMgmtMed Mediation</name>

Now I want to know how to do a release build in Maven. I am using RTC and for 
other build tools like CruiseControl, here is what we do:

1. We have a continuously build workspace/branch to build the code every 10 
minutes. Every build has a baseline created.
2. We do a release build every night, which takes the latest successful 
continuously build baseline.

How can I do something similar in Maven, or how does Maven do a release build?

Thanks
Jirong


--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-do-a-release-build-in-Maven-tp5709440.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to