|
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/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion> |
3 | 4 |
|
4 | 5 | <parent> |
|
53 | 54 | <url>https://github.com/dhatim/dropwizard-prometheus/issues</url> |
54 | 55 | </issueManagement> |
55 | 56 |
|
56 | | - <repositories> |
57 | | - <repository> |
58 | | - <id>sonatype-nexus-snapshots</id> |
59 | | - <name>Sonatype Nexus Snapshots</name> |
60 | | - <url>http://oss.sonatype.org/content/repositories/snapshots</url> |
61 | | - <releases> |
62 | | - <enabled>false</enabled> |
63 | | - </releases> |
64 | | - <snapshots> |
65 | | - <enabled>true</enabled> |
66 | | - </snapshots> |
67 | | - </repository> |
68 | | - </repositories> |
69 | | - |
70 | | - <distributionManagement> |
71 | | - <snapshotRepository> |
72 | | - <id>sonatype-nexus-snapshots</id> |
73 | | - <name>Sonatype Nexus Snapshots</name> |
74 | | - <url>http://oss.sonatype.org/content/repositories/snapshots</url> |
75 | | - </snapshotRepository> |
76 | | - <repository> |
77 | | - <id>sonatype-nexus-staging</id> |
78 | | - <name>Nexus Release Repository</name> |
79 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
80 | | - </repository> |
81 | | - </distributionManagement> |
82 | | - |
83 | 57 | <profiles> |
84 | 58 | <profile> |
85 | 59 | <id>release</id> |
86 | 60 | <build> |
87 | 61 | <plugins> |
| 62 | + <plugin> |
| 63 | + <groupId>org.sonatype.plugins</groupId> |
| 64 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 65 | + <extensions>true</extensions> |
| 66 | + <configuration> |
| 67 | + <serverId>ossrh</serverId> |
| 68 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 69 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 70 | + </configuration> |
| 71 | + </plugin> |
| 72 | + <plugin> |
| 73 | + <artifactId>maven-source-plugin</artifactId> |
| 74 | + <executions> |
| 75 | + <execution> |
| 76 | + <id>attach-sources</id> |
| 77 | + <goals> |
| 78 | + <goal>jar-no-fork</goal> |
| 79 | + </goals> |
| 80 | + </execution> |
| 81 | + </executions> |
| 82 | + </plugin> |
88 | 83 | <plugin> |
89 | 84 | <artifactId>maven-gpg-plugin</artifactId> |
90 | 85 | <executions> |
|
0 commit comments