Skip to content

Commit 80397f5

Browse files
committed
Disable javadoc doclint
The javadoc version in jdk 8 is much more strict about errors in javadoc comments than earlier versions were. As a result the maven javadoc plugin fails to create the javadoc jar when building a Metafacture release. This commit disables the strict checks in javadoc, so that we can continue building Metafacture releases without having to fix all comments first. This is only a workaround which should be removed once the comments have been improved.
1 parent 29ee8ed commit 80397f5

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

pom.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@
108108
<artifactId>maven-jar-plugin</artifactId>
109109
<version>2.3.1</version>
110110
</plugin>
111-
111+
112112
<plugin>
113113
<groupId>org.apache.maven.plugins</groupId>
114114
<artifactId>maven-surefire-plugin</artifactId>
115115
<version>2.10</version>
116116
</plugin>
117-
117+
118118
<plugin>
119119
<groupId>org.codehaus.mojo</groupId>
120120
<artifactId>buildnumber-maven-plugin</artifactId>
@@ -149,7 +149,7 @@
149149
</execution>
150150
</executions>
151151
</plugin>
152-
152+
153153
<plugin>
154154
<groupId>org.antlr</groupId>
155155
<artifactId>antlr3-maven-plugin</artifactId>
@@ -168,8 +168,8 @@
168168
<groupId>org.apache.maven.plugins</groupId>
169169
<artifactId>maven-release-plugin</artifactId>
170170
<version>2.4</version><!--$NO-MVN-MAN-VER$ -->
171-
<!-- m2e complains about a different plugin version being specified in
172-
the parent pom. However, this is not actually problem for maven. So, we can
171+
<!-- m2e complains about a different plugin version being specified in
172+
the parent pom. However, this is not actually problem for maven. So, we can
173173
ignore the warning. -->
174174
</plugin>
175175

@@ -221,40 +221,40 @@
221221
<version>0.11.4.1</version>
222222
<scope>test</scope>
223223
</dependency>
224-
224+
225225
<dependency>
226226
<groupId>commons-io</groupId>
227227
<artifactId>commons-io</artifactId>
228228
<version>2.4</version>
229229
</dependency>
230-
230+
231231
<dependency>
232232
<groupId>org.jdom</groupId>
233233
<artifactId>jdom</artifactId>
234234
<version>1.1</version>
235235
</dependency>
236-
236+
237237
<dependency>
238238
<groupId>com.fasterxml.jackson.core</groupId>
239239
<artifactId>jackson-core</artifactId>
240240
<version>2.3.2</version>
241241
</dependency>
242-
242+
243243
<dependency>
244244
<groupId>org.mockito</groupId>
245245
<artifactId>mockito-core</artifactId>
246246
<version>1.9.5</version>
247247
<scope>test</scope>
248248
<exclusions>
249249
<exclusion>
250-
<!-- Conflicts with the newer hamcrest version
250+
<!-- Conflicts with the newer hamcrest version
251251
pulled in by junit -->
252252
<artifactId>hamcrest-core</artifactId>
253253
<groupId>org.hamcrest</groupId>
254254
</exclusion>
255255
</exclusions>
256256
</dependency>
257-
257+
258258
<dependency>
259259
<groupId>org.hamcrest</groupId>
260260
<artifactId>hamcrest-core</artifactId>
@@ -282,6 +282,7 @@
282282
<configuration>
283283
<show>public</show>
284284
<nohelp>true</nohelp>
285+
<additionalparam>-Xdoclint:none</additionalparam>
285286
</configuration>
286287
</execution>
287288
</executions>

0 commit comments

Comments
 (0)