CSCO-PARENT release process

TODO This page is eventually obsolete, please check this when releasing R17
(we should be able to release parents the same way as normal projects now)

Precondition csco-builder-maven-plugin:

  1. fix pom of each parent
    • fix dependency versions (run command "mvn versions:display-plugin-updates versions:display-dependency-updates versions:display-property-updates")
  2. commit and push all changes to Git
  3. make a SNAPSHOT deploy of all parents (mvn clean deploy clean -P\!java-packaging-tools)
  4. deploy "csco-builder-maven-plugin" as described here.
    • Note: the newest parent is not deployed yet, so you can only choose the last deployed parent. If there were changes in the parent that are needed by a maven plguin it is mandatory to copy them temporary in the "csco-builder-maven-plugin" pom.

Release Parents

  1. go to "csco-parent"
  2. mvn release:branch -DbranchName=R10_4 -DdevelopmentVersion=10.4.0-SNAPSHOT
  3. remove "-SNAPSHOT" flag from the version, also update the parentversion property!
  4. go to "csco-parent-java"
  5. branch as described in 2
  6. go to "csco-parent-java-bundle"
  7. branch as described in 2
  8. go to "csco-parent-cern"
  9. branch manually (because of scm path): git checkout -b R14_4
    • Anm bpeter: AS please check, still required in 2020 and using git?
  10. switch to new branch an dupdate scm tags from trunk to branch and commit
  11. switch to branch versions of all parents
  12. make a snapshot deploy of all parents in the order above (mvn clean deploy clean -Prelease,\!java-packaging-tools)
  13. update all parent versions (remove SNAPSHOT)
  14. commit and push all changes to git
  15. make a deploy of all parents in the order above (mvn clean deploy site-deploy clean -Prelease,\!java-packaging-tools)
  16. update all parent master versions to next dev SNAPSHOT
  17. commit and push all changes to git
  18. make a SNAPSHOT deploy of all parents in the order above (mvn clean deploy clean -P\!java-packaging-tools)

Update archetype templates

  1. go to "csco-java-bundle-template"
  2. update "pom.xml"
  3. update "src/main/resources/archetype-resources/pom.xml"
  4. make a deploy
  5. go to "csco-java-fx-template"
  6. update "pom.xml"
  7. update "src/main/resources/archetype-resources/pom.xml"
  8. make a deploy

-- AndreasSchaller - 15 Mar 2016
Topic revision: r12 - 03 Dec 2020, JuttaFitzek
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback