|
222 | 222 | </execution>
|
223 | 223 | </executions>
|
224 | 224 | </plugin>
|
225 |
| - <plugin> |
226 |
| - <!-- Pluging to generate release source --> |
227 |
| - <groupId>org.apache.maven.plugins</groupId> |
228 |
| - <artifactId>maven-source-plugin</artifactId> |
229 |
| - <version>3.2.1</version> |
230 |
| - <executions> |
231 |
| - <execution> |
232 |
| - <id>attach-sources</id> |
233 |
| - <goals> |
234 |
| - <goal>jar-no-fork</goal> |
235 |
| - </goals> |
236 |
| - </execution> |
237 |
| - </executions> |
238 |
| - </plugin> |
239 |
| - <plugin> |
240 |
| - <!-- Plugin for creating Javadocs; goal for preparing docs for upload to github: javadoc:aggregate --> |
241 |
| - <groupId>org.apache.maven.plugins</groupId> |
242 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
243 |
| - <version>3.2.0</version> |
244 |
| - <configuration> |
245 |
| - <bottom> |
246 |
| - <![CDATA[Copyright © {inceptionYear}–{currentYear} {organizationName}. Generated from source code published under the Apache License 2.0. For more information, see the <a href="https://www.mediawiki.org/wiki/Wikidata_Toolkit">Wikidata Toolkit homepage</a>]]></bottom> |
247 |
| - <source>8</source> |
248 |
| - </configuration> |
249 |
| - <executions> |
250 |
| - <execution> |
251 |
| - <id>attach-javadocs</id> |
252 |
| - <goals> |
253 |
| - <goal>jar</goal> |
254 |
| - </goals> |
255 |
| - </execution> |
256 |
| - </executions> |
257 |
| - </plugin> |
258 |
| - <plugin> |
259 |
| - <!-- Staging plugin --> |
260 |
| - <groupId>org.sonatype.plugins</groupId> |
261 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
262 |
| - <version>1.6.8</version> |
263 |
| - <extensions>true</extensions> |
264 |
| - <configuration> |
265 |
| - <serverId>ossrh</serverId> |
266 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
267 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
268 |
| - </configuration> |
269 |
| - </plugin> |
270 |
| - <plugin> |
271 |
| - <!-- Signature --> |
272 |
| - <groupId>org.apache.maven.plugins</groupId> |
273 |
| - <artifactId>maven-gpg-plugin</artifactId> |
274 |
| - <version>1.6</version> |
275 |
| - <executions> |
276 |
| - <execution> |
277 |
| - <id>sign-artifacts</id> |
278 |
| - <phase>verify</phase> |
279 |
| - <goals> |
280 |
| - <goal>sign</goal> |
281 |
| - </goals> |
282 |
| - </execution> |
283 |
| - </executions> |
284 |
| - </plugin> |
285 | 225 | <plugin>
|
286 | 226 | <!-- Plugin for uploading Javadocs to github; goal: scm-publish:publish-scm -->
|
287 | 227 | <groupId>org.apache.maven.plugins</groupId>
|
|
298 | 238 | </plugins>
|
299 | 239 | </build>
|
300 | 240 |
|
| 241 | + <profiles> |
| 242 | + <profile> |
| 243 | + <id>deploy</id> |
| 244 | + <activation> |
| 245 | + <property> |
| 246 | + <name>deploy</name> |
| 247 | + </property> |
| 248 | + </activation> |
| 249 | + <build> |
| 250 | + <plugins> |
| 251 | + <plugin> |
| 252 | + <!-- Pluging to generate release source --> |
| 253 | + <groupId>org.apache.maven.plugins</groupId> |
| 254 | + <artifactId>maven-source-plugin</artifactId> |
| 255 | + <version>3.2.1</version> |
| 256 | + <executions> |
| 257 | + <execution> |
| 258 | + <id>attach-sources</id> |
| 259 | + <goals> |
| 260 | + <goal>jar-no-fork</goal> |
| 261 | + </goals> |
| 262 | + </execution> |
| 263 | + </executions> |
| 264 | + </plugin> |
| 265 | + <plugin> |
| 266 | + <!-- Plugin for creating Javadocs; goal for preparing docs for upload to github: javadoc:aggregate --> |
| 267 | + <groupId>org.apache.maven.plugins</groupId> |
| 268 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 269 | + <version>3.2.0</version> |
| 270 | + <configuration> |
| 271 | + <bottom> |
| 272 | + <![CDATA[Copyright © {inceptionYear}–{currentYear} {organizationName}. Generated from source code published under the Apache License 2.0. For more information, see the <a href="https://www.mediawiki.org/wiki/Wikidata_Toolkit">Wikidata Toolkit homepage</a>]]></bottom> |
| 273 | + <source>8</source> |
| 274 | + </configuration> |
| 275 | + <executions> |
| 276 | + <execution> |
| 277 | + <id>attach-javadocs</id> |
| 278 | + <goals> |
| 279 | + <goal>jar</goal> |
| 280 | + </goals> |
| 281 | + </execution> |
| 282 | + </executions> |
| 283 | + </plugin> |
| 284 | + <plugin> |
| 285 | + <!-- Staging plugin --> |
| 286 | + <groupId>org.sonatype.plugins</groupId> |
| 287 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 288 | + <version>1.6.8</version> |
| 289 | + <extensions>true</extensions> |
| 290 | + <configuration> |
| 291 | + <serverId>ossrh</serverId> |
| 292 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 293 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 294 | + </configuration> |
| 295 | + </plugin> |
| 296 | + <plugin> |
| 297 | + <!-- Signature --> |
| 298 | + <groupId>org.apache.maven.plugins</groupId> |
| 299 | + <artifactId>maven-gpg-plugin</artifactId> |
| 300 | + <version>1.6</version> |
| 301 | + <executions> |
| 302 | + <execution> |
| 303 | + <id>sign-artifacts</id> |
| 304 | + <phase>verify</phase> |
| 305 | + <goals> |
| 306 | + <goal>sign</goal> |
| 307 | + </goals> |
| 308 | + </execution> |
| 309 | + </executions> |
| 310 | + </plugin> |
| 311 | + </plugins> |
| 312 | + </build> |
| 313 | + </profile> |
| 314 | + </profiles> |
| 315 | + |
301 | 316 | <scm>
|
302 | 317 | <url>https://github.com/Wikidata/Wikidata-Toolkit.git</url>
|
303 | 318 | <connection>scm:git:https://github.com/Wikidata/Wikidata-Toolkit.git</connection>
|
|
0 commit comments