Skip to content

Commit 3aa21ff

Browse files
committed
pom.xml: distribution settings
1 parent 67e3dcb commit 3aa21ff

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

pom.xml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
<developerConnection>scm:git:[email protected]:str4d/ed25519-java.git</developerConnection>
2828
<url>https://github.com/str4d/ed25519-java</url>
2929
</scm>
30+
<distributionManagement>
31+
<snapshotRepository>
32+
<id>ossrh</id>
33+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
34+
</snapshotRepository>
35+
</distributionManagement>
3036
<build>
3137
<sourceDirectory>src</sourceDirectory>
3238
<testSourceDirectory>test</testSourceDirectory>
@@ -78,6 +84,57 @@
7884
</instructions>
7985
</configuration>
8086
</plugin>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-source-plugin</artifactId>
90+
<version>2.2.1</version>
91+
<executions>
92+
<execution>
93+
<id>attach-sources</id>
94+
<goals>
95+
<goal>jar-no-fork</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-javadoc-plugin</artifactId>
103+
<version>2.9.1</version>
104+
<executions>
105+
<execution>
106+
<id>attach-javadocs</id>
107+
<goals>
108+
<goal>jar</goal>
109+
</goals>
110+
</execution>
111+
</executions>
112+
</plugin>
113+
<plugin>
114+
<groupId>org.apache.maven.plugins</groupId>
115+
<artifactId>maven-gpg-plugin</artifactId>
116+
<version>1.5</version>
117+
<executions>
118+
<execution>
119+
<id>sign-artifacts</id>
120+
<phase>verify</phase>
121+
<goals>
122+
<goal>sign</goal>
123+
</goals>
124+
</execution>
125+
</executions>
126+
</plugin>
127+
<plugin>
128+
<groupId>org.sonatype.plugins</groupId>
129+
<artifactId>nexus-staging-maven-plugin</artifactId>
130+
<version>1.6.3</version>
131+
<extensions>true</extensions>
132+
<configuration>
133+
<serverId>ossrh</serverId>
134+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
135+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
136+
</configuration>
137+
</plugin>
81138
</plugins>
82139
</build>
83140
<dependencies>

0 commit comments

Comments
 (0)