Skip to content

Commit 692c9ab

Browse files
amCap1712yvanzo
andcommitted
SEARCH-625 (2/6): Update Maven and its plugins
For compatibility with Java SE 11, it’s needed to update `maven-compiler-plugin` version to 3.8.0 or later. Reference: https://issues.apache.org/jira/browse/MCOMPILER-332 Updating other Maven plugins too for good measure only. Co-Authored-By: yvanzo <yvanzo@metabrainz.org>
1 parent e9a8b45 commit 692c9ab

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG MAVEN_TAG=3.6.1-jdk-8
1+
ARG MAVEN_TAG=3.9.6-eclipse-temurin-8
22
ARG SOLR_NAME=metabrainz/solr
33
ARG SOLR_TAG=7.7.2-alpine
44

mb-solr/pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<plugin>
133133
<groupId>de.jflex</groupId>
134134
<artifactId>jflex-maven-plugin</artifactId>
135-
<version>1.6.1</version>
135+
<version>1.9.1</version>
136136
<executions>
137137
<execution>
138138
<goals>
@@ -150,7 +150,7 @@
150150
<plugin>
151151
<groupId>org.apache.maven.plugins</groupId>
152152
<artifactId>maven-assembly-plugin</artifactId>
153-
<version>2.5.5</version>
153+
<version>3.6.0</version>
154154
<configuration>
155155
<descriptorRefs>
156156
<descriptorRef>jar-with-dependencies</descriptorRef>
@@ -169,17 +169,17 @@
169169
<plugin>
170170
<groupId>org.apache.maven.plugins</groupId>
171171
<artifactId>maven-resources-plugin</artifactId>
172-
<version>2.7</version>
172+
<version>3.3.1</version>
173173
</plugin>
174174
<plugin>
175175
<groupId>org.apache.maven.plugins</groupId>
176176
<artifactId>maven-surefire-plugin</artifactId>
177-
<version>2.18.1</version>
177+
<version>3.2.5</version>
178178
</plugin>
179179
<plugin>
180180
<groupId>org.apache.maven.plugins</groupId>
181181
<artifactId>maven-compiler-plugin</artifactId>
182-
<version>3.3</version>
182+
<version>3.12.1</version>
183183
<configuration>
184184
<source>1.8</source>
185185
<target>1.8</target>
@@ -188,7 +188,7 @@
188188
<plugin>
189189
<groupId>org.codehaus.mojo</groupId>
190190
<artifactId>versions-maven-plugin</artifactId>
191-
<version>2.2</version>
191+
<version>2.16.2</version>
192192
</plugin>
193193
</plugins>
194194
</build>

0 commit comments

Comments
 (0)