8000 added settings for deployment · anderick/arangodb-java-driver@4b08f9f · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b08f9f

Browse files
author
a-brandt
committed
added settings for deployment
1 parent 39bb5b8 commit 4b08f9f

File tree

1 file changed

+47
-13
lines changed

1 file changed

+47
-13
lines changed

pom.xml

Lines changed: 47 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,31 @@
3333
</developer>
3434
</developers>
3535

36-
<!-- For Deploy -->
3736
<distributionManagement>
37+
<snapshotRepository>
38+
<id>ossrh</id>
39+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
40+
</snapshotRepository>
3841
<repository>
39-
<id>at.orz</id>
40-
<name>tamtam180 Repository</name>
41-
<url>scp://maven.orz.at/virtual/orz/public_html/maven.orz.at/</url>
42+
<id>ossrh</id>
43+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
4244
</repository>
4345
</distributionManagement>
4446

4547
<build>
4648
<plugins>
49+
<plugin>
50+
<groupId>org.sonatype.plugins</groupId>
51+
<artifactId>nexus-staging-maven-plugin</artifactId>
52+
<version>1.6.3</version>
53+
<extensions>true</extensions>
54+
<configuration>
55+
<serverId>ossrh</serverId>
56+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
57+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
58+
</configuration>
59+
</plugin>
60+
4761
<plugin>
4862
<groupId>org.apache.maven.plugins</groupId>
4963
<artifactId>maven-assembly-plugin</artifactId>
@@ -68,6 +82,7 @@
6882
</descriptorRefs>
6983
</configuration>
7084
</plugin>
85+
7186
<plugin>
7287
<groupId>org.apache.maven.plugins</groupId>
7388
<artifactId>maven-compiler-plugin</artifactId>
@@ -100,6 +115,19 @@
100115
</executions>
101116
</plugin>
102117

118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-javadoc-plugin</artifactId>
121+
<version>2.9.1</version>
122+
<executions>
123+
<execution>
124+
<id>attach-javadocs</id>
125+
<goals>
126+
<goal>jar</goal>
127+
</goals>
128+
</execution>
129+
</executions>
130+
</plugin>
103131

104132
<plugin>
105133
<artifactId>maven-surefire-plugin</artifactId>
@@ -120,16 +148,22 @@
120148
</configuration>
121149
</plugin>
122150

123-
</plugins>
151+
<plugin>
152+
<groupId>org.apache.maven.plugins</groupId>
153+
<artifactId>maven-gpg-plugin</artifactId>
154+
<version>1.5</version>
155+
<executions>
156+
<execution>
157+
<id>sign-artifacts</id>
158+
<phase>verify</phase>
159+
<goals>
160+
<goal>sign</goal>
161+
</goals>
162+
</execution>
163+
</executions>
164+
</plugin>
124165

125-
<!-- Deply with SSH -->
126-
<extensions>
127-
<extension>
128-
<groupId>org.apache.maven.wagon</groupId>
129-
<artifactId>wagon-ssh</artifactId>
130-
<version>2.4</version>
131-
</extension>
132-
</extensions>
166+
</plugins>
133167

134168
</build>
135169

0 commit comments

Comments
 (0)
0