Skip to content

Commit 3ef0707

Browse files
committed
Enable source and javadoc to fix deployment to Sonatype OSS
1 parent bac1ded commit 3ef0707

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

pom.xml

+42
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,37 @@
156156
</execution>
157157
</executions>
158158
</plugin>
159+
160+
<plugin>
161+
<groupId>org.apache.maven.plugins</groupId>
162+
<artifactId>maven-javadoc-plugin</artifactId>
163+
<version>3.6.3</version>
164+
<configuration>
165+
<quiet>true</quiet>
166+
</configuration>
167+
<executions>
168+
<execution>
169+
<id>docs</id>
170+
<goals>
171+
<goal>jar</goal>
172+
</goals>
173+
</execution>
174+
</executions>
175+
</plugin>
176+
177+
<plugin>
178+
<groupId>org.apache.maven.plugins</groupId>
179+
<artifactId>maven-source-plugin</artifactId>
180+
<version>3.3.1</version>
181+
<executions>
182+
<execution>
183+
<id>attach-sources</id>
184+
<goals>
185+
<goal>jar-no-fork</goal>
186+
</goals>
187+
</execution>
188+
</executions>
189+
</plugin>
159190
</plugins>
160191

161192
<pluginManagement>
@@ -214,6 +245,17 @@
214245
</build>
215246

216247
<profiles>
248+
<profile>
249+
<id>java8-disable-strict-javadoc</id>
250+
<activation>
251+
<jdk>[1.8,)</jdk>
252+
</activation>
253+
<properties>
254+
<doclint>none</doclint>
255+
<quiet>true</quiet>
256+
</properties>
257+
</profile>
258+
217259
<profile>
218260
<id>build-distr</id>
219261
<activation>

0 commit comments

Comments
 (0)