Skip to content

Commit 26d2f58

Browse files
author
Yann Richet
committed
include all necessary mvn plugins
1 parent 4e70306 commit 26d2f58

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

pom.xml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,57 @@
6363
<artifactId>maven-release-plugin</artifactId>
6464
<version>2.4.2</version>
6565
</plugin>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-source-plugin</artifactId>
69+
<version>2.2.1</version>
70+
<executions>
71+
<execution>
72+
<id>attach-sources</id>
73+
<goals>
74+
<goal>jar-no-fork</goal>
75+
</goals>
76+
</execution>
77+
</executions>
78+
</plugin>
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-javadoc-plugin</artifactId>
82+
<version>2.9.1</version>
83+
<executions>
84+
<execution>
85+
<id>attach-javadocs</id>
86+
<goals>
87+
<goal>jar</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-gpg-plugin</artifactId>
95+
<version>1.5</version>
96+
<executions>
97+
<execution>
98+
<id>sign-artifacts</id>
99+
<phase>verify</phase>
100+
<goals>
101+
<goal>sign</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.sonatype.plugins</groupId>
108+
<artifactId>nexus-staging-maven-plugin</artifactId>
109+
<version>1.6.3</version>
110+
<extensions>true</extensions>
111+
<configuration>
112+
<serverId>ossrh</serverId>
113+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
114+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
115+
</configuration>
116+
</plugin>
66117
</plugins>
67118
<finalName>jmathplot</finalName>
68119
</build>
@@ -73,4 +124,15 @@
73124
<url>[email protected]:yannrichet/jmathplot.git</url>
74125
</scm>
75126

127+
<distributionManagement>
128+
<snapshotRepository>
129+
<id>ossrh</id>
130+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
131+
</snapshotRepository>
132+
<repository>
133+
<id>ossrh</id>
134+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
135+
</repository>
136+
</distributionManagement>
137+
76138
</project>

0 commit comments

Comments
 (0)