Skip to content

Commit df8ba9a

Browse files
committed
Merge pull request #5 from sli67/master
Fulfill sonatype prerequisites. To sign the artifacts profile 'ossrh' ha...
2 parents f34923d + 1fdca44 commit df8ba9a

File tree

1 file changed

+69
-1
lines changed

1 file changed

+69
-1
lines changed

pom.xml

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<scm>
1919
<connection>scm:git:git://github.com/zalando/java-sproc-wrapper.git</connection>
2020
<developerConnection>scm:git:[email protected]:zalando/java-sproc-wrapper.git</developerConnection>
21-
<url>https://github.com/zalando/java-sproc-wrapper</url>
21+
<url>https://github.com/zalando/java-sproc-wrapper.git</url>
2222
</scm>
2323

2424
<issueManagement>
@@ -33,6 +33,15 @@
3333
</license>
3434
</licenses>
3535

36+
<developers>
37+
<developer>
38+
<name>Jan Mußler</name>
39+
<email>[email protected]</email>
40+
<organization>Zalando</organization>
41+
<organizationUrl>http://tech.zalando.com/</organizationUrl>
42+
</developer>
43+
</developers>
44+
3645
<prerequisites>
3746
<maven>2.2.1</maven>
3847
</prerequisites>
@@ -60,6 +69,34 @@
6069
<artifactId>maven-resources-plugin</artifactId>
6170
<version>2.4.3</version>
6271
</plugin>
72+
<plugin>
73+
<groupId>org.apache.maven.plugins</groupId>
74+
<artifactId>maven-source-plugin</artifactId>
75+
<version>2.4</version>
76+
<executions>
77+
<execution>
78+
<id>attach-sources</id>
79+
<phase>verify</phase>
80+
<goals>
81+
<goal>jar-no-fork</goal>
82+
</goals>
83+
</execution>
84+
</executions>
85+
</plugin>
86+
<plugin>
87+
<groupId>org.apache.maven.plugins</groupId>
88+
<artifactId>maven-javadoc-plugin</artifactId>
89+
<version>2.10.1</version>
90+
<executions>
91+
<execution>
92+
<id>attach-javadoc</id>
93+
<phase>verify</phase>
94+
<goals>
95+
<goal>jar</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
63100
</plugins>
64101
</build>
65102
<dependencies>
@@ -312,5 +349,36 @@
312349
</plugins>
313350
</build>
314351
</profile>
352+
<profile>
353+
<id>ossrh</id>
354+
<build>
355+
<plugins>
356+
<plugin>
357+
<groupId>org.apache.maven.plugins</groupId>
358+
<artifactId>maven-gpg-plugin</artifactId>
359+
<version>1.5</version>
360+
<executions>
361+
<execution>
362+
<id>sign-artifacts</id>
363+
<phase>verify</phase>
364+
<goals>
365+
<goal>sign</goal>
366+
</goals>
367+
</execution>
368+
</executions>
369+
</plugin>
370+
</plugins>
371+
</build>
372+
</profile>
315373
</profiles>
374+
<distributionManagement>
375+
<snapshotRepository>
376+
<id>ossrh</id>
377+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
378+
</snapshotRepository>
379+
<repository>
380+
<id>ossrh</id>
381+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
382+
</repository>
383+
</distributionManagement>
316384
</project>

0 commit comments

Comments
 (0)