|
193 | 193 | </dependency> |
194 | 194 | </dependencies> |
195 | 195 | </plugin> |
196 | | - |
197 | 196 | <plugin> |
198 | 197 | <groupId>org.apache.maven.plugins</groupId> |
199 | 198 | <artifactId>maven-compiler-plugin</artifactId> |
|
205 | 204 | <annotationProcessorPathsUseDepMgmt>true</annotationProcessorPathsUseDepMgmt> |
206 | 205 | </configuration> |
207 | 206 | </plugin> |
208 | | - |
209 | | - <plugin> |
210 | | - <groupId>org.apache.maven.plugins</groupId> |
211 | | - <artifactId>maven-javadoc-plugin</artifactId> |
212 | | - <version>${maven-javadoc-plugin.version}</version> |
213 | | - <configuration> |
214 | | - <doclint>all</doclint> |
215 | | - <source>11</source> |
216 | | - <release>${maven.compiler.release}</release> |
217 | | - <sourceFileExcludes> |
218 | | - <sourceFileExclude>**/internal/**</sourceFileExclude> |
219 | | - </sourceFileExcludes> |
220 | | - </configuration> |
221 | | - <executions> |
222 | | - <execution> |
223 | | - <id>attach-javadocs</id> |
224 | | - <goals> |
225 | | - <goal>jar</goal> |
226 | | - </goals> |
227 | | - </execution> |
228 | | - </executions> |
229 | | - </plugin> |
230 | | - |
231 | 207 | </plugins> |
232 | | - |
233 | 208 | </pluginManagement> |
234 | 209 | </build> |
235 | 210 |
|
| 211 | + <profiles> |
| 212 | + <profile> |
| 213 | + <id>release</id> |
| 214 | + <build> |
| 215 | + <pluginManagement> |
| 216 | + <plugins> |
| 217 | + <plugin> |
| 218 | + <groupId>org.apache.maven.plugins</groupId> |
| 219 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 220 | + <version>${maven-javadoc-plugin.version}</version> |
| 221 | + <configuration> |
| 222 | + <doclint>all</doclint> |
| 223 | + <source>11</source> |
| 224 | + <release>${maven.compiler.release}</release> |
| 225 | + <sourceFileExcludes> |
| 226 | + <sourceFileExclude>**/internal/**</sourceFileExclude> |
| 227 | + </sourceFileExcludes> |
| 228 | + </configuration> |
| 229 | + <executions> |
| 230 | + <execution> |
| 231 | + <id>attach-javadocs</id> |
| 232 | + <goals> |
| 233 | + <goal>jar</goal> |
| 234 | + </goals> |
| 235 | + </execution> |
| 236 | + </executions> |
| 237 | + </plugin> |
| 238 | + </plugins> |
| 239 | + </pluginManagement> |
| 240 | + <plugins> |
| 241 | + <plugin> |
| 242 | + <groupId>org.apache.maven.plugins</groupId> |
| 243 | + <artifactId>maven-gpg-plugin</artifactId> |
| 244 | + <version>3.2.7</version> |
| 245 | + <executions> |
| 246 | + <execution> |
| 247 | + <id>sign-artifacts</id> |
| 248 | + <goals> |
| 249 | + <goal>sign</goal> |
| 250 | + </goals> |
| 251 | + <phase>verify</phase> |
| 252 | + </execution> |
| 253 | + </executions> |
| 254 | + </plugin> |
| 255 | + <plugin> |
| 256 | + <groupId>org.apache.maven.plugins</groupId> |
| 257 | + <artifactId>maven-source-plugin</artifactId> |
| 258 | + <version>3.3.1</version> |
| 259 | + <executions> |
| 260 | + <execution> |
| 261 | + <id>attach-sources</id> |
| 262 | + <goals> |
| 263 | + <goal>jar-no-fork</goal> |
| 264 | + </goals> |
| 265 | + </execution> |
| 266 | + </executions> |
| 267 | + </plugin> |
| 268 | + <plugin> |
| 269 | + <groupId>org.sonatype.central</groupId> |
| 270 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 271 | + <version>0.7.0</version> |
| 272 | + <extensions>true</extensions> |
| 273 | + <configuration> |
| 274 | + <publishingServerId>central</publishingServerId> |
| 275 | + <autoPublish>true</autoPublish> |
| 276 | + <waitUntil>published</waitUntil> |
| 277 | + </configuration> |
| 278 | + </plugin> |
| 279 | + </plugins> |
| 280 | + </build> |
| 281 | + </profile> |
| 282 | + </profiles> |
236 | 283 | </project> |
0 commit comments