Skip to content

Commit 6d214c2

Browse files
author
Dave Syer
committed
Add pom voodoo to enable Maven release
Change-Id: Ib70e132ad23eb16d9b7b3f09e3a3a4b640fe3850
1 parent 890d2d6 commit 6d214c2

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

pom.xml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<groupId>org.cloudfoundry.identity</groupId>
55
<artifactId>cloudfoundry-identity-parent</artifactId>
66
<name>CloudFoundry Identity - Parent</name>
7+
<description>The UAA is the Identity Management Solution for Cloud Foundry</description>
78
<packaging>pom</packaging>
89
<version>1.4.3</version>
910
<url>http://github.com/cloudfoundry/uaa</url>
@@ -57,6 +58,38 @@
5758
</repository>
5859
</repositories>
5960
</profile>
61+
<profile>
62+
<id>central</id>
63+
<distributionManagement>
64+
<snapshotRepository>
65+
<id>sonatype-nexus-snapshots</id>
66+
<name>Sonatype Nexus Snapshots</name>
67+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
68+
</snapshotRepository>
69+
<repository>
70+
<id>sonatype-nexus-staging</id>
71+
<name>Nexus Release Repository</name>
72+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
73+
</repository>
74+
</distributionManagement>
75+
<build>
76+
<plugins>
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-gpg-plugin</artifactId>
80+
<executions>
81+
<execution>
82+
<id>sign-artifacts</id>
83+
<phase>verify</phase>
84+
<goals>
85+
<goal>sign</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
</plugin>
90+
</plugins>
91+
</build>
92+
</profile>
6093
</profiles>
6194
<build>
6295
<plugins>
@@ -119,6 +152,24 @@
119152
</execution>
120153
</executions>
121154
</plugin>
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-javadoc-plugin</artifactId>
158+
<executions>
159+
<execution>
160+
<id>attach-javadocs</id>
161+
<phase>verify</phase>
162+
<goals>
163+
<goal>jar</goal>
164+
</goals>
165+
</execution>
166+
</executions>
167+
<configuration>
168+
<!-- is using JDK 8
169+
<additionalparam>-Xdoclint:none -quiet</additionalparam>
170+
-->
171+
</configuration>
172+
</plugin>
122173
</plugins>
123174
<pluginManagement>
124175
<plugins>

0 commit comments

Comments
 (0)