This is an automated email from the ASF dual-hosted git repository. rec pushed a commit to branch UIMA-6447-Update-dependencies in repository https://gitbox.apache.org/repos/asf/uima-ruta.git
commit 801b9688dc8c3c998ff62364777ab8c82cbbf9b1 Author: Richard Eckart de Castilho <[email protected]> AuthorDate: Wed May 11 15:43:17 2022 +0200 [UIMA-6447] Update dependencies (Ruta 3.2.0) - Spring 4.3.30 -> 5.3.19 - JUnit 4.12 -> 4.13.2 - SLF4J 1.7.24 -> 1.7.36 - ANTLR 3.5.2 -> 3.5.3 - Caffeine 2.8.3 -> 2.9.3 (3.x requires Java 11) - Updated compatibility check properties - Move enforcer rule for the Java version to the release profile --- ruta-parent/pom.xml | 53 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 42 insertions(+), 11 deletions(-) diff --git a/ruta-parent/pom.xml b/ruta-parent/pom.xml index c757c56b..36773992 100644 --- a/ruta-parent/pom.xml +++ b/ruta-parent/pom.xml @@ -115,9 +115,11 @@ <uimaVersion>3.3.0</uimaVersion> <uimafit-version>3.2.0</uimafit-version> - <spring-version>4.3.30.RELEASE</spring-version> + <spring-version>5.3.19</spring-version> + <junit-version>4.13.2</junit-version> + <slf4j-version>1.7.36</slf4j-version> - <antlr-version>3.5.2</antlr-version> + <antlr-version>3.5.3</antlr-version> <htmlparser-version>1.6</htmlparser-version> <commons-collections-version>3.2.2</commons-collections-version> <commons-text-version>1.9</commons-text-version> @@ -126,18 +128,17 @@ <commons-math3-version>3.6.1</commons-math3-version> <commons-logging-version>1.1.1</commons-logging-version> <commons-logging-api-version>1.1</commons-logging-api-version> - <caffeine-version>2.8.3</caffeine-version> + <caffeine-version>2.9.3</caffeine-version> <!-- BACKWARD_COMPATIBLE_IMPLEMENTER - patch version (=.=.+) BACKWARD_COMPATIBLE_USER - minor version (=.+.0) NON_BACKWARD_COMPATIBLE - major version (+.0.0) --> <compat.level>BACKWARD_COMPATIBLE_USER</compat.level> - <compat.previous.version>3.0.1</compat.previous.version> + <compat.previous.version>3.1.0</compat.previous.version> + <api_check_oldVersion>3.1.0</api_check_oldVersion> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.source>1.8</maven.compiler.source> - - <api_check_oldVersion>3.0.1</api_check_oldVersion> </properties> <dependencyManagement> @@ -222,12 +223,12 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> + <version>${junit-version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> - <version>1.7.24</version> + <version>${slf4j-version}</version> <scope>test</scope> </dependency> </dependencies> @@ -277,9 +278,6 @@ <requireMavenVersion> <version>3.0</version> </requireMavenVersion> - <requireJavaVersion> - <version>${maven.compiler.target}</version> - </requireJavaVersion> </rules> </configuration> </execution> @@ -312,4 +310,37 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>apache-release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>enforce-java</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireJavaVersion> + <!-- + - Ensure that releases are made with a Java 1.8 since that's our minimum + - version atm. + --> + <version>[1.8,1.9)</version> + </requireJavaVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
