Skip to content

Commit 457e967

Browse files
committed
Added metadata and sonatype deploy hooks to pom.xml
1 parent 949cf76 commit 457e967

1 file changed

Lines changed: 67 additions & 0 deletions

File tree

pom.xml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,51 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7+
<parent>
8+
<groupId>org.sonatype.oss</groupId>
9+
<artifactId>oss-parent</artifactId>
10+
<version>7</version>
11+
</parent>
12+
713
<groupId>org.skyscreamer</groupId>
814
<artifactId>jsonassert</artifactId>
915
<version>0.9.0-SNAPSHOT</version>
16+
<packaging>jar</packaging>
1017

1118
<name>JSONassert</name>
1219
<description>A library to develop RESTful but flexible APIs</description>
1320
<url>http://github.com/skyscreamer/yoga</url>
1421

22+
<licenses>
23+
<license>
24+
<name>The Apache Software License, Version 2.0</name>
25+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
26+
<distribution>repo</distribution>
27+
</license>
28+
</licenses>
29+
<scm>
30+
<connection>scm:git:git@github.com:skyscreamer/JSONassert.git</connection>
31+
<developerConnection>scm:git:git@github.com:skyscreamer/JSONassert.git</developerConnection>
32+
<url>git@github.com:skyscreamer/JSONassert.git</url>
33+
</scm>
34+
<developers>
35+
<developer>
36+
<id>carterpage</id>
37+
<name>Carter Page</name>
38+
<email>carter@skyscreamer.org</email>
39+
</developer>
40+
<developer>
41+
<id>cepage</id>
42+
<name>Corby Page</name>
43+
<email>corby@skyscreamer.org</email>
44+
</developer>
45+
<developer>
46+
<id>sduskis</id>
47+
<name>Solomon Duskis</name>
48+
<email>solomon@skyscreamer.org</email>
49+
</developer>
50+
</developers>
51+
1552
<!-- For JSONAssert -->
1653
<dependencies>
1754
<dependency>
@@ -33,4 +70,34 @@
3370
</dependency>
3471
</dependencies>
3572

73+
<profiles>
74+
<profile>
75+
<id>release-sign-artifacts</id>
76+
<activation>
77+
<property>
78+
<name>performRelease</name>
79+
<value>true</value>
80+
</property>
81+
</activation>
82+
<build>
83+
<plugins>
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-gpg-plugin</artifactId>
87+
<version>1.1</version>
88+
<executions>
89+
<execution>
90+
<id>sign-artifacts</id>
91+
<phase>verify</phase>
92+
<goals>
93+
<goal>sign</goal>
94+
</goals>
95+
</execution>
96+
</executions>
97+
</plugin>
98+
</plugins>
99+
</build>
100+
</profile>
101+
</profiles>
102+
36103
</project>

0 commit comments

Comments
 (0)