Skip to content

Commit 1995940

Browse files
committed
README updated. Maven central configurations defined.
1 parent d7d5d8c commit 1995940

File tree

1 file changed

+89
-12
lines changed

1 file changed

+89
-12
lines changed

pom.xml

Lines changed: 89 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,37 @@
66

77
<groupId>io.ipgeolocation</groupId>
88
<artifactId>ipgeolocation</artifactId>
9-
<version>1.0.14</version>
9+
<version>1.0.15</version>
1010

1111
<packaging>jar</packaging>
1212
<name>ipgeolocation-java-sdk</name>
1313
<description>Java SDK to lookup IP location, time zone detail, currency and security information using
1414
ipgeolocation.io API
1515
</description>
16-
17-
<!-- Publishing: Project path -->
1816
<url>https://github.com/IPGeolocation/ip-geolocation-api-java-sdk</url>
1917

18+
<developers>
19+
<developer>
20+
<name>ipgeolocation.io</name>
21+
<email>support@ipgeolocation.io</email>
22+
<url>https://ipgeolocation.io</url>
23+
</developer>
24+
</developers>
25+
26+
<licenses>
27+
<license>
28+
<name>MIT License</name>
29+
<url>https://opensource.org/license/mit/</url>
30+
<distribution>repo</distribution>
31+
</license>
32+
</licenses>
33+
34+
<scm>
35+
<connection>scm:git:git://github.com:IPGeolocation/ip-geolocation-api-java-sdk.git</connection>
36+
<developerConnection>scm:git:ssh://github.com:IPGeolocation/ip-geolocation-api-java-sdk.git</developerConnection>
37+
<url>https://github.com/IPGeolocation/ip-geolocation-api-java-sdk/tree/master</url>
38+
</scm>
39+
2040
<properties>
2141
<java.version>1.8</java.version>
2242
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -30,6 +50,21 @@
3050
</dependency>
3151
</dependencies>
3252

53+
<!-- <distributionManagement>-->
54+
<!-- <repository>-->
55+
<!-- <id>bintray-ipgeolocation-ipgeolocation</id>-->
56+
<!-- <name>ipgeolocation-ipgeolocation</name>-->
57+
<!-- <url>https://api.bintray.com/maven/ipgeolocation/ipgeolocation/io.ipgeolocation/;publish=1</url>-->
58+
<!-- </repository>-->
59+
<!-- </distributionManagement>-->
60+
61+
<distributionManagement>
62+
<snapshotRepository>
63+
<id>ossrh</id>
64+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
65+
</snapshotRepository>
66+
</distributionManagement>
67+
3368
<build>
3469
<pluginManagement>
3570
<plugins>
@@ -49,15 +84,57 @@
4984
<target>8</target>
5085
</configuration>
5186
</plugin>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-source-plugin</artifactId>
90+
<version>2.2.1</version>
91+
<executions>
92+
<execution>
93+
<id>attach-sources</id>
94+
<goals>
95+
<goal>jar-no-fork</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-javadoc-plugin</artifactId>
103+
<version>2.9.1</version>
104+
<executions>
105+
<execution>
106+
<id>attach-javadocs</id>
107+
<goals>
108+
<goal>jar</goal>
109+
</goals>
110+
</execution>
111+
</executions>
112+
</plugin>
113+
<plugin>
114+
<groupId>org.apache.maven.plugins</groupId>
115+
<artifactId>maven-gpg-plugin</artifactId>
116+
<version>1.5</version>
117+
<executions>
118+
<execution>
119+
<id>sign-artifacts</id>
120+
<phase>verify</phase>
121+
<goals>
122+
<goal>sign</goal>
123+
</goals>
124+
</execution>
125+
</executions>
126+
</plugin>
127+
<plugin>
128+
<groupId>org.sonatype.plugins</groupId>
129+
<artifactId>nexus-staging-maven-plugin</artifactId>
130+
<version>1.6.7</version>
131+
<extensions>true</extensions>
132+
<configuration>
133+
<serverId>ossrh</serverId>
134+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
135+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
136+
</configuration>
137+
</plugin>
52138
</plugins>
53139
</build>
54-
55-
<distributionManagement>
56-
<repository>
57-
<id>bintray-ipgeolocation-ipgeolocation</id>
58-
<name>ipgeolocation-ipgeolocation</name>
59-
<url>https://api.bintray.com/maven/ipgeolocation/ipgeolocation/io.ipgeolocation/;publish=1</url>
60-
</repository>
61-
</distributionManagement>
62-
63140
</project>

0 commit comments

Comments
 (0)