Seperate version properties for hibernate-enhance and quarkus-maven (#20264)

This will allow them to be defined seperately from aligned dependency
versions suitable for product

Closes #20261
This commit is contained in:
Alex Szczuczko 2023-05-18 08:37:55 -06:00 committed by GitHub
parent 33215ab6f4
commit 1578506475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 10 deletions

View file

@ -51,7 +51,7 @@
<plugin>
<groupId>org.hibernate.orm.tooling</groupId>
<artifactId>hibernate-enhance-maven-plugin</artifactId>
<version>${hibernate-orm.version}</version>
<version>${hibernate-orm.plugin.version}</version>
<executions>
<execution>
<configuration>

View file

@ -36,7 +36,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.operator.sdk.version>6.0.1</quarkus.operator.sdk.version>
<quarkus.version>3.0.0.Final</quarkus.version>
<quarkus.operator.build.version>3.0.0.Final</quarkus.operator.build.version>
<quarkus.container-image.group>keycloak</quarkus.container-image.group>
</properties>
@ -160,7 +160,7 @@
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.version}</version>
<version>${quarkus.operator.build.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
@ -172,7 +172,7 @@
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.version}</version>
<version>${quarkus.operator.build.version}</version>
<executions>
<execution>
<goals>

View file

@ -44,6 +44,7 @@
<jboss.snapshots.repo.url>https://s01.oss.sonatype.org/content/repositories/snapshots/</jboss.snapshots.repo.url>
<quarkus.version>3.0.2.Final</quarkus.version>
<quarkus.build.version>3.0.2.Final</quarkus.build.version>
<project.build-time>${timestamp}</project.build-time>
@ -81,6 +82,7 @@
<dom4j.version>2.1.3</dom4j.version>
<h2.version>2.1.214</h2.version>
<hibernate-orm.version>6.2.1.Final</hibernate-orm.version>
<hibernate-orm.plugin.version>6.2.1.Final</hibernate-orm.plugin.version>
<hibernate.c3p0.version>${hibernate-orm.version}</hibernate.c3p0.version>
<infinispan.version>14.0.8.Final</infinispan.version>
<infinispan.protostream.processor.version>4.6.2.Final</infinispan.protostream.processor.version>

View file

@ -118,7 +118,7 @@
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.version}</version>
<version>${quarkus.build.version}</version>
</path>
</annotationProcessorPaths>
</configuration>

View file

@ -691,7 +691,7 @@
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-maven-plugin</artifactId>
<version>${quarkus.version}</version>
<version>${quarkus.build.version}</version>
<executions>
<execution>
<goals>
@ -712,7 +712,7 @@
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.version}</version>
<version>${quarkus.build.version}</version>
</path>
</annotationProcessorPaths>
</configuration>

View file

@ -42,7 +42,7 @@
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.version}</version>
<version>${quarkus.build.version}</version>
<configuration>
<finalName>keycloak</finalName>
<systemProperties>

View file

@ -49,7 +49,7 @@ fi
QUARKUS_BOM=$(curl -s "$QUARKUS_BOM_URL")
echo "Setting Quarkus version: $QUARKUS_VERSION"
$(mvn versions:set-property -f ../pom.xml -Dproperty=quarkus.version -DnewVersion="$QUARKUS_VERSION" 1> /dev/null)
$(mvn versions:set-property -f ../pom.xml -Dproperty=quarkus.version,quarkus.build.version -DnewVersion="$QUARKUS_VERSION" 1> /dev/null)
DEPENDENCIES_LIST="resteasy jackson-bom hibernate-orm mysql-jdbc postgresql-jdbc microprofile-metrics-api wildfly-common wildfly-elytron"
@ -68,4 +68,4 @@ for dependency in $DEPENDENCIES_LIST; do
done
echo ""
echo "Done!"
echo "Done!"