|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 4 |
|
3 | 5 | <modelVersion>4.0.0</modelVersion> |
4 | 6 |
|
|
7 | 9 | <version>0.0.1-SNAPSHOT</version> |
8 | 10 | <packaging>pom</packaging> |
9 | 11 |
|
| 12 | + <parent> |
| 13 | + <groupId>org.sonatype.oss</groupId> |
| 14 | + <artifactId>oss-parent</artifactId> |
| 15 | + <version>9</version> |
| 16 | + </parent> |
10 | 17 |
|
11 | | - <profiles> |
12 | | - <!-- GPG Signature on release --> |
13 | | - <profile> |
14 | | - <id>release-sign-artifacts</id> |
15 | | - <activation> |
16 | | - <property> |
17 | | - <name>performRelease</name> |
18 | | - <value>true</value> |
19 | | - </property> |
20 | | - </activation> |
21 | | - <build> |
22 | | - <plugins> |
23 | | - <plugin> |
24 | | - <groupId>org.apache.maven.plugins</groupId> |
25 | | - <artifactId>maven-gpg-plugin</artifactId> |
26 | | - <version>1.6</version> |
27 | | - <executions> |
28 | | - <execution> |
29 | | - <id>sign-artifacts</id> |
30 | | - <phase>verify</phase> |
31 | | - <goals> |
32 | | - <goal>sign</goal> |
33 | | - </goals> |
34 | | - </execution> |
35 | | - </executions> |
36 | | - </plugin> |
37 | | - </plugins> |
38 | | - </build> |
39 | | - </profile> |
40 | | - </profiles> |
41 | | - |
| 18 | + <distributionManagement> |
| 19 | + <snapshotRepository> |
| 20 | + <id>ossrh</id> |
| 21 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 22 | + </snapshotRepository> |
| 23 | + <repository> |
| 24 | + <id>ossrh</id> |
| 25 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 26 | + </repository> |
| 27 | + </distributionManagement> |
42 | 28 | <build> |
43 | 29 | <plugins> |
44 | 30 | <plugin> |
45 | | - <artifactId>maven-deploy-plugin</artifactId> |
46 | | - <version>2.8.2</version> |
| 31 | + <groupId>org.apache.maven.plugins</groupId> |
| 32 | + <artifactId>maven-source-plugin</artifactId> |
| 33 | + <version>2.2.1</version> |
47 | 34 | <executions> |
48 | 35 | <execution> |
49 | | - <id>default-deploy</id> |
50 | | - <phase>deploy</phase> |
| 36 | + <id>attach-sources</id> |
51 | 37 | <goals> |
52 | | - <goal>deploy</goal> |
| 38 | + <goal>jar-no-fork</goal> |
53 | 39 | </goals> |
54 | 40 | </execution> |
55 | 41 | </executions> |
56 | 42 | </plugin> |
57 | 43 | <plugin> |
58 | 44 | <groupId>org.apache.maven.plugins</groupId> |
59 | | - <artifactId>maven-release-plugin</artifactId> |
60 | | - <version>2.5.3</version> |
61 | | - <configuration> |
62 | | - <localCheckout>true</localCheckout> |
63 | | - <pushChanges>false</pushChanges> |
64 | | - <mavenExecutorId>forked-path</mavenExecutorId> |
65 | | - <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> |
66 | | - </configuration> |
67 | | - <dependencies> |
68 | | - <dependency> |
69 | | - <groupId>org.apache.maven.scm</groupId> |
70 | | - <artifactId>maven-scm-provider-gitexe</artifactId> |
71 | | - <version>1.9.5</version> |
72 | | - </dependency> |
73 | | - </dependencies> |
74 | | - </plugin> |
75 | | - <plugin> |
76 | | - <groupId>org.sonatype.plugins</groupId> |
77 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
78 | | - <version>1.6.7</version> |
79 | | - <extensions>true</extensions> |
80 | | - <configuration> |
81 | | - <serverId>ossrh</serverId> |
82 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
83 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
84 | | - </configuration> |
85 | | - </plugin> |
86 | | - |
87 | | - <plugin> |
88 | | - <groupId>org.apache.maven.plugins</groupId> |
89 | | - <artifactId>maven-source-plugin</artifactId> |
90 | | - <version>3.0.1</version> |
| 45 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 46 | + <version>2.9.1</version> |
91 | 47 | <executions> |
92 | 48 | <execution> |
93 | | - <id>attach-sources</id> |
| 49 | + <id>attach-javadocs</id> |
94 | 50 | <goals> |
95 | 51 | <goal>jar</goal> |
96 | 52 | </goals> |
|
99 | 55 | </plugin> |
100 | 56 | <plugin> |
101 | 57 | <groupId>org.apache.maven.plugins</groupId> |
102 | | - <artifactId>maven-source-plugin</artifactId> |
| 58 | + <artifactId>maven-gpg-plugin</artifactId> |
| 59 | + <version>1.6</version> |
103 | 60 | <executions> |
104 | 61 | <execution> |
105 | | - <id>attach-sources</id> |
| 62 | + <id>sign-artifacts</id> |
| 63 | + <phase>verify</phase> |
106 | 64 | <goals> |
107 | | - <goal>jar</goal> |
| 65 | + <goal>sign</goal> |
108 | 66 | </goals> |
| 67 | + <configuration> |
| 68 | + <keyname>${gpg.keyname}</keyname> |
| 69 | + <passphraseServerId>${gpg.keyname}</passphraseServerId> |
| 70 | + </configuration> |
109 | 71 | </execution> |
110 | 72 | </executions> |
111 | 73 | </plugin> |
| 74 | + <plugin> |
| 75 | + <groupId>org.sonatype.plugins</groupId> |
| 76 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 77 | + <version>1.6.7</version> |
| 78 | + <extensions>true</extensions> |
| 79 | + <configuration> |
| 80 | + <serverId>ossrh</serverId> |
| 81 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 82 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 83 | + </configuration> |
| 84 | + </plugin> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-release-plugin</artifactId> |
| 88 | + <version>2.5.3</version> |
| 89 | + <dependencies> |
| 90 | + <dependency> |
| 91 | + <groupId>org.apache.maven.shared</groupId> |
| 92 | + <artifactId>maven-invoker</artifactId> |
| 93 | + <version>2.2</version> |
| 94 | + </dependency> |
| 95 | + </dependencies> |
| 96 | + </plugin> |
112 | 97 | </plugins> |
113 | 98 | </build> |
114 | 99 |
|
|
160 | 145 | </license> |
161 | 146 | </licenses> |
162 | 147 |
|
163 | | - <distributionManagement> |
164 | | - <snapshotRepository> |
165 | | - <id>ossrh</id> |
166 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
167 | | - </snapshotRepository> |
168 | | - <repository> |
169 | | - <id>ossrh</id> |
170 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
171 | | - </repository> |
172 | | - </distributionManagement> |
173 | 148 |
|
174 | 149 | <name>Zulip Java REST API</name> |
175 | 150 | <description>This project aims at providing a thin Java wrapper for the Zulip REST API.</description> |
176 | 151 | <url>https://github.com/taliox/zulip-java-rest</url> |
177 | 152 |
|
178 | | - |
179 | | - <scm> |
180 | | - <connection>scm:git:git://github.com/taliox/zulip-java-rest.git</connection> |
181 | | - <developerConnection>scm:git:git@github.com:taliox/taliox.git</developerConnection> |
182 | | - <url>https://github.com/taliox/zulip-java-rest</url> |
183 | | - <tag>zulip-java-rest-0.0.1</tag> |
184 | | - </scm> |
185 | | - |
186 | 153 | <developers> |
187 | 154 | <developer> |
188 | 155 | <name>raLaaa</name> |
|
0 commit comments