Skip to content

Commit 5324ae5

Browse files
committed
added developer info and updated distribution management
1 parent 9695562 commit 5324ae5

File tree

1 file changed

+69
-8
lines changed

1 file changed

+69
-8
lines changed

pom.xml

100644100755
Lines changed: 69 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>com.esri.geometry</groupId>
55
<artifactId>esri-geometry-api</artifactId>
6-
<version>1.1.2-SNAPSHOT</version>
6+
<version>1.2</version>
77
<packaging>jar</packaging>
88

99
<name>Esri Geometry API for Java</name>
@@ -19,12 +19,69 @@
1919
</license>
2020
</licenses>
2121

22+
<developers>
23+
<developer>
24+
<id>stolstov</id>
25+
<name>Sergey Tolstov</name>
26+
<organization>Esri</organization>
27+
<organizationUrl>http://www.esri.com</organizationUrl>
28+
<roles>
29+
<role>developer</role>
30+
</roles>
31+
</developer>
32+
<developer>
33+
<id>abalog</id>
34+
<name>Aaron Balog</name>
35+
<organization>Esri</organization>
36+
<organizationUrl>http://www.esri.com</organizationUrl>
37+
<roles>
38+
<role>developer</role>
39+
</roles>
40+
</developer>
41+
</developers>
42+
2243
<scm>
2344
<connection>scm:git:[email protected]:Esri/geometry-api-java.git</connection>
2445
<developerConnection>scm:git:[email protected]:Esri/geometry-api-java.git</developerConnection>
2546
<url>[email protected]:Esri/geometry-api-java.git</url>
2647
</scm>
2748

49+
<profiles>
50+
<profile>
51+
<id>release-sign-artifacts</id>
52+
<activation>
53+
<property>
54+
<name>performRelease</name>
55+
<value>true</value>
56+
</property>
57+
</activation>
58+
<build>
59+
<plugins>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-gpg-plugin</artifactId>
63+
<executions>
64+
<execution>
65+
<id>sign-artifacts</id>
66+
<phase>verify</phase>
67+
<goals>
68+
<goal>sign</goal>
69+
</goals>
70+
</execution>
71+
</executions>
72+
</plugin>
73+
</plugins>
74+
</build>
75+
</profile>
76+
</profiles>
77+
78+
<distributionManagement>
79+
<snapshotRepository>
80+
<id>ossrh</id>
81+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
82+
</snapshotRepository>
83+
</distributionManagement>
84+
2885
<properties>
2986
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3087

@@ -42,13 +99,6 @@
4299
<javadoc.plugin.version>2.9</javadoc.plugin.version>
43100
</properties>
44101

45-
<!-- this parent is needed for central repository hosting -->
46-
<parent>
47-
<groupId>org.sonatype.oss</groupId>
48-
<artifactId>oss-parent</artifactId>
49-
<version>7</version>
50-
</parent>
51-
52102
<dependencies>
53103
<dependency>
54104
<groupId>org.json</groupId>
@@ -125,6 +175,17 @@
125175
</execution>
126176
</executions>
127177
</plugin>
178+
<plugin>
179+
<groupId>org.sonatype.plugins</groupId>
180+
<artifactId>nexus-staging-maven-plugin</artifactId>
181+
<version>1.6.2</version>
182+
<extensions>true</extensions>
183+
<configuration>
184+
<serverId>ossrh</serverId>
185+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
186+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
187+
</configuration>
188+
</plugin>
128189
</plugins>
129190
</build>
130191
</project>

0 commit comments

Comments
 (0)