Skip to content

Commit 30108f8

Browse files
committed
changed pom
1 parent e8c73ef commit 30108f8

File tree

2 files changed

+162
-2
lines changed

2 files changed

+162
-2
lines changed

pom.xml

Lines changed: 150 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,118 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0"
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
45
<modelVersion>4.0.0</modelVersion>
6+
57
<groupId>io.taliox</groupId>
68
<artifactId>zulip-java-rest</artifactId>
79
<version>0.0.1-SNAPSHOT</version>
10+
<packaging>pom</packaging>
11+
12+
13+
<profiles>
14+
<!-- GPG Signature on release -->
15+
<profile>
16+
<id>release-sign-artifacts</id>
17+
<activation>
18+
<property>
19+
<name>performRelease</name>
20+
<value>true</value>
21+
</property>
22+
</activation>
23+
<build>
24+
<plugins>
25+
<plugin>
26+
<groupId>org.apache.maven.plugins</groupId>
27+
<artifactId>maven-gpg-plugin</artifactId>
28+
<version>1.6</version>
29+
<executions>
30+
<execution>
31+
<id>sign-artifacts</id>
32+
<phase>verify</phase>
33+
<goals>
34+
<goal>sign</goal>
35+
</goals>
36+
</execution>
37+
</executions>
38+
</plugin>
39+
</plugins>
40+
</build>
41+
</profile>
42+
</profiles>
43+
44+
<build>
45+
<plugins>
46+
<plugin>
47+
<artifactId>maven-deploy-plugin</artifactId>
48+
<version>2.8.2</version>
49+
<executions>
50+
<execution>
51+
<id>default-deploy</id>
52+
<phase>deploy</phase>
53+
<goals>
54+
<goal>deploy</goal>
55+
</goals>
56+
</execution>
57+
</executions>
58+
</plugin>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-release-plugin</artifactId>
62+
<version>2.5.3</version>
63+
<configuration>
64+
<localCheckout>true</localCheckout>
65+
<pushChanges>false</pushChanges>
66+
<mavenExecutorId>forked-path</mavenExecutorId>
67+
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
68+
</configuration>
69+
<dependencies>
70+
<dependency>
71+
<groupId>org.apache.maven.scm</groupId>
72+
<artifactId>maven-scm-provider-gitexe</artifactId>
73+
<version>1.9.5</version>
74+
</dependency>
75+
</dependencies>
76+
</plugin>
77+
<plugin>
78+
<groupId>org.sonatype.plugins</groupId>
79+
<artifactId>nexus-staging-maven-plugin</artifactId>
80+
<version>1.6.7</version>
81+
<extensions>true</extensions>
82+
<configuration>
83+
<serverId>ossrh</serverId>
84+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
85+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
86+
</configuration>
87+
</plugin>
88+
89+
<plugin>
90+
<groupId>org.apache.maven.plugins</groupId>
91+
<artifactId>maven-source-plugin</artifactId>
92+
<version>3.0.1</version>
93+
<executions>
94+
<execution>
95+
<id>attach-sources</id>
96+
<goals>
97+
<goal>jar</goal>
98+
</goals>
99+
</execution>
100+
</executions>
101+
</plugin>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-source-plugin</artifactId>
105+
<executions>
106+
<execution>
107+
<id>attach-sources</id>
108+
<goals>
109+
<goal>jar</goal>
110+
</goals>
111+
</execution>
112+
</executions>
113+
</plugin>
114+
</plugins>
115+
</build>
8116

9117
<dependencies>
10118
<dependency>
@@ -27,7 +135,6 @@
27135
<artifactId>activation</artifactId>
28136
<version>1.1</version>
29137
</dependency>
30-
31138
</dependencies>
32139

33140
<properties>
@@ -39,9 +146,50 @@
39146

40147
<organization>
41148
<name>taliox</name>
42-
<url>taliox.io</url>
149+
<url>https:taliox.io</url>
43150
</organization>
151+
152+
<issueManagement>
153+
<system>GitHub</system>
154+
<url>https://github.com/taliox/zulip-java-rest/issues</url>
155+
</issueManagement>
156+
157+
<licenses>
158+
<license>
159+
<name>MIT License</name>
160+
<url>https://github.com/taliox/zulip-java-rest/blob/master/LICENSE</url>
161+
<distribution>repo</distribution>
162+
</license>
163+
</licenses>
164+
165+
<distributionManagement>
166+
<snapshotRepository>
167+
<id>ossrh</id>
168+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
169+
</snapshotRepository>
170+
<repository>
171+
<id>ossrh</id>
172+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
173+
</repository>
174+
</distributionManagement>
175+
44176
<name>Zulip Java REST API</name>
45177
<description>This project aims at providing a thin Java wrapper for the Zulip REST API.</description>
46178
<url>https://github.com/taliox/zulip-java-rest</url>
179+
180+
<scm>
181+
<url>https://github.com/taliox/zulip-java-rest</url>
182+
<connection>
183+
scm:git:git://github.com/taliox/zulip-java-rest.git
184+
</connection>
185+
<developerConnection>
186+
scm:git:ssh://git@github.com:taliox/zulip-java-rest.git
187+
</developerConnection>
188+
</scm>
189+
<developers>
190+
<developer>
191+
<name>raLaaa</name>
192+
</developer>
193+
</developers>
194+
47195
</project>

release.properties

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#release configuration
2+
#Thu Apr 25 22:16:04 CEST 2019
3+
scm.tagNameFormat=@{project.artifactId}-@{project.version}
4+
pushChanges=false
5+
scm.url=scm\:git\:ssh\://git@github.com\:taliox/zulip-java-rest.git
6+
preparationGoals=clean verify
7+
remoteTagging=true
8+
projectVersionPolicyId=default
9+
scm.commentPrefix=[maven-release-plugin]
10+
exec.additionalArguments=-Dgpg.passphrase\=taliox.io\!
11+
exec.snapshotReleasePluginAllowed=false
12+
completedPhase=check-poms

0 commit comments

Comments
 (0)