Tony CHEMIT pushed to branch develop at ultreia.io / ird-observe
Commits:
-
c3db5b6d
by Tony CHEMIT at 2017-03-08T17:59:24+01:00
-
598082e5
by Tony CHEMIT at 2017-03-08T18:00:42+01:00
-
4443e6d5
by Tony CHEMIT at 2017-03-08T18:01:18+01:00
28 changed files:
- application-swing-configuration/pom.xml
- application-swing-decoration/pom.xml
- application-swing-validation/pom.xml
- application-swing-validators/pom.xml
- application-swing/pom.xml
- application-web-configuration/pom.xml
- application-web/pom.xml
- + bin/stage_create.sh
- + bin/stage_drop.sh
- + bin/stage_release.sh
- common/pom.xml
- observe/pom.xml
- persistence/pom.xml
- pom.xml
- services-binder/pom.xml
- services-configuration-rest/pom.xml
- services-configuration-topia/pom.xml
- services-configuration/pom.xml
- services-rest/pom.xml
- services-runner/pom.xml
- services-topia/pom.xml
- services-validation/pom.xml
- services-validators/pom.xml
- services/pom.xml
- test/pom.xml
- toolbox-maven-plugin/pom.xml
- topia-extension/pom.xml
- topia-templates-extension/pom.xml
Changes:
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-configuration</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-decoration</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-validation</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing-validators</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-swing</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>application-web-configuration</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>application-web</artifactId>
|
| 1 |
+#!/usr/bin/env bash
|
|
| 2 |
+ |
|
| 3 |
+PROJECT=ird-observe
|
|
| 4 |
+MASTER=master
|
|
| 5 |
+DEVELOP=develop
|
|
| 6 |
+STAGE=frirdobserve
|
|
| 7 |
+ |
|
| 8 |
+VERSION=$(grep -e "-SNAPSHOT" pom.xml | cut -d'>' -f2 | cut -d'<' -f1)
|
|
| 9 |
+VERSION=${VERSION/-SNAPSHOT/}
|
|
| 10 |
+LOG_DIR=/tmp/${PROJECT}-${VERSION}
|
|
| 11 |
+echo "version to release: $VERSION"
|
|
| 12 |
+echo "log dir: $LOG_DIR"
|
|
| 13 |
+rm -rf ${LOG_DIR}
|
|
| 14 |
+mkdir -p ${LOG_DIR}
|
|
| 15 |
+ |
|
| 16 |
+git checkout -B ${MASTER}
|
|
| 17 |
+git checkout -B ${DEVELOP}
|
|
| 18 |
+ |
|
| 19 |
+echo "Start release: $VERSION ($LOG_DIR/release-start.log)"
|
|
| 20 |
+mvn jgitflow:release-start -B -Prelease-profile --log-file ${LOG_DIR}/release-start.log
|
|
| 21 |
+ |
|
| 22 |
+echo "Finish release: $VERSION ($LOG_DIR/release-finish.log)"
|
|
| 23 |
+mvn jgitflow:release-finish -Prelease-profile --log-file ${LOG_DIR}/release-finish.log
|
|
| 24 |
+ |
|
| 25 |
+echo "Get staging id..."
|
|
| 26 |
+STAGE_ID=$(mvn nexus-staging:rc-list | grep ${STAGE} | cut -d' ' -f2)
|
|
| 27 |
+ |
|
| 28 |
+echo "Closing stage: $STAGE_ID ($LOG_DIR/release-close.log)"
|
|
| 29 |
+mvn nexus-staging:close -DstagingRepositoryId=${STAGE_ID} --log-file ${LOG_DIR}/release-close.log
|
|
| 30 |
+ |
|
| 31 |
+git checkout ${MASTER}
|
|
| 32 |
+ |
|
| 33 |
+echo "Generate site: ($LOG_DIR/release-site.log)"
|
|
| 34 |
+mvn verify site-deploy -DskipTests -DperformRelease --log-file ${LOG_DIR}/release-site.log
|
|
| 35 |
+ |
|
| 36 |
+echo "Deploy demo: ($LOG_DIR/release-demo.log)"
|
|
| 37 |
+mvn install -am -pl application-web -DskipTests -DperformRelease -Pdeploy-demo --log-file ${LOG_DIR}/release-demo.log
|
|
| 38 |
+ |
|
| 39 |
+git stash
|
|
| 40 |
+git checkout ${DEVELOP}
|
|
| \ No newline at end of file |
| 1 |
+#!/usr/bin/env sh
|
|
| 2 |
+ |
|
| 3 |
+PROJECT=ird-observe
|
|
| 4 |
+MASTER=master
|
|
| 5 |
+DEVELOP=develop
|
|
| 6 |
+STAGE=frirdobserve
|
|
| 7 |
+ |
|
| 8 |
+LOG_DIR=/tmp/${PROJECT}-stage
|
|
| 9 |
+echo "log dir: $LOG_DIR"
|
|
| 10 |
+rm -rf ${LOG_DIR}
|
|
| 11 |
+mkdir -p ${LOG_DIR}
|
|
| 12 |
+ |
|
| 13 |
+echo "Get staging id..."
|
|
| 14 |
+STAGE_ID=$(mvn nexus-staging:rc-list | grep ${STAGE} | cut -d' ' -f2)
|
|
| 15 |
+ |
|
| 16 |
+echo "Stage drop: $STAGE_ID ($LOG_DIR/stage-drop.log)"
|
|
| 17 |
+mvn nexus-staging:drop -DstagingRepositoryId=${STAGE_ID} --log-file --log-file ${LOG_DIR}/stage-release.log
|
| 1 |
+#!/usr/bin/env sh
|
|
| 2 |
+ |
|
| 3 |
+PROJECT=ird-observe
|
|
| 4 |
+MASTER=master
|
|
| 5 |
+DEVELOP=develop
|
|
| 6 |
+STAGE=frirdobserve
|
|
| 7 |
+ |
|
| 8 |
+LOG_DIR=/tmp/${PROJECT}-stage
|
|
| 9 |
+echo "log dir: $LOG_DIR"
|
|
| 10 |
+rm -rf ${LOG_DIR}
|
|
| 11 |
+mkdir -p ${LOG_DIR}
|
|
| 12 |
+ |
|
| 13 |
+echo "Get staging id..."
|
|
| 14 |
+STAGE_ID=$(mvn nexus-staging:rc-list | grep ${STAGE} | cut -d' ' -f2)
|
|
| 15 |
+ |
|
| 16 |
+echo "Stage release: $STAGE_ID ($LOG_DIR/stage-release.log)"
|
|
| 17 |
+mvn nexus-staging:release -DstagingRepositoryId=${STAGE_ID} --log-file --log-file ${LOG_DIR}/stage-release.log
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>common</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>observe</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>persistence</artifactId>
|
| ... | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 |
|
| 32 | 32 |
<groupId>fr.ird.observe</groupId>
|
| 33 | 33 |
<artifactId>pom</artifactId>
|
| 34 |
- <version>6.0-SNAPSHOT</version>
|
|
| 34 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 35 | 35 |
<packaging>pom</packaging>
|
| 36 | 36 |
|
| 37 | 37 |
<name>ObServe</name>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-binder</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-configuration-rest</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-configuration-topia</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-configuration</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-rest</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-runner</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services-topia</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>services-validation</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>services-validators</artifactId>
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 |
<parent>
|
| 28 | 28 |
<groupId>fr.ird.observe</groupId>
|
| 29 | 29 |
<artifactId>pom</artifactId>
|
| 30 |
- <version>6.0-SNAPSHOT</version>
|
|
| 30 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 31 | 31 |
</parent>
|
| 32 | 32 |
|
| 33 | 33 |
<artifactId>services</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>test</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>toolbox-maven-plugin</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>topia-extension</artifactId>
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 |
<parent>
|
| 27 | 27 |
<groupId>fr.ird.observe</groupId>
|
| 28 | 28 |
<artifactId>pom</artifactId>
|
| 29 |
- <version>6.0-SNAPSHOT</version>
|
|
| 29 |
+ <version>3.0-RC-2-SNAPSHOT</version>
|
|
| 30 | 30 |
</parent>
|
| 31 | 31 |
|
| 32 | 32 |
<artifactId>topia-templates-extension</artifactId>
|