Skip to content

Commit 8a440ee

Browse files
committed
always generate the javadoc
1 parent 3e1784a commit 8a440ee

File tree

1 file changed

+46
-29
lines changed

1 file changed

+46
-29
lines changed

pom.xml

Lines changed: 46 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
<licenses>
2020
<license>
2121
<name>MIT License</name>
22-
<url>https://github.com/sterlp/spring-persistent-tasks/blob/main/LICENSE</url>
22+
<url>
23+
https://github.com/sterlp/spring-persistent-tasks/blob/main/LICENSE</url>
2324
<distribution>repo</distribution>
2425
</license>
2526
</licenses>
@@ -86,18 +87,60 @@
8687

8788
<reporting>
8889
<plugins>
90+
<!-- PMD Plugin Configuration -->
8991
<plugin>
9092
<groupId>org.apache.maven.plugins</groupId>
9193
<artifactId>maven-pmd-plugin</artifactId>
92-
<version>3.13.0</version>
94+
<version>3.26.0</version> <!-- Use the correct version -->
95+
</plugin>
96+
97+
<!-- Javadoc Plugin Configuration -->
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-javadoc-plugin</artifactId>
101+
<version>3.7.0</version>
102+
</plugin>
103+
104+
<!-- Site Plugin Configuration -->
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-site-plugin</artifactId>
108+
<version>3.21.0</version>
93109
</plugin>
94110
</plugins>
95111
</reporting>
96112

97113
<build>
98114
<pluginManagement>
99115
<plugins>
100-
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-javadoc-plugin</artifactId>
119+
<version>3.7.0</version>
120+
<executions>
121+
<execution>
122+
<id>attach-javadoc</id>
123+
<phase>package</phase>
124+
<goals>
125+
<goal>jar</goal>
126+
</goals>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
<plugin>
131+
<groupId>org.apache.maven.plugins</groupId>
132+
<artifactId>maven-source-plugin</artifactId>
133+
<version>3.3.1</version>
134+
<executions>
135+
<execution>
136+
<id>attach-sources</id>
137+
<phase>package</phase>
138+
<goals>
139+
<goal>jar</goal>
140+
</goals>
141+
</execution>
142+
</executions>
143+
</plugin>
101144
<plugin>
102145
<groupId>org.apache.maven.plugins</groupId>
103146
<artifactId>maven-compiler-plugin</artifactId>
@@ -139,32 +182,6 @@
139182
<id>release</id>
140183
<build>
141184
<plugins>
142-
<plugin>
143-
<groupId>org.apache.maven.plugins</groupId>
144-
<artifactId>maven-javadoc-plugin</artifactId>
145-
<version>3.7.0</version>
146-
<executions>
147-
<execution>
148-
<id>attach-javadocs</id>
149-
<goals>
150-
<goal>jar</goal>
151-
</goals>
152-
</execution>
153-
</executions>
154-
</plugin>
155-
<plugin>
156-
<groupId>org.apache.maven.plugins</groupId>
157-
<artifactId>maven-source-plugin</artifactId>
158-
<version>3.3.1</version>
159-
<executions>
160-
<execution>
161-
<id>attach-sources</id>
162-
<goals>
163-
<goal>jar</goal>
164-
</goals>
165-
</execution>
166-
</executions>
167-
</plugin>
168185
<plugin>
169186
<groupId>org.apache.maven.plugins</groupId>
170187
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)