|
101 | 101 |
|
102 | 102 | <profiles>
|
103 | 103 | <profile>
|
104 |
| - <id>release</id> |
| 104 | + <id>snapshot</id> |
105 | 105 | <build>
|
106 | 106 | <plugins>
|
107 | 107 | <!-- Source -->
|
|
129 | 129 | <charset>UTF-8</charset>
|
130 | 130 | <encoding>UTF-8</encoding>
|
131 | 131 | <docencoding>UTF-8</docencoding>
|
132 |
| - <additionalparam>-Xdoclint:none</additionalparam> |
| 132 | + <doclint>none</doclint> |
133 | 133 | <detectJavaApiLink>false</detectJavaApiLink>
|
134 | 134 | </configuration>
|
135 | 135 | <executions>
|
|
182 | 182 | https://oss.sonatype.org/content/repositories/snapshots/
|
183 | 183 | </url>
|
184 | 184 | </snapshotRepository>
|
| 185 | + </distributionManagement> |
| 186 | + </profile> |
| 187 | + <profile> |
| 188 | + <id>release</id> |
| 189 | + <build> |
| 190 | + <plugins> |
| 191 | + <!-- Source --> |
| 192 | + <plugin> |
| 193 | + <groupId>org.apache.maven.plugins</groupId> |
| 194 | + <artifactId>maven-source-plugin</artifactId> |
| 195 | + <version>2.2.1</version> |
| 196 | + <executions> |
| 197 | + <execution> |
| 198 | + <phase>package</phase> |
| 199 | + <goals> |
| 200 | + <goal>jar-no-fork</goal> |
| 201 | + </goals> |
| 202 | + </execution> |
| 203 | + </executions> |
| 204 | + </plugin> |
| 205 | + <!-- Javadoc --> |
| 206 | + <plugin> |
| 207 | + <groupId>org.apache.maven.plugins</groupId> |
| 208 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 209 | + <version>3.3.2</version> |
| 210 | + <configuration> |
| 211 | + <show>private</show> |
| 212 | + <nohelp>true</nohelp> |
| 213 | + <charset>UTF-8</charset> |
| 214 | + <encoding>UTF-8</encoding> |
| 215 | + <docencoding>UTF-8</docencoding> |
| 216 | + <doclint>none</doclint> |
| 217 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 218 | + </configuration> |
| 219 | + <executions> |
| 220 | + <execution> |
| 221 | + <phase>package</phase> |
| 222 | + <goals> |
| 223 | + <goal>jar</goal> |
| 224 | + </goals> |
| 225 | + </execution> |
| 226 | + </executions> |
| 227 | + </plugin> |
| 228 | + <!-- GPG --> |
| 229 | + <plugin> |
| 230 | + <groupId>org.apache.maven.plugins</groupId> |
| 231 | + <artifactId>maven-gpg-plugin</artifactId> |
| 232 | + <version>3.0.1</version> |
| 233 | + <executions> |
| 234 | + <execution> |
| 235 | + <id>sign-artifacts</id> |
| 236 | + <phase>verify</phase> |
| 237 | + <goals> |
| 238 | + <goal>sign</goal> |
| 239 | + </goals> |
| 240 | + </execution> |
| 241 | + </executions> |
| 242 | + <configuration> |
| 243 | + <gpgArguments> |
| 244 | + <arg>--pinentry-mode</arg> |
| 245 | + <arg>loopback</arg> |
| 246 | + </gpgArguments> |
| 247 | + </configuration> |
| 248 | + </plugin> |
| 249 | + <plugin> |
| 250 | + <groupId>org.sonatype.plugins</groupId> |
| 251 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 252 | + <version>1.6.13</version> |
| 253 | + <extensions>true</extensions> |
| 254 | + <configuration> |
| 255 | + <serverId>sonatype</serverId> |
| 256 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 257 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 258 | + </configuration> |
| 259 | + </plugin> |
| 260 | + </plugins> |
| 261 | + </build> |
| 262 | + <distributionManagement> |
185 | 263 | <repository>
|
186 | 264 | <id>sonatype</id>
|
187 | 265 | <url>
|
|
0 commit comments