Skip to content

Commit a242855

Browse files
committed
Upgrade maven dependencies from 2.2.1 to 3.6.3
1 parent 4bb073b commit a242855

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ jobs:
2424
java-version: ${{ matrix.java }}
2525
- name: print Java version
2626
run: java -version
27+
- name: print Maven version
28+
run: mvn --version
2729
- name: Build
2830
run: mvn --no-transfer-progress -B clean verify animal-sniffer:check

pom.xml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ under the License.
8787
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
8888
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
8989

90-
<maven.version>2.2.1</maven.version>
90+
<maven.version>3.6.3</maven.version>
9191
<maven-plugin-plugin.version>3.10.2</maven-plugin-plugin.version>
9292

9393
<scalac-scoverage-plugin.version>2.0.11</scalac-scoverage-plugin.version>
@@ -118,25 +118,32 @@ under the License.
118118

119119
<dependency>
120120
<groupId>org.apache.maven</groupId>
121-
<artifactId>maven-plugin-api</artifactId>
121+
<artifactId>maven-compat</artifactId>
122122
<version>${maven.version}</version>
123123
<scope>provided</scope>
124124
</dependency>
125125

126126
<dependency>
127-
<groupId>org.apache.maven.plugin-tools</groupId>
128-
<artifactId>maven-plugin-annotations</artifactId>
129-
<version>${maven-plugin-plugin.version}</version>
127+
<groupId>org.apache.maven</groupId>
128+
<artifactId>maven-core</artifactId>
129+
<version>${maven.version}</version>
130130
<scope>provided</scope>
131131
</dependency>
132132

133133
<dependency>
134134
<groupId>org.apache.maven</groupId>
135-
<artifactId>maven-project</artifactId>
135+
<artifactId>maven-plugin-api</artifactId>
136136
<version>${maven.version}</version>
137137
<scope>provided</scope>
138138
</dependency>
139139

140+
<dependency>
141+
<groupId>org.apache.maven.plugin-tools</groupId>
142+
<artifactId>maven-plugin-annotations</artifactId>
143+
<version>${maven-plugin-plugin.version}</version>
144+
<scope>provided</scope>
145+
</dependency>
146+
140147
<dependency>
141148
<groupId>org.apache.maven.reporting</groupId>
142149
<artifactId>maven-reporting-api</artifactId>

0 commit comments

Comments
 (0)