Perform a JOnAS Release
Tag a version
Before tagging a version, you need to commit all your changes.
mvn -Dmaven.username=<username> -DdryRun=true -DaddSchema=false -DautoVersionSubmodules=true release:clean release:prepare
5.0-M1
JONAS_5_0_M1
5.0.0-SNAPSHOT
- Really change the files (do not add -DdryRun=true)
mvn -Dmaven.username=<username> -DaddSchema=false -DautoVersionSubmodules=true release:clean release:prepare
This command will probably fail, but don't worry, this is probably due to some SVN client/server version incompatibilities. This will be fixed when switching to ow2 forge.
- re-try the preaparation step (notice that we removed the release:clean goal)
mvn -Dmaven.username=<username> -Dresume=true -DaddSchema=false -DautoVersionSubmodules=true release:prepare
This time, the tag is done.
Deploy the modules
If you need to deploy you artifacts to the OW2 maven repository, type this command:
mvn -Dmaven.username=<username> release:perform
Create the packages