|
74 | 74 | </dependencies>
|
75 | 75 |
|
76 | 76 | <build>
|
| 77 | + <pluginManagement> |
| 78 | + <plugins> |
| 79 | + <plugin> |
| 80 | + <groupId>com.diffplug.spotless</groupId> |
| 81 | + <artifactId>spotless-maven-plugin</artifactId> |
| 82 | + <version>${version.spotless}</version> |
| 83 | + </plugin> |
| 84 | + <plugin> |
| 85 | + <groupId>org.apache.maven.plugins</groupId> |
| 86 | + <artifactId>maven-compiler-plugin</artifactId> |
| 87 | + <version>3.13.0</version> |
| 88 | + </plugin> |
| 89 | + <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-jar-plugin</artifactId> |
| 92 | + <version>3.4.2</version> |
| 93 | + </plugin> |
| 94 | + <plugin> |
| 95 | + <groupId>org.apache.maven.plugins</groupId> |
| 96 | + <artifactId>maven-shade-plugin</artifactId> |
| 97 | + <version>3.6.0</version> |
| 98 | + </plugin> |
| 99 | + <plugin> |
| 100 | + <groupId>org.codehaus.mojo</groupId> |
| 101 | + <artifactId>appassembler-maven-plugin</artifactId> |
| 102 | + <version>2.1.0</version> |
| 103 | + </plugin> |
| 104 | + <plugin> |
| 105 | + <groupId>org.apache.maven.plugins</groupId> |
| 106 | + <artifactId>maven-source-plugin</artifactId> |
| 107 | + <version>3.3.1</version> |
| 108 | + </plugin> |
| 109 | + <plugin> |
| 110 | + <groupId>org.apache.maven.plugins</groupId> |
| 111 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 112 | + <version>3.7.0</version> |
| 113 | + </plugin> |
| 114 | + <plugin> |
| 115 | + <groupId>org.apache.maven.plugins</groupId> |
| 116 | + <artifactId>maven-gpg-plugin</artifactId> |
| 117 | + <version>3.2.4</version> |
| 118 | + </plugin> |
| 119 | + <plugin> |
| 120 | + <groupId>org.jreleaser</groupId> |
| 121 | + <artifactId>jreleaser-maven-plugin</artifactId> |
| 122 | + <version>1.13.1</version> |
| 123 | + <inherited>false</inherited> |
| 124 | + </plugin> |
| 125 | + </plugins> |
| 126 | + </pluginManagement> |
77 | 127 | <plugins>
|
78 | 128 | <plugin>
|
79 | 129 | <groupId>com.diffplug.spotless</groupId>
|
80 | 130 | <artifactId>spotless-maven-plugin</artifactId>
|
81 |
| - <version>${version.spotless}</version> |
82 | 131 | <configuration>
|
83 | 132 | <formats>
|
84 | 133 | <format>
|
|
145 | 194 | <plugin>
|
146 | 195 | <groupId>org.apache.maven.plugins</groupId>
|
147 | 196 | <artifactId>maven-jar-plugin</artifactId>
|
148 |
| - <version>3.4.2</version> |
149 | 197 | <configuration>
|
150 | 198 | <archive>
|
151 | 199 | <manifest>
|
|
157 | 205 | <plugin>
|
158 | 206 | <groupId>org.apache.maven.plugins</groupId>
|
159 | 207 | <artifactId>maven-shade-plugin</artifactId>
|
160 |
| - <version>3.6.0</version> |
161 | 208 | <executions>
|
162 | 209 | <execution>
|
163 | 210 | <id>cli</id>
|
|
204 | 251 | <plugin>
|
205 | 252 | <groupId>org.codehaus.mojo</groupId>
|
206 | 253 | <artifactId>appassembler-maven-plugin</artifactId>
|
207 |
| - <version>2.1.0</version> |
208 | 254 | <configuration>
|
209 | 255 | <assembleDirectory>${project.build.directory}/binary</assembleDirectory>
|
210 | 256 | <repositoryLayout>flat</repositoryLayout>
|
|
226 | 272 | </execution>
|
227 | 273 | </executions>
|
228 | 274 | </plugin>
|
| 275 | + <plugin> |
| 276 | + <groupId>org.jreleaser</groupId> |
| 277 | + <artifactId>jreleaser-maven-plugin</artifactId> |
| 278 | + <inherited>false</inherited> |
| 279 | + <configuration> |
| 280 | + <configFile>${project.basedir}/jreleaser.yml</configFile> |
| 281 | + </configuration> |
| 282 | + </plugin> |
229 | 283 | </plugins>
|
230 | 284 | </build>
|
231 | 285 |
|
232 | 286 | <profiles>
|
233 | 287 | <profile>
|
234 | 288 | <id>release</id>
|
| 289 | + <properties> |
| 290 | + <altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository> |
| 291 | + </properties> |
235 | 292 | <build>
|
| 293 | + <defaultGoal>deploy</defaultGoal> |
236 | 294 | <plugins>
|
237 | 295 | <plugin>
|
238 | 296 | <groupId>org.apache.maven.plugins</groupId>
|
239 | 297 | <artifactId>maven-source-plugin</artifactId>
|
240 |
| - <version>3.3.1</version> |
241 | 298 | <executions>
|
242 | 299 | <execution>
|
243 | 300 | <id>attach-sources</id>
|
244 | 301 | <goals>
|
245 |
| - <goal>jar-no-fork</goal> |
| 302 | + <goal>jar</goal> |
246 | 303 | </goals>
|
| 304 | + <configuration> |
| 305 | + <attach>true</attach> |
| 306 | + </configuration> |
247 | 307 | </execution>
|
248 | 308 | </executions>
|
249 | 309 | </plugin>
|
250 | 310 | <plugin>
|
251 | 311 | <groupId>org.apache.maven.plugins</groupId>
|
252 | 312 | <artifactId>maven-javadoc-plugin</artifactId>
|
253 |
| - <version>3.7.0</version> |
254 | 313 | <executions>
|
255 | 314 | <execution>
|
256 | 315 | <id>attach-javadocs</id>
|
257 | 316 | <goals>
|
258 | 317 | <goal>jar</goal>
|
259 | 318 | </goals>
|
| 319 | + <configuration> |
| 320 | + <attach>true</attach> |
| 321 | + </configuration> |
260 | 322 | </execution>
|
261 | 323 | </executions>
|
262 | 324 | </plugin>
|
263 |
| - <plugin> |
| 325 | + <!--plugin> |
264 | 326 | <groupId>org.apache.maven.plugins</groupId>
|
265 | 327 | <artifactId>maven-gpg-plugin</artifactId>
|
266 |
| - <version>3.2.4</version> |
267 | 328 | <executions>
|
268 | 329 | <execution>
|
269 | 330 | <id>sign-artifacts</id>
|
|
273 | 334 | </goals>
|
274 | 335 | </execution>
|
275 | 336 | </executions>
|
276 |
| - </plugin> |
| 337 | + </plugin--> |
277 | 338 | </plugins>
|
278 | 339 | </build>
|
279 | 340 | </profile>
|
|
0 commit comments