Merge branch 'develop-v24.4' into develop-v25.1
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@
|
|||||||
<extension>
|
<extension>
|
||||||
<groupId>com.inteligr8</groupId>
|
<groupId>com.inteligr8</groupId>
|
||||||
<artifactId>provided-scope-maven-extension</artifactId>
|
<artifactId>provided-scope-maven-extension</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0.1</version>
|
||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.activiti</groupId>
|
<groupId>com.inteligr8.activiti</groupId>
|
||||||
<artifactId>cxf-activiti-app-ext</artifactId>
|
<artifactId>cxf-activiti-app-ext</artifactId>
|
||||||
<version>1.4.SNAPSHOT-aps-v25.1</version>
|
<version>1.4-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>CXF-based JAX-RS & JAX-WS enablement for APS App</name>
|
<name>CXF-based JAX-RS & JAX-WS enablement for APS App</name>
|
||||||
@@ -42,7 +42,8 @@
|
|||||||
<maven.compiler.source>11</maven.compiler.source>
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
<maven.compiler.target>11</maven.compiler.target>
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
|
|
||||||
<aps.version>25.1.0</aps.version>
|
<aps.majorVersion>25.1</aps.majorVersion>
|
||||||
|
<aps.version>${aps.majorVersion}.0</aps.version>
|
||||||
<!-- APS v25.1.0 uses CXF v4.1.1 -->
|
<!-- APS v25.1.0 uses CXF v4.1.1 -->
|
||||||
<cxf.version>4.1.1</cxf.version>
|
<cxf.version>4.1.1</cxf.version>
|
||||||
</properties>
|
</properties>
|
||||||
@@ -118,7 +119,50 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>versions-maven-plugin</artifactId>
|
||||||
|
<version>2.21.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<version>3.11.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<version>3.5.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
<version>3.6.2</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.inteligr8</groupId>
|
||||||
|
<artifactId>merge-maven-plugin</artifactId>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>truezip-maven-plugin</artifactId>
|
||||||
|
<version>1.2</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>io.repaint.maven</groupId>
|
||||||
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
|
<version>2.44</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>versions-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<property>base.version</property>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<!-- Several CXF libraries have a bus-extensions.txt file that will overwrite each other during the packaging process -->
|
<!-- Several CXF libraries have a bus-extensions.txt file that will overwrite each other during the packaging process -->
|
||||||
<!-- Only the last one packaged will have its contents in tact -->
|
<!-- Only the last one packaged will have its contents in tact -->
|
||||||
<!-- We need the contents of all of them and that can be done by simply concatenating them -->
|
<!-- We need the contents of all of them and that can be done by simply concatenating them -->
|
||||||
@@ -153,7 +197,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.inteligr8</groupId>
|
<groupId>com.inteligr8</groupId>
|
||||||
<artifactId>merge-maven-plugin</artifactId>
|
<artifactId>merge-maven-plugin</artifactId>
|
||||||
<version>1.0.1</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>merge-bus-extensions</id>
|
<id>merge-bus-extensions</id>
|
||||||
@@ -178,7 +221,6 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<version>3.6.2</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>shade-jar</id>
|
<id>shade-jar</id>
|
||||||
@@ -207,7 +249,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>truezip-maven-plugin</artifactId>
|
<artifactId>truezip-maven-plugin</artifactId>
|
||||||
<version>1.2</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>overwrite-bus-extensions</id>
|
<id>overwrite-bus-extensions</id>
|
||||||
@@ -228,7 +269,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>io.repaint.maven</groupId>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<artifactId>tiles-maven-plugin</artifactId>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
<version>2.44</version>
|
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tiles>
|
<tiles>
|
||||||
@@ -258,7 +298,47 @@
|
|||||||
<maven.deploy.skip>true</maven.deploy.skip>
|
<maven.deploy.skip>true</maven.deploy.skip>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
<version>3.2.8</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.sonatype.central</groupId>
|
||||||
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||||
|
<version>0.10.0</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<!-- `source` is required for deploy to maven-central -->
|
||||||
|
<execution>
|
||||||
|
<id>sources-jar</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<classifier>sources</classifier>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<!-- `javadoc` is required for deploy to maven-central -->
|
||||||
|
<execution>
|
||||||
|
<id>javadoc-jar</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<classifier>javadoc</classifier>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
@@ -272,7 +352,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.sonatype.central</groupId>
|
<groupId>org.sonatype.central</groupId>
|
||||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||||
<version>0.8.0</version>
|
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<publishingServerId>central</publishingServerId>
|
<publishingServerId>central</publishingServerId>
|
||||||
|
|||||||
Executable
+21
@@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Configuring the next version ..."
|
||||||
|
CURRENT_FULL_VERSION=`mvn help:evaluate -q -DforceStdout -Dexpression=project.version`
|
||||||
|
echo "Detected the current version: ${CURRENT_FULL_VERSION}"
|
||||||
|
CURRENT_MINOR_VERSION=`echo "${CURRENT_FULL_VERSION}" | sed 's~^\([^\.]\+\.[^\.\-]\+\).*~\1~'`
|
||||||
|
echo "Computed the current minor version: ${CURRENT_MINOR_VERSION}"
|
||||||
|
set +e
|
||||||
|
LATEST_SERVICE_VERSION=`git ls-remote --tags --refs --sort=-v:refname origin v${CURRENT_MINOR_VERSION}* | grep refs/tags | head -n1 | sed "s~.\+refs/tags/v${CURRENT_MINOR_VERSION}\.\(.\+\)~\1~"`
|
||||||
|
set -e
|
||||||
|
echo "Detected the latest service version in Git for the minor version: ${CURRENT_MINOR_VERSION} => ${LATEST_SERVICE_VERSION}"
|
||||||
|
if [[ -z ${LATEST_SERVICE_VERSION} ]]; then
|
||||||
|
LATEST_SERVICE_VERSION=-1
|
||||||
|
fi
|
||||||
|
NEXT_FULL_VERSION="${CURRENT_MINOR_VERSION}.$((LATEST_SERVICE_VERSION + 1))"
|
||||||
|
echo "Computed the next version: ${NEXT_FULL_VERSION}"
|
||||||
|
|
||||||
|
CURRENT_APS_MAJOR_VERSION=`mvn help:evaluate -q -DforceStdout -Dexpression=aps.majorVersion`
|
||||||
|
echo "Detected the current APS major version: ${CURRENT_APS_MAJOR_VERSION}"
|
||||||
|
|
||||||
|
mvn versions:set -DnewVersion=${NEXT_FULL_VERSION}-aps-v${CURRENT_APS_MAJOR_VERSION}
|
||||||
Reference in New Issue
Block a user