|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 |
|
4 | | - <parent> |
5 | | - <artifactId>oss-parent</artifactId> |
6 | | - <groupId>org.sonatype.oss</groupId> |
7 | | - <version>7</version> |
8 | | - </parent> |
9 | | - |
10 | 4 | <groupId>com.github.klieber</groupId> |
11 | 5 | <artifactId>phantomjs-maven-plugin</artifactId> |
12 | 6 | <version>0.3-SNAPSHOT</version> |
|
35 | 29 | </developer> |
36 | 30 | </developers> |
37 | 31 |
|
| 32 | + <distributionManagement> |
| 33 | + <snapshotRepository> |
| 34 | + <id>ossrh</id> |
| 35 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 36 | + </snapshotRepository> |
| 37 | + </distributionManagement> |
| 38 | + |
38 | 39 | <scm> |
39 | 40 | <url>https://github.com/klieber/phantomjs-maven-plugin</url> |
40 | 41 | <connection>scm:git:git@github.com:klieber/phantomjs-maven-plugin.git</connection> |
|
160 | 161 | <build> |
161 | 162 | <pluginManagement> |
162 | 163 | <plugins> |
| 164 | + <plugin> |
| 165 | + <groupId>org.apache.maven.plugins</groupId> |
| 166 | + <artifactId>maven-release-plugin</artifactId> |
| 167 | + <version>2.5</version> |
| 168 | + <configuration> |
| 169 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 170 | + <useReleaseProfile>false</useReleaseProfile> |
| 171 | + <releaseProfiles>release</releaseProfiles> |
| 172 | + <goals>deploy</goals> |
| 173 | + </configuration> |
| 174 | + </plugin> |
163 | 175 | <plugin> |
164 | 176 | <groupId>org.apache.maven.plugins</groupId> |
165 | 177 | <artifactId>maven-site-plugin</artifactId> |
|
213 | 225 | </plugins> |
214 | 226 | </pluginManagement> |
215 | 227 | <plugins> |
| 228 | + <plugin> |
| 229 | + <groupId>org.sonatype.plugins</groupId> |
| 230 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 231 | + <version>1.6.1</version> |
| 232 | + <extensions>true</extensions> |
| 233 | + <configuration> |
| 234 | + <serverId>ossrh</serverId> |
| 235 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 236 | + </configuration> |
| 237 | + </plugin> |
216 | 238 | <plugin> |
217 | 239 | <groupId>org.apache.maven.plugins</groupId> |
218 | 240 | <artifactId>maven-plugin-plugin</artifactId> |
|
404 | 426 | </build> |
405 | 427 | </profile> |
406 | 428 | <profile> |
407 | | - <id>release-sign-artifacts</id> |
408 | | - <activation> |
409 | | - <property> |
410 | | - <name>performRelease</name> |
411 | | - <value>true</value> |
412 | | - </property> |
413 | | - </activation> |
| 429 | + <id>release</id> |
414 | 430 | <build> |
415 | 431 | <plugins> |
| 432 | + <plugin> |
| 433 | + <groupId>org.apache.maven.plugins</groupId> |
| 434 | + <artifactId>maven-source-plugin</artifactId> |
| 435 | + <version>2.2.1</version> |
| 436 | + <executions> |
| 437 | + <execution> |
| 438 | + <id>attach-sources</id> |
| 439 | + <goals> |
| 440 | + <goal>jar-no-fork</goal> |
| 441 | + </goals> |
| 442 | + </execution> |
| 443 | + </executions> |
| 444 | + </plugin> |
| 445 | + <plugin> |
| 446 | + <groupId>org.apache.maven.plugins</groupId> |
| 447 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 448 | + <version>2.9.1</version> |
| 449 | + <executions> |
| 450 | + <execution> |
| 451 | + <id>attach-javadocs</id> |
| 452 | + <goals> |
| 453 | + <goal>jar</goal> |
| 454 | + </goals> |
| 455 | + </execution> |
| 456 | + </executions> |
| 457 | + </plugin> |
416 | 458 | <plugin> |
417 | 459 | <groupId>org.apache.maven.plugins</groupId> |
418 | 460 | <artifactId>maven-gpg-plugin</artifactId> |
| 461 | + <version>1.5</version> |
419 | 462 | <executions> |
420 | 463 | <execution> |
421 | 464 | <id>sign-artifacts</id> |
|
0 commit comments