...
Code Block |
---|
mvn release:prepare -DdryRun=true
//attention: use an useful tag-name (asked before the new version numbers) format [deltaspike-[version]]
//important: check the generated javadoc
//important: check if content was lost during release:prepare (especially license headers in pom.xml files)
mvn release:clean
mvn deploy
//check http://repository.apache.org/content/repositories/snapshots/org/apache/deltaspike/*
mvn release:prepare -Papache-release
//attention: use an useful tag-name (asked before the new version numbers)
//attention: invoke x2 (esp. in european countries)
//check tag in svn
// ATTENTION, THIS IS ONLY A WORKAROUND!
// AND WILL NOT BE NEEDED AFTER THE NEW maven-release-plugin GOT RELEASED
cp -r ../git .
// DON'T FORGET TO DELETE deltaspike/deltaspike/.git AGAIN AFTER THE RELEASE!
mvn release:perform -Papache-release
//login to https://repository.apache.org/ and go to "Staging Repositories"
//check the shadded configs and esp. ...-[version]-source-release.zip
//close the repository
|
...