Skip to content

Commit f04c82b

Browse files
committed
Set to 1.40-SNAPSHOT for first release to Maven
1 parent 02e6ebb commit f04c82b

File tree

1 file changed

+42
-5
lines changed

1 file changed

+42
-5
lines changed

pom.xml

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<artifactId>mapcode</artifactId>
99

1010
<packaging>jar</packaging>
11-
<version>1.40</version>
11+
<version>1.40-SNAPSHOT</version>
1212

1313
<name>Mapcode Java Library</name>
1414
<description>
@@ -25,7 +25,6 @@
2525
<developer>
2626
<id>pieter</id>
2727
<name>Pieter Geelen</name>
28-
<email>pieter.geelen@mapcode.com</email>
2928
<organization>Mapcode</organization>
3029
<roles>
3130
<role>Founder</role>
@@ -35,7 +34,6 @@
3534
<developer>
3635
<id>rijn</id>
3736
<name>Rijn Buve</name>
38-
<email>rijn@buve.nl</email>
3937
<organization>Mapcode</organization>
4038
<roles>
4139
<role>Developer</role>
@@ -45,7 +43,6 @@
4543
<developer>
4644
<id>matthew</id>
4745
<name>Matthew Lowden</name>
48-
<email>matthew.lowden@tomtom.com</email>
4946
<organization>Mapcode</organization>
5047
<roles>
5148
<role>Developer</role>
@@ -74,18 +71,30 @@
7471
<junit.version>4.11</junit.version>
7572
<log4j.version>1.2.17</log4j.version>
7673
<slf4j.version>1.7.2</slf4j.version>
74+
<nexus-staging-maven-plugin.version>1.6.4</nexus-staging-maven-plugin.version>
75+
<maven-source-plugin.version>2.3</maven-source-plugin.version>
76+
<maven-javadoc-plugin.version>2.10</maven-javadoc-plugin.version>
77+
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
7778
</properties>
7879

80+
<distributionManagement>
81+
<snapshotRepository>
82+
<id>ossrh</id>
83+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
84+
</snapshotRepository>
85+
</distributionManagement>
86+
7987
<build>
8088
<plugins>
8189
<plugin>
8290
<groupId>org.apache.maven.plugins</groupId>
8391
<artifactId>maven-source-plugin</artifactId>
92+
<version>${maven-source-plugin.version}</version>
8493
<executions>
8594
<execution>
8695
<id>attach-sources</id>
8796
<goals>
88-
<goal>jar</goal>
97+
<goal>jar-no-fork</goal>
8998
</goals>
9099
</execution>
91100
</executions>
@@ -94,6 +103,7 @@
94103
<plugin>
95104
<groupId>org.apache.maven.plugins</groupId>
96105
<artifactId>maven-javadoc-plugin</artifactId>
106+
<version>${maven-javadoc-plugin.version}</version>
97107
<executions>
98108
<execution>
99109
<id>attach-javadocs</id>
@@ -103,6 +113,33 @@
103113
</execution>
104114
</executions>
105115
</plugin>
116+
117+
<plugin>
118+
<groupId>org.sonatype.plugins</groupId>
119+
<artifactId>nexus-staging-maven-plugin</artifactId>
120+
<version>${nexus-staging-maven-plugin.version}</version>
121+
<extensions>true</extensions>
122+
<configuration>
123+
<serverId>ossrh</serverId>
124+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
125+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
126+
</configuration>
127+
</plugin>
128+
129+
<plugin>
130+
<groupId>org.apache.maven.plugins</groupId>
131+
<artifactId>maven-gpg-plugin</artifactId>
132+
<version>${maven-gpg-plugin.version}</version>
133+
<executions>
134+
<execution>
135+
<id>sign-artifacts</id>
136+
<phase>verify</phase>
137+
<goals>
138+
<goal>sign</goal>
139+
</goals>
140+
</execution>
141+
</executions>
142+
</plugin>
106143
</plugins>
107144
</build>
108145

0 commit comments

Comments
 (0)