Skip to content

Commit 1d011f5

Browse files
authored
Merge pull request #616 from git-commit-id/fix_615
#615: declare these Maven artifacts in provided scope
2 parents 3293e0d + 2da7c88 commit 1d011f5

File tree

3 files changed

+75
-14
lines changed

3 files changed

+75
-14
lines changed

.github/workflows/default-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
matrix:
6161
java_version: ['11']
62-
maven_version: ['3.2.5', '3.3.9', '3.5.4', '3.6.3', '3.8.8', '3.9.1', '4.0.0-alpha-5']
62+
maven_version: ['3.1.0-alpha-1', '3.1.1', '3.2.5', '3.3.9', '3.5.4', '3.6.3', '3.8.8', '3.9.1', '4.0.0-alpha-5']
6363

6464
steps:
6565
- uses: actions/checkout@v3

pom.xml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@
4141
<properties>
4242
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4343
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
44+
<propertiesEncoding>UTF-8</propertiesEncoding>
4445
<project.build.outputTimestamp>10</project.build.outputTimestamp>
4546

4647
<java.target>11</java.target>
4748

4849
<maven-plugin-api.version>3.1.0-alpha-1</maven-plugin-api.version>
49-
<maven-plugin-plugin.version>3.8.2</maven-plugin-plugin.version>
50+
<maven-plugin-plugin.version>3.6.0</maven-plugin-plugin.version>
5051

5152
<junit.version>4.13.2</junit.version>
5253
<mockito.version>5.1.1</mockito.version>
@@ -100,7 +101,7 @@
100101
</plugin>
101102
<plugin>
102103
<artifactId>maven-assembly-plugin</artifactId>
103-
<version>3.5.0</version>
104+
<version>3.4.2</version>
104105
</plugin>
105106
<plugin>
106107
<artifactId>maven-dependency-plugin</artifactId>
@@ -112,39 +113,39 @@
112113
</plugin>
113114
<plugin>
114115
<artifactId>maven-enforcer-plugin</artifactId>
115-
<version>3.3.0</version>
116+
<version>3.2.1</version>
116117
</plugin>
117118
<plugin>
118119
<artifactId>maven-compiler-plugin</artifactId>
119-
<version>3.11.0</version>
120+
<version>3.8.1</version>
120121
</plugin>
121122
<plugin>
122123
<artifactId>maven-gpg-plugin</artifactId>
123124
<version>3.0.1</version>
124125
</plugin>
125126
<plugin>
126127
<artifactId>maven-clean-plugin</artifactId>
127-
<version>3.2.0</version>
128+
<version>3.1.0</version>
128129
</plugin>
129130
<plugin>
130131
<artifactId>maven-resources-plugin</artifactId>
131-
<version>3.3.0</version>
132+
<version>3.1.0</version>
132133
</plugin>
133134
<plugin>
134135
<artifactId>maven-jar-plugin</artifactId>
135-
<version>3.3.0</version>
136+
<version>3.2.0</version>
136137
</plugin>
137138
<plugin>
138139
<artifactId>maven-plugin-plugin</artifactId>
139140
<version>${maven-plugin-plugin.version}</version>
140141
</plugin>
141142
<plugin>
142143
<artifactId>maven-surefire-plugin</artifactId>
143-
<version>3.1.0</version>
144+
<version>2.22.2</version>
144145
</plugin>
145146
<plugin>
146147
<artifactId>maven-install-plugin</artifactId>
147-
<version>3.1.1</version>
148+
<version>2.5.2</version>
148149
</plugin>
149150
<plugin>
150151
<artifactId>maven-deploy-plugin</artifactId>
@@ -156,7 +157,7 @@
156157
</plugin>
157158
<plugin>
158159
<artifactId>maven-javadoc-plugin</artifactId>
159-
<version>3.5.0</version>
160+
<version>3.2.0</version>
160161
</plugin>
161162
<plugin>
162163
<artifactId>maven-source-plugin</artifactId>
@@ -240,11 +241,13 @@
240241
<groupId>org.apache.maven</groupId>
241242
<artifactId>maven-plugin-api</artifactId>
242243
<version>${maven-plugin-api.version}</version>
244+
<scope>provided</scope>
243245
</dependency>
244246
<dependency>
245247
<groupId>org.apache.maven</groupId>
246248
<artifactId>maven-core</artifactId>
247249
<version>${maven-plugin-api.version}</version>
250+
<scope>provided</scope>
248251
</dependency>
249252

250253
<dependency>
@@ -449,7 +452,7 @@
449452
<dependency>
450453
<groupId>javax.xml.bind</groupId>
451454
<artifactId>jaxb-api</artifactId>
452-
<version>2.3.1</version>
455+
<version>2.2.3</version>
453456
</dependency>
454457
</dependencies>
455458
</plugin>
@@ -473,7 +476,7 @@
473476
<profile>
474477
<id>checkstyle</id>
475478
<properties>
476-
<maven-checkstyle-plugin.version>3.2.2</maven-checkstyle-plugin.version>
479+
<maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version>
477480
<!-- if you update the checkstyle version make sure you update the google_checks.xml inside the repository -->
478481
<checkstyle.version>8.25</checkstyle.version>
479482
<checkstyle.config.path>${basedir}/.github/.checkstyle</checkstyle.config.path>

0 commit comments

Comments
 (0)