Skip to content

Commit cfcd175

Browse files
committed
Fix maven build
1 parent 3349a57 commit cfcd175

File tree

1 file changed

+39
-31
lines changed

1 file changed

+39
-31
lines changed

pom.xml

+39-31
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,55 @@
5555
<project.build.outputTimestamp>2020-01-20T18:52:37Z</project.build.outputTimestamp>
5656
</properties>
5757

58+
<dependencies>
59+
<dependency>
60+
<groupId>junit</groupId>
61+
<artifactId>junit</artifactId>
62+
<version>4.13.2</version>
63+
<scope>test</scope>
64+
</dependency>
65+
</dependencies>
66+
5867
<build>
5968
<pluginManagement>
6069
<plugins>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-compiler-plugin</artifactId>
73+
<version>3.10.1</version>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-dependency-plugin</artifactId>
78+
<version>3.3.0</version>
79+
</plugin>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-javadoc-plugin</artifactId>
83+
<version>3.4.0</version>
84+
<configuration>
85+
<encoding>utf-8</encoding>
86+
<attach>true</attach>
87+
<quiet>true</quiet>
88+
</configuration>
89+
</plugin>
6190
<plugin>
6291
<groupId>org.apache.maven.plugins</groupId>
6392
<artifactId>maven-scm-publish-plugin</artifactId>
6493
<configuration>
6594
<content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage -->
6695
</configuration>
6796
</plugin>
97+
<plugin>
98+
<groupId>org.apache.maven.plugins</groupId>
99+
<artifactId>maven-surefire-plugin</artifactId>
100+
<version>3.0.0-M7</version>
101+
</plugin>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-surefire-report-plugin</artifactId>
105+
<version>3.0.0-M7</version>
106+
</plugin>
68107
</plugins>
69108
</pluginManagement>
70109
<plugins>
@@ -125,7 +164,6 @@
125164
<plugin>
126165
<groupId>org.apache.maven.plugins</groupId>
127166
<artifactId>maven-dependency-plugin</artifactId>
128-
<version>3.3.0</version>
129167
<executions>
130168
<execution>
131169
<phase>generate-test-resources</phase>
@@ -155,27 +193,6 @@
155193
</execution>
156194
</executions>
157195
</plugin>
158-
<plugin>
159-
<groupId>org.apache.maven.plugins</groupId>
160-
<artifactId>maven-enforcer-plugin</artifactId>
161-
<version>3.0.0</version>
162-
<executions>
163-
<execution>
164-
<id>enforce-java</id>
165-
<goals>
166-
<goal>enforce</goal>
167-
</goals>
168-
<configuration>
169-
<rules>
170-
<requireJavaVersion>
171-
<version>8</version>
172-
</requireJavaVersion>
173-
</rules>
174-
</configuration>
175-
</execution>
176-
</executions>
177-
</plugin>
178-
179196
</plugins>
180197
</build>
181198

@@ -184,9 +201,6 @@
184201
<plugin>
185202
<groupId>org.apache.maven.plugins</groupId>
186203
<artifactId>maven-project-info-reports-plugin</artifactId>
187-
<configuration>
188-
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
189-
</configuration>
190204
<reportSets>
191205
<reportSet>
192206
<reports>
@@ -202,12 +216,6 @@
202216
<plugin>
203217
<groupId>org.apache.maven.plugins</groupId>
204218
<artifactId>maven-javadoc-plugin</artifactId>
205-
<version>3.4.0</version>
206-
<configuration>
207-
<encoding>utf-8</encoding>
208-
<attach>true</attach>
209-
<quiet>true</quiet>
210-
</configuration>
211219
</plugin>
212220
</plugins>
213221
</reporting>

0 commit comments

Comments
 (0)