Skip to content

Commit 2f19324

Browse files
committed
remove deprecated oss-parent pom / also deploy snapshots signed, with docs and sources
1 parent 66494a2 commit 2f19324

File tree

1 file changed

+119
-55
lines changed

1 file changed

+119
-55
lines changed

pom.xml

Lines changed: 119 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,65 @@
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">
2-
<modelVersion>4.0.0</modelVersion>
3-
<groupId>com.skadistats</groupId>
4-
<artifactId>clarity</artifactId>
5-
<version>2.1-SNAPSHOT</version>
6-
<packaging>jar</packaging>
7-
<name>clarity</name>
8-
<description>Clarity is a fast, almost complete replay parser for Dota 2.</description>
9-
<url>https://github.com/skadistats/clarity</url>
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.skadistats</groupId>
5+
<artifactId>clarity</artifactId>
6+
<version>2.1-SNAPSHOT</version>
7+
<packaging>jar</packaging>
8+
<name>clarity</name>
9+
<description>Clarity is a fast, almost complete replay parser for Dota 2.</description>
10+
<url>https://github.com/skadistats/clarity</url>
1011

11-
<parent>
12-
<groupId>org.sonatype.oss</groupId>
13-
<artifactId>oss-parent</artifactId>
14-
<version>7</version>
15-
</parent>
12+
<properties>
13+
<maven.compiler.target>1.7</maven.compiler.target>
14+
<maven.compiler.source>1.7</maven.compiler.source>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
</properties>
1617

17-
<properties>
18-
<maven.compiler.target>1.7</maven.compiler.target>
19-
<maven.compiler.source>1.7</maven.compiler.source>
20-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21-
</properties>
18+
<licenses>
19+
<license>
20+
<name>BSD style license</name>
21+
<url>https://github.com/skadistats/clarity/blob/master/LICENSE</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
</licenses>
2225

23-
<licenses>
24-
<license>
25-
<name>BSD style license</name>
26-
<url>https://github.com/skadistats/clarity/blob/master/LICENSE</url>
27-
<distribution>repo</distribution>
28-
</license>
29-
</licenses>
26+
<scm>
27+
<url>https://github.com/skadistats/clarity</url>
28+
<connection>scm:git:git@github.com:skadistats/clarity.git</connection>
29+
<developerConnection>scm:git:git@github.com:skadistats/clarity.git</developerConnection>
30+
</scm>
3031

31-
<scm>
32-
<url>https://github.com/skadistats/clarity</url>
33-
<connection>scm:git:git@github.com:skadistats/clarity.git</connection>
34-
<developerConnection>scm:git:git@github.com:skadistats/clarity.git</developerConnection>
35-
</scm>
32+
<developers>
33+
<developer>
34+
<id>spheenik</id>
35+
<name>Martin Schrodt</name>
36+
<email>clarity@martin.schrodt.org</email>
37+
</developer>
38+
</developers>
3639

37-
<developers>
38-
<developer>
39-
<id>spheenik</id>
40-
<name>Martin Schrodt</name>
41-
<email>clarity@martin.schrodt.org</email>
42-
</developer>
43-
</developers>
40+
<distributionManagement>
41+
<snapshotRepository>
42+
<id>ossrh</id>
43+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
44+
</snapshotRepository>
45+
</distributionManagement>
4446

45-
<dependencies>
46-
<dependency>
47-
<groupId>com.skadistats</groupId>
48-
<artifactId>clarity-protobuf</artifactId>
49-
<version>3-SNAPSHOT</version>
50-
</dependency>
51-
<dependency>
52-
<groupId>org.xerial.snappy</groupId>
53-
<artifactId>snappy-java</artifactId>
54-
<version>1.1.1.6</version>
55-
</dependency>
56-
<dependency>
57-
<groupId>ch.qos.logback</groupId>
58-
<artifactId>logback-classic</artifactId>
59-
<version>1.1.2</version>
60-
</dependency>
47+
<dependencies>
48+
<dependency>
49+
<groupId>com.skadistats</groupId>
50+
<artifactId>clarity-protobuf</artifactId>
51+
<version>3-SNAPSHOT</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.xerial.snappy</groupId>
55+
<artifactId>snappy-java</artifactId>
56+
<version>1.1.1.6</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>ch.qos.logback</groupId>
60+
<artifactId>logback-classic</artifactId>
61+
<version>1.1.2</version>
62+
</dependency>
6163
<dependency>
6264
<groupId>uk.com.robust-it</groupId>
6365
<artifactId>cloning</artifactId>
@@ -68,6 +70,68 @@
6870
<artifactId>classindex</artifactId>
6971
<version>3.3</version>
7072
</dependency>
71-
</dependencies>
73+
</dependencies>
74+
75+
<build>
76+
<plugins>
77+
<plugin>
78+
<artifactId>maven-source-plugin</artifactId>
79+
<version>2.4</version>
80+
<executions>
81+
<execution>
82+
<id>attach-sources</id>
83+
<goals>
84+
<goal>jar-no-fork</goal>
85+
</goals>
86+
</execution>
87+
</executions>
88+
</plugin>
89+
<plugin>
90+
<artifactId>maven-javadoc-plugin</artifactId>
91+
<version>2.10.1</version>
92+
<configuration>
93+
<encoding>UTF-8</encoding>
94+
<docencoding>UTF-8</docencoding>
95+
</configuration>
96+
<executions>
97+
<execution>
98+
<id>attach-javadocs</id>
99+
<goals>
100+
<goal>jar</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<artifactId>maven-gpg-plugin</artifactId>
107+
<version>1.6</version>
108+
<executions>
109+
<execution>
110+
<id>sign-artifacts</id>
111+
<phase>verify</phase>
112+
<goals>
113+
<goal>sign</goal>
114+
</goals>
115+
<configuration>
116+
<keyname>2DAD9425307EC268</keyname>
117+
<passphraseServerId>clarity.gpg</passphraseServerId>
118+
<gpgArguments>--pinentry-mode=loopback</gpgArguments>
119+
</configuration>
120+
</execution>
121+
</executions>
122+
</plugin>
123+
<plugin>
124+
<groupId>org.sonatype.plugins</groupId>
125+
<artifactId>nexus-staging-maven-plugin</artifactId>
126+
<version>1.6.7</version>
127+
<extensions>true</extensions>
128+
<configuration>
129+
<serverId>ossrh</serverId>
130+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
131+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
132+
</configuration>
133+
</plugin>
134+
</plugins>
135+
</build>
72136

73137
</project>

0 commit comments

Comments
 (0)