|
28 | 28 | <developerConnection>scm:git:git@github.com:dhatim/dropwizard-correlation-id.git</developerConnection> |
29 | 29 | <url>git@github.com:dhatim/dropwizard-correlation-id.git</url> |
30 | 30 | </scm> |
| 31 | + <distributionManagement> |
| 32 | + <snapshotRepository> |
| 33 | + <id>ossrh</id> |
| 34 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 35 | + </snapshotRepository> |
| 36 | + </distributionManagement> |
31 | 37 | <properties> |
32 | 38 | <java.source>1.8</java.source> |
33 | 39 | <maven.compiler.source>1.8</maven.compiler.source> |
34 | 40 | <maven.compiler.target>1.8</maven.compiler.target> |
35 | 41 | <dropwizard.version>2.1.0</dropwizard.version> |
36 | 42 | </properties> |
| 43 | + <repositories> |
| 44 | + <repository> |
| 45 | + <id>sonatype-nexus-snapshots</id> |
| 46 | + <name>Sonatype Nexus Snapshots</name> |
| 47 | + <url>http://oss.sonatype.org/content/repositories/snapshots</url> |
| 48 | + <releases> |
| 49 | + <enabled>false</enabled> |
| 50 | + </releases> |
| 51 | + <snapshots> |
| 52 | + <enabled>true</enabled> |
| 53 | + </snapshots> |
| 54 | + </repository> |
| 55 | + </repositories> |
| 56 | + <profiles> |
| 57 | + <profile> |
| 58 | + <id>release</id> |
| 59 | + <build> |
| 60 | + <plugins> |
| 61 | + <plugin> |
| 62 | + <artifactId>maven-gpg-plugin</artifactId> |
| 63 | + <version>3.0.1</version> |
| 64 | + <executions> |
| 65 | + <execution> |
| 66 | + <id>sign-artifacts</id> |
| 67 | + <phase>verify</phase> |
| 68 | + <goals> |
| 69 | + <goal>sign</goal> |
| 70 | + </goals> |
| 71 | + </execution> |
| 72 | + </executions> |
| 73 | + </plugin> |
| 74 | + <plugin> |
| 75 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 76 | + <version>3.4.0</version> |
| 77 | + <configuration> |
| 78 | + <quiet>true</quiet> |
| 79 | + </configuration> |
| 80 | + <executions> |
| 81 | + <execution> |
| 82 | + <id>attach-javadocs</id> |
| 83 | + <goals> |
| 84 | + <goal>jar</goal> |
| 85 | + </goals> |
| 86 | + </execution> |
| 87 | + </executions> |
| 88 | + </plugin> |
| 89 | + <plugin> |
| 90 | + <artifactId>maven-source-plugin</artifactId> |
| 91 | + <version>3.2.1</version> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <id>attach-sources</id> |
| 95 | + <goals> |
| 96 | + <goal>jar-no-fork</goal> |
| 97 | + </goals> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + </plugin> |
| 101 | + <plugin> |
| 102 | + <groupId>org.sonatype.plugins</groupId> |
| 103 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 104 | + <version>1.6.13</version> |
| 105 | + <extensions>true</extensions> |
| 106 | + <configuration> |
| 107 | + <serverId>ossrh</serverId> |
| 108 | + <nexusUrl>https://oss.sonatype.org</nexusUrl> |
| 109 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 110 | + <stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes> |
| 111 | + </configuration> |
| 112 | + </plugin> |
| 113 | + </plugins> |
| 114 | + </build> |
| 115 | + </profile> |
| 116 | + </profiles> |
37 | 117 | <dependencies> |
38 | 118 | <dependency> |
39 | 119 | <groupId>io.dropwizard</groupId> |
|
0 commit comments