Skip to content

Commit c928339

Browse files
committed
build: setup maven site aggegation
resolve #36
1 parent 00f0d49 commit c928339

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

Diff for: pom.xml

+30-3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
<name>snapshots</name>
5151
<url>${snapshot.repo.url}</url>
5252
</snapshotRepository>
53+
<site>
54+
<id>${project.artifactId}-site</id>
55+
<url>${project.baseUri}</url>
56+
</site>
5357
</distributionManagement>
5458

5559

@@ -89,7 +93,22 @@
8993
<plugin>
9094
<groupId>org.apache.maven.plugins</groupId>
9195
<artifactId>maven-javadoc-plugin</artifactId>
92-
<version>3.6.3</version> <!-- Use the latest version -->
96+
<version>3.10.1</version>
97+
<reportSets>
98+
<reportSet>
99+
<id>aggregate</id>
100+
<inherited>false</inherited>
101+
<reports>
102+
<report>aggregate</report>
103+
</reports>
104+
</reportSet>
105+
<reportSet>
106+
<id>default</id>
107+
<reports>
108+
<report>javadoc</report>
109+
</reports>
110+
</reportSet>
111+
</reportSets>
93112
</plugin>
94113
</plugins>
95114
</reporting>
@@ -142,9 +161,17 @@
142161
</pluginManagement>
143162

144163
<plugins>
145-
</plugins>
146-
</build>
164+
<plugin>
165+
<groupId>org.apache.maven.plugins</groupId>
166+
<artifactId>maven-site-plugin</artifactId>
167+
<version>4.0.0-M14</version>
168+
<configuration>
169+
<tempWebappDirectory>${project.build.directory}/staging</tempWebappDirectory>
170+
</configuration>
171+
</plugin>
147172

173+
</plugins>
174+
</build>
148175

149176
<profiles>
150177
<profile>

0 commit comments

Comments
 (0)