diff --git a/mail-service/pom.xml b/mail-service/pom.xml index 834d1642692e0549d7fe5322269141ff19fb5252..a76382e44482bd3adce62392501405a65590a13c 100644 --- a/mail-service/pom.xml +++ b/mail-service/pom.xml @@ -31,12 +31,12 @@ <groupId>de.itvsh.kop.common</groupId> <artifactId>kop-common-parent</artifactId> <version>1.6.2</version> - <relativePath /> + <relativePath/> </parent> <groupId>de.itvsh.ozg.mail</groupId> <artifactId>mail-service</artifactId> - <version>1.7.0</version> + <version>1.8.0-SNAPSHOT</version> <name>KOP Vorgang Manager Mail Service</name> <properties> @@ -296,4 +296,4 @@ <url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url> </snapshotRepository> </distributionManagement> -</project> \ No newline at end of file +</project> diff --git a/notification-manager/pom.xml b/notification-manager/pom.xml index cf08bddb8bc7a389f921b5807476ded30cdbf40f..51dd026dc4c15a9b5e729bab5d96e1b86d52a218 100644 --- a/notification-manager/pom.xml +++ b/notification-manager/pom.xml @@ -30,14 +30,14 @@ <groupId>de.itvsh.kop.common</groupId> <artifactId>kop-common-parent</artifactId> <version>1.6.2</version> - <relativePath /> + <relativePath/> </parent> <groupId>de.itvsh.kop.notification</groupId> <artifactId>notification-manager</artifactId> <name>KOP Notification Manager</name> - <version>1.7.0</version> + <version>1.8.0-SNAPSHOT</version> <properties> <user-manager-interface.version>1.1.0</user-manager-interface.version> @@ -158,4 +158,4 @@ </plugin> </plugins> </build> -</project> \ No newline at end of file +</project> diff --git a/pluto-command/pom.xml b/pluto-command/pom.xml index fda26ba0571dd027c0ee06855cc696f3c7dd8bb6..392d978186e015dc4bbb45f8eeee7991c0712583 100644 --- a/pluto-command/pom.xml +++ b/pluto-command/pom.xml @@ -1,3 +1,4 @@ +<?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> @@ -10,7 +11,7 @@ <groupId>de.itvsh.ozg.pluto</groupId> <artifactId>pluto-command</artifactId> <name>Command Manager</name> - <version>1.7.0</version> + <version>1.8.0-SNAPSHOT</version> <dependencies> <dependency> @@ -29,4 +30,4 @@ <optional>true</optional> </dependency> </dependencies> -</project> \ No newline at end of file +</project> diff --git a/pluto-interface/pom.xml b/pluto-interface/pom.xml index 7fad2d08615b0565f8ccf9bd7e3c2f1c1cb80d19..b0c16bdda25ab74b67c813151a3f187630ec405d 100644 --- a/pluto-interface/pom.xml +++ b/pluto-interface/pom.xml @@ -36,7 +36,7 @@ <groupId>de.itvsh.ozg.pluto</groupId> <artifactId>pluto-interface</artifactId> - <version>1.7.0</version> + <version>1.8.0-SNAPSHOT</version> <name>KOP Vorgang Manager gRPC Interface</name> <description>Interface (gRPC) for Pluto Server</description> diff --git a/pluto-server/pom.xml b/pluto-server/pom.xml index f95f43348a8a1dd8e681ac6b09cf0e52a7802370..3bfd2ac0b2b9216e9fa31956b05b6f70a86f7c0e 100644 --- a/pluto-server/pom.xml +++ b/pluto-server/pom.xml @@ -31,12 +31,12 @@ <groupId>de.itvsh.kop.common</groupId> <artifactId>kop-common-parent</artifactId> <version>1.6.2</version> - <relativePath /> + <relativePath/> </parent> <groupId>de.itvsh.ozg.pluto</groupId> <artifactId>pluto-server</artifactId> - <version>1.7.0</version> + <version>1.8.0-SNAPSHOT</version> <name>KOP Vorgang Manager (Pluto) Server</name> <description>Server Implementierung des VorgangManagers (Pluto)</description> @@ -378,4 +378,4 @@ </snapshotRepository> </distributionManagement> -</project> \ No newline at end of file +</project> diff --git a/pluto-utils/pom.xml b/pluto-utils/pom.xml index 06a98576b1a16f25751e936a7ae0d1e28672f123..00cd438f98468057e012318cee406780c7fae780 100644 --- a/pluto-utils/pom.xml +++ b/pluto-utils/pom.xml @@ -31,13 +31,13 @@ <groupId>de.itvsh.kop.common</groupId> <artifactId>kop-common-dependencies</artifactId> <version>1.6.2</version> - <relativePath /> + <relativePath/> </parent> <groupId>de.itvsh.ozg.pluto</groupId> <artifactId>pluto-utils</artifactId> <name>KOP Vorgang Manager (Pluto) Utils</name> - <version>1.7.0</version> + <version>1.8.0-SNAPSHOT</version> <properties> <pluto.version>1.3.1</pluto.version> @@ -234,4 +234,4 @@ </plugin> </plugins> </build> -</project> \ No newline at end of file +</project> diff --git a/pom.xml b/pom.xml index 64df7b529a3d81c1500c0fefa47078bf0b7ecf29..dc6652b0d1cce57aa29fe36d5ee515768d9eac5c 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>de.itvsh.ozg</groupId> <artifactId>pluto</artifactId> - <version>1.7.0</version> + <version>1.8.0-SNAPSHOT</version> <name>Pluto Parent</name> <packaging>pom</packaging> @@ -94,4 +94,3 @@ </snapshotRepository> </distributionManagement> </project> - \ No newline at end of file diff --git a/release-startdev.sh b/release-startdev.sh new file mode 100755 index 0000000000000000000000000000000000000000..b9957eb9c901b05d88076229afb513c26b9c59ca --- /dev/null +++ b/release-startdev.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +#set -x + +if [ "$#" -ne 1 ]; then + echo "Aufruf: ozg-release-startdev.sh NEWVERSION" + exit 1 +fi + +NEWVERSION=$1 + +echo + +# pom.xml:main -> project.version setzen +# projectname/pom.xml:parent -> project.parent.version setzen +# projectname/pom.xml:parent,main -> project.parent.version und project.version setzen +# +PROJECTS="pom.xml:main + pluto-server/pom.xml:main + pluto-interface/pom.xml:main + pluto-utils/pom.xml:main + mail-service/pom.xml:main + notification-manager/pom.xml:main + pluto-command/pom.xml:main + " + +for PROJECT in $PROJECTS; +do + POMFILE=$(echo $PROJECT | cut -d':' -f1) + ACTIONS=$(echo $PROJECT | cut -d':' -f2) + + ## Auf SNAPSHOT Versionen testen + if fgrep -q "SNAPSHOT" $POMFILE; then + RED='\033[0;31m' + NC='\033[0m' + echo "${RED}ERROR: Datei "$POMFILE" enthält noch SNAPSHOT Versionen, das sollte hier nicht passieren.${NC}" + exit 1 + fi +echo $ACTIONS + ## Versionen setzen + if [[ $ACTIONS == "main" ]] ; then + xmlstarlet ed --pf -L -N w="http://maven.apache.org/POM/4.0.0" -u '//w:project/w:version' -v $NEWVERSION $POMFILE + fi + + if [[ $ACTIONS == "parent" ]]; then + xmlstarlet ed --pf -L -N w="http://maven.apache.org/POM/4.0.0" -u '//w:project/w:parent/w:version' -v $NEWVERSION $POMFILE + fi +done + + + +echo +echo "NEXT STEPS:" +echo "***********" +echo "Änderungen prüfen" +echo "git commit -a -m 'start development "$NEWVERSION"'" +echo "git push" +