Compare commits

...
Author SHA1 Message Date
brian.long 1b19623ba3 Merge branch 'develop-v25.2' into develop-v25.3 2026-06-04 12:03:20 -04:00
brian.long 9c550c2dee Merge branch 'develop-v25.1' into develop-v25.2 2026-06-04 12:02:52 -04:00
brian.long 0a12db346a Merge branch 'develop-v24.4' into develop-v25.1 2026-06-04 12:02:15 -04:00
brian.long 17db8831bd Merge branch 'develop-v24.3' into develop-v24.4 2026-06-04 12:01:42 -04:00
brian.long e5456a2d1c Merge branch 'develop-v24.2' into develop-v24.3 2026-06-04 12:00:01 -04:00
brian.long 31acb34dff Merge branch 'develop-v24.1' into develop-v24.2 2026-06-04 11:59:46 -04:00
brian.long c05880973a do not change the POM when shading 2026-06-04 11:59:20 -04:00
brian.long 792e8d58e4 Merge branch 'develop-v25.2' into develop-v25.3 2026-06-04 10:24:27 -04:00
brian.long ac9c8d8d8b Merge branch 'develop-v25.1' into develop-v25.2 2026-06-04 10:23:54 -04:00
brian.long 1a0b6d24ef Merge branch 'develop-v24.4' into develop-v25.1 2026-06-04 10:23:15 -04:00
brian.long 7c93310930 Merge branch 'develop-v24.3' into develop-v24.4 2026-06-04 10:23:05 -04:00
brian.long 428c95b9aa Merge branch 'develop-v24.2' into develop-v24.3 2026-06-04 10:22:57 -04:00
brian.long b2363c4443 Merge branch 'develop-v24.1' into develop-v24.2 2026-06-04 10:22:50 -04:00
brian.long 42522a188f fix and rename version script 2026-06-04 10:22:41 -04:00
brian.long 92249a7fc4 Merge branch 'develop-v25.1' into develop-v25.2 2026-06-04 10:12:43 -04:00
brian.long ac5ae926ee APS v25.3 POM 2026-06-03 17:49:34 -04:00
brian.long d0b7b3d199 APS v25.2 POM 2026-06-03 17:48:42 -04:00
2 changed files with 38 additions and 15 deletions
Executable → Regular
+11 -10
View File
@@ -5,17 +5,18 @@ CURRENT_FULL_VERSION=`mvn help:evaluate -q -DforceStdout -Dexpression=project.ve
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}
set +e
LATEST_SERVICE_VERSION=`git ls-remote --tags --refs --sort=-v:refname origin v${CURRENT_MINOR_VERSION}*-aps-v${CURRENT_APS_MAJOR_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}.#-aps-v${CURRENT_APS_MAJOR_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))-aps-v${CURRENT_APS_MAJOR_VERSION}"
echo "Computed the next version: ${NEXT_FULL_VERSION}"
mvn versions:set -DnewVersion=${NEXT_FULL_VERSION}
+27 -5
View File
@@ -42,10 +42,10 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<aps.majorVersion>25.1</aps.majorVersion>
<aps.majorVersion>25.3</aps.majorVersion>
<aps.version>${aps.majorVersion}.0</aps.version>
<!-- APS v25.1.0 uses CXF v4.1.1 -->
<cxf.version>4.1.1</cxf.version>
<!-- APS v25.3.0 uses CXF v4.1.3 -->
<cxf.version>4.1.3</cxf.version>
</properties>
<dependencyManagement>
@@ -89,13 +89,11 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Package JackSON joda-time support -->
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Provided by APS -->
@@ -126,6 +124,11 @@
<artifactId>versions-maven-plugin</artifactId>
<version>2.21.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.7.0</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.11.0</version>
@@ -163,6 +166,21 @@
<property>base.version</property>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<executions>
<execution>
<!-- this is required because we are not creating a new POM when shading -->
<id>flatten-pom</id>
<phase>process-resources</phase>
<goals><goal>flatten</goal></goals>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</execution>
</executions>
</plugin>
<!-- 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 -->
<!-- We need the contents of all of them and that can be done by simply concatenating them -->
@@ -227,7 +245,11 @@
<phase>package</phase>
<goals><goal>shade</goal></goals>
<configuration>
<!-- without this, the main artifact is shaded -->
<shadedArtifactAttached>true</shadedArtifactAttached>
<!-- this keeps the dependencies in POM, letting downstream projects know what this library provides -->
<!-- this is necessary as we are not renaming/relocating any packages -->
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">