|
38 | 38 | <url>https://github.com/manuelbl/JavaDoesUSB</url> |
39 | 39 | </scm> |
40 | 40 |
|
41 | | - <profiles> |
42 | | - <profile> |
43 | | - <id>release</id> |
44 | | - <activation> |
45 | | - <property> |
46 | | - <name>performRelease</name> |
47 | | - <value>true</value> |
48 | | - </property> |
49 | | - </activation> |
50 | | - <build> |
51 | | - <plugins> |
52 | | - <plugin> |
53 | | - <groupId>org.apache.maven.plugins</groupId> |
54 | | - <artifactId>maven-gpg-plugin</artifactId> |
55 | | - <version>3.0.1</version> |
56 | | - <executions> |
57 | | - <execution> |
58 | | - <id>sign-artifacts</id> |
59 | | - <phase>verify</phase> |
60 | | - <goals> |
61 | | - <goal>sign</goal> |
62 | | - </goals> |
63 | | - </execution> |
64 | | - </executions> |
65 | | - </plugin> |
66 | | - <plugin> |
67 | | - <groupId>org.apache.maven.plugins</groupId> |
68 | | - <artifactId>maven-javadoc-plugin</artifactId> |
69 | | - <version>3.3.0</version> |
70 | | - <executions> |
71 | | - <execution> |
72 | | - <id>attach-javadocs</id> |
73 | | - <goals> |
74 | | - <goal>jar</goal> |
75 | | - </goals> |
76 | | - </execution> |
77 | | - </executions> |
78 | | - <configuration> |
79 | | - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
80 | | - </configuration> |
81 | | - </plugin> |
82 | | - <plugin> |
83 | | - <groupId>org.apache.maven.plugins</groupId> |
84 | | - <artifactId>maven-source-plugin</artifactId> |
85 | | - <version>3.2.1</version> |
86 | | - <executions> |
87 | | - <execution> |
88 | | - <id>attach-sources</id> |
89 | | - <goals> |
90 | | - <goal>jar-no-fork</goal> |
91 | | - </goals> |
92 | | - </execution> |
93 | | - </executions> |
94 | | - </plugin> |
95 | | - </plugins> |
96 | | - </build> |
97 | | - </profile> |
98 | | - </profiles> |
99 | | - |
100 | 41 | <distributionManagement> |
101 | 42 | <snapshotRepository> |
102 | 43 | <id>ossrh</id> |
|
133 | 74 | <groupId>org.apache.maven.plugins</groupId> |
134 | 75 | <artifactId>maven-javadoc-plugin</artifactId> |
135 | 76 | <version>3.4.1</version> |
| 77 | + <executions> |
| 78 | + <execution> |
| 79 | + <id>attach-javadocs</id> |
| 80 | + <goals> |
| 81 | + <goal>jar</goal> |
| 82 | + </goals> |
| 83 | + </execution> |
| 84 | + </executions> |
136 | 85 | <configuration> |
137 | 86 | <release>19</release> |
138 | 87 | <additionalOptions>--enable-preview</additionalOptions> |
| 88 | + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
139 | 89 | </configuration> |
140 | 90 | </plugin> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-gpg-plugin</artifactId> |
| 94 | + <version>3.0.1</version> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <id>sign-artifacts</id> |
| 98 | + <phase>verify</phase> |
| 99 | + <goals> |
| 100 | + <goal>sign</goal> |
| 101 | + </goals> |
| 102 | + </execution> |
| 103 | + </executions> |
| 104 | + </plugin> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-source-plugin</artifactId> |
| 108 | + <version>3.2.1</version> |
| 109 | + <executions> |
| 110 | + <execution> |
| 111 | + <id>attach-sources</id> |
| 112 | + <goals> |
| 113 | + <goal>jar-no-fork</goal> |
| 114 | + </goals> |
| 115 | + </execution> |
| 116 | + </executions> |
| 117 | + </plugin> |
141 | 118 | </plugins> |
142 | 119 |
|
143 | 120 | <pluginManagement> |
|
0 commit comments