Skip to content

Commit 0017c3d

Browse files
Jiankai ZhengJiankai Zheng
authored andcommitted
chore(pom): prepare pom for deployment to maven central
1 parent fdbc5bf commit 0017c3d

File tree

1 file changed

+99
-2
lines changed

1 file changed

+99
-2
lines changed

pom.xml

Lines changed: 99 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,106 @@
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-
<groupId>org.example</groupId>
7+
<groupId>nl.jiankai</groupId>
88
<artifactId>spotify-web-api-wrapper</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>1.0.0</version>
10+
11+
<name>Spotify Web API Java Wrapper</name>
12+
<description>A Java Wrapper for Spotify's Web API</description>
13+
<url>https://github.com/jzheng2017/spotify-web-api-wrapper</url>
14+
15+
<developers>
16+
<developer>
17+
<name>Jiankai Zheng</name>
18+
<email>jk.zheng@hotmail.com</email>
19+
<organization>Jiankai Zheng</organization>
20+
<organizationUrl>https://www.jiankai.nl</organizationUrl>
21+
<roles>
22+
<role>Developer</role>
23+
</roles>
24+
<timezone>Europe/Amsterdam</timezone>
25+
</developer>
26+
</developers>
27+
28+
<scm>
29+
<connection>scm:git:git://github.com/jzheng2017/spotify-web-api-wrapper.git</connection>
30+
<developerConnection>scm:git:ssh://github.com:jzheng2017/spotify-web-api-wrapper.git</developerConnection>
31+
<url>https://github.com/jzheng2017/spotify-web-api-wrapper</url>
32+
</scm>
33+
34+
<licenses>
35+
<license>
36+
<name>GPL-3.0 License</name>
37+
<url>https://www.gnu.org/licenses/gpl-3.0.nl.html</url>
38+
<distribution>repo</distribution>
39+
</license>
40+
</licenses>
41+
42+
<distributionManagement>
43+
<snapshotRepository>
44+
<id>ossrh</id>
45+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
46+
</snapshotRepository>
47+
<repository>
48+
<id>ossrh</id>
49+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
50+
</repository>
51+
</distributionManagement>
52+
<build>
53+
<plugins>
54+
<plugin>
55+
<groupId>org.sonatype.plugins</groupId>
56+
<artifactId>nexus-staging-maven-plugin</artifactId>
57+
<version>1.6.8</version>
58+
<extensions>true</extensions>
59+
<configuration>
60+
<serverId>ossrh</serverId>
61+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
62+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
63+
</configuration>
64+
</plugin>
65+
<plugin>
66+
<groupId>org.apache.maven.plugins</groupId>
67+
<artifactId>maven-source-plugin</artifactId>
68+
<version>2.2.1</version>
69+
<executions>
70+
<execution>
71+
<id>attach-sources</id>
72+
<goals>
73+
<goal>jar-no-fork</goal>
74+
</goals>
75+
</execution>
76+
</executions>
77+
</plugin>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-javadoc-plugin</artifactId>
81+
<version>2.9.1</version>
82+
<executions>
83+
<execution>
84+
<id>attach-javadocs</id>
85+
<goals>
86+
<goal>jar</goal>
87+
</goals>
88+
</execution>
89+
</executions>
90+
</plugin>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-gpg-plugin</artifactId>
94+
<version>1.6</version>
95+
<executions>
96+
<execution>
97+
<id>sign-artifacts</id>
98+
<phase>verify</phase>
99+
<goals>
100+
<goal>sign</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
</plugins>
106+
</build>
10107

11108
<dependencies>
12109
<dependency>

0 commit comments

Comments
 (0)