Skip to content

Commit 0a430b4

Browse files
committed
make javadocs great again
1 parent 930871a commit 0a430b4

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

modules/swagger-parser-v2/dependency-reduced-pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@
3434
</relocation>
3535
</relocations>
3636
<createSourcesJar>true</createSourcesJar>
37+
<shadeSourcesContent>true</shadeSourcesContent>
38+
</configuration>
39+
</execution>
40+
</executions>
41+
</plugin>
42+
<plugin>
43+
<artifactId>maven-javadoc-plugin</artifactId>
44+
<version>3.0.0-M1</version>
45+
<executions>
46+
<execution>
47+
<id>javadoc-jar</id>
48+
<phase>package</phase>
49+
<goals>
50+
<goal>jar</goal>
51+
</goals>
52+
<configuration>
53+
<includeDependencySources>true</includeDependencySources>
3754
</configuration>
3855
</execution>
3956
</executions>

modules/swagger-parser-v2/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,24 @@
3737
</relocation>
3838
</relocations>
3939
<createSourcesJar>true</createSourcesJar>
40+
<shadeSourcesContent>true</shadeSourcesContent>
41+
</configuration>
42+
</execution>
43+
</executions>
44+
</plugin>
45+
<plugin>
46+
<artifactId>maven-javadoc-plugin</artifactId>
47+
<version>3.0.0-M1</version>
48+
<executions>
49+
<execution>
50+
<id>javadoc-jar</id>
51+
<phase>package</phase>
52+
<goals>
53+
<goal>jar</goal>
54+
</goals>
55+
<configuration>
56+
<!-- switch on dependency-driven aggregation -->
57+
<includeDependencySources>true</includeDependencySources>
4058
</configuration>
4159
</execution>
4260
</executions>

0 commit comments

Comments
 (0)