|
12 | 12 |
|
13 | 13 | <name>zebra4j</name> |
14 | 14 | <url>https://github.com/murfffi/zebra4j</url> |
| 15 | + <description>zebra4j is a generator and solver library for Zebra puzzles, also knows as "logic grid puzzles".</description> |
15 | 16 | <organization> |
16 | 17 | <name>Marin Nozhchev</name> |
17 | 18 | <url>https://github.com/murfffi</url> |
18 | 19 | </organization> |
19 | 20 | <inceptionYear>2020</inceptionYear> |
20 | 21 |
|
| 22 | + <developers> |
| 23 | + <developer> |
| 24 | + <id>murfffi</id> |
| 25 | + <email>murfffi@gmail.com</email> |
| 26 | + <name>Marin Nozhchev</name> |
| 27 | + <timezone>2</timezone> |
| 28 | + <organizationUrl>https://github.com/murfffi</organizationUrl> |
| 29 | + </developer> |
| 30 | + </developers> |
| 31 | + |
| 32 | + <issueManagement> |
| 33 | + <system>GitHub Issues</system> |
| 34 | + <url>https://github.com/murfffi/zebra4j/issues</url> |
| 35 | + </issueManagement> |
| 36 | + |
| 37 | + <licenses> |
| 38 | + <license> |
| 39 | + <name>GNU Affero General Public License, Version 3</name> |
| 40 | + <distribution>repo</distribution> |
| 41 | + <url>https://www.gnu.org/licenses/agpl-3.0.en.html</url> |
| 42 | + </license> |
| 43 | + </licenses> |
| 44 | + |
21 | 45 | <properties> |
22 | 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | | - <maven.compiler.source>1.8</maven.compiler.source> |
24 | | - <maven.compiler.target>1.8</maven.compiler.target> |
25 | 47 | <exec.mainClass>zebra4j.Cli</exec.mainClass> |
| 48 | + <lombok.version>1.18.18</lombok.version> |
| 49 | + <delombok.output>${project.build.directory}/generated-sources/delombok</delombok.output> |
26 | 50 | </properties> |
27 | 51 |
|
28 | 52 | <dependencies> |
|
50 | 74 | <dependency> |
51 | 75 | <groupId>org.projectlombok</groupId> |
52 | 76 | <artifactId>lombok</artifactId> |
53 | | - <version>1.18.18</version> |
| 77 | + <version>${lombok.version}</version> |
54 | 78 | <scope>provided</scope> |
55 | 79 | </dependency> |
56 | 80 | <dependency> |
|
91 | 115 | <artifactId>maven-resources-plugin</artifactId> |
92 | 116 | <version>3.2.0</version> |
93 | 117 | </plugin> |
94 | | - <plugin> |
95 | | - <artifactId>maven-compiler-plugin</artifactId> |
96 | | - <version>3.8.1</version> |
97 | | - </plugin> |
98 | 118 | <plugin> |
99 | 119 | <artifactId>maven-surefire-plugin</artifactId> |
100 | 120 | <version>2.22.2</version> |
|
114 | 134 | </plugins> |
115 | 135 | </pluginManagement> |
116 | 136 | <plugins> |
| 137 | + <plugin> |
| 138 | + <artifactId>maven-compiler-plugin</artifactId> |
| 139 | + <version>3.8.1</version> |
| 140 | + <configuration> |
| 141 | + <release>8</release> |
| 142 | + </configuration> |
| 143 | + </plugin> |
117 | 144 | <plugin> |
118 | 145 | <groupId>org.apache.maven.plugins</groupId> |
119 | 146 | <artifactId>maven-enforcer-plugin</artifactId> |
|
274 | 301 | <executions> |
275 | 302 | <execution> |
276 | 303 | <id>attach-sources</id> |
| 304 | + <goals> |
| 305 | + <goal>jar-no-fork</goal> |
| 306 | + </goals> |
| 307 | + </execution> |
| 308 | + </executions> |
| 309 | + </plugin> |
| 310 | + <plugin> |
| 311 | + <!-- https://stackoverflow.com/a/51947792/1551798 --> |
| 312 | + <groupId>org.projectlombok</groupId> |
| 313 | + <artifactId>lombok-maven-plugin</artifactId> |
| 314 | + <version>${lombok.version}.0</version> |
| 315 | + <configuration> |
| 316 | + <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> |
| 317 | + <outputDirectory>${delombok.output}</outputDirectory> |
| 318 | + <addOutputDirectory>false</addOutputDirectory> |
| 319 | + </configuration> |
| 320 | + <executions> |
| 321 | + <execution> |
| 322 | + <phase>generate-sources</phase> |
| 323 | + <goals> |
| 324 | + <goal>delombok</goal> |
| 325 | + </goals> |
| 326 | + </execution> |
| 327 | + </executions> |
| 328 | + </plugin> |
| 329 | + <plugin> |
| 330 | + <groupId>org.apache.maven.plugins</groupId> |
| 331 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 332 | + <version>3.2.0</version> |
| 333 | + <executions> |
| 334 | + <execution> |
| 335 | + <id>attach-javadocs</id> |
277 | 336 | <goals> |
278 | 337 | <goal>jar</goal> |
279 | 338 | </goals> |
280 | 339 | </execution> |
281 | 340 | </executions> |
| 341 | + <configuration> |
| 342 | + <sourcepath>${delombok.output}</sourcepath> |
| 343 | + <source>8</source> |
| 344 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 345 | + <doclint>all,-missing</doclint> |
| 346 | + </configuration> |
| 347 | + </plugin> |
| 348 | + <plugin> |
| 349 | + <groupId>org.apache.maven.plugins</groupId> |
| 350 | + <artifactId>maven-gpg-plugin</artifactId> |
| 351 | + <!-- scoop/brew install gpg --> |
| 352 | + <version>1.6</version> |
| 353 | + <executions> |
| 354 | + <execution> |
| 355 | + <id>sign-artifacts</id> |
| 356 | + <phase>verify</phase> |
| 357 | + <goals> |
| 358 | + <goal>sign</goal> |
| 359 | + </goals> |
| 360 | + </execution> |
| 361 | + </executions> |
282 | 362 | </plugin> |
283 | 363 | <plugin> |
284 | 364 | <groupId>org.revapi</groupId> |
|
342 | 422 | </execution> |
343 | 423 | </executions> |
344 | 424 | </plugin> |
| 425 | + <plugin> |
| 426 | + <groupId>org.sonatype.plugins</groupId> |
| 427 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 428 | + <version>1.6.8</version> |
| 429 | + <extensions>true</extensions> |
| 430 | + <configuration> |
| 431 | + <serverId>ossrh</serverId> |
| 432 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 433 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 434 | + </configuration> |
| 435 | + </plugin> |
345 | 436 | </plugins> |
346 | 437 | </build> |
347 | 438 | </profile> |
|
386 | 477 | <path> |
387 | 478 | <groupId>org.projectlombok</groupId> |
388 | 479 | <artifactId>lombok</artifactId> |
389 | | - <version>1.18.18</version> |
| 480 | + <version>${lombok.version}</version> |
390 | 481 | </path> |
391 | 482 | </annotationProcessorPaths> |
392 | 483 | <compilerArgs> |
|
0 commit comments