Skip to content

Commit 8e7eabf

Browse files
author
michele
committed
maven deployment config
1 parent 3a56d58 commit 8e7eabf

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

pom.xml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,79 @@
2929
<version>1.0-SNAPSHOT</version>
3030

3131
<properties>
32+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3233
<java.version>1.8</java.version>
3334
<maven.compiler.source>1.8</maven.compiler.source>
3435
<maven.compiler.target>1.8</maven.compiler.target>
3536
</properties>
3637

38+
<build>
39+
<plugins>
40+
<plugin>
41+
<groupId>org.sonatype.plugins</groupId>
42+
<artifactId>nexus-staging-maven-plugin</artifactId>
43+
<version>1.6.8</version>
44+
<extensions>true</extensions>
45+
<configuration>
46+
<serverId>ossrh</serverId>
47+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
48+
<stagingProfileId>84aff6e87e214c</stagingProfileId>
49+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
50+
</configuration>
51+
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-resources-plugin</artifactId>
55+
<configuration>
56+
<encoding>UTF-8</encoding>
57+
</configuration>
58+
</plugin>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-source-plugin</artifactId>
62+
<executions>
63+
<execution>
64+
<goals>
65+
<goal>jar</goal>
66+
</goals>
67+
</execution>
68+
</executions>
69+
</plugin>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-javadoc-plugin</artifactId>
73+
<executions>
74+
<execution>
75+
<id>attach-javadocs</id>
76+
<goals>
77+
<goal>jar</goal>
78+
</goals>
79+
</execution>
80+
</executions>
81+
</plugin>
82+
<plugin>
83+
<artifactId>maven-deploy-plugin</artifactId>
84+
<configuration>
85+
<uniqueVersion>false</uniqueVersion>
86+
<retryFailedDeploymentCount>10</retryFailedDeploymentCount>
87+
</configuration>
88+
</plugin>
89+
<plugin>
90+
<groupId>org.apache.maven.plugins</groupId>
91+
<artifactId>maven-gpg-plugin</artifactId>
92+
<executions>
93+
<execution>
94+
<id>sign-artifacts</id>
95+
<phase>verify</phase>
96+
<goals>
97+
<goal>sign</goal>
98+
</goals>
99+
</execution>
100+
</executions>
101+
</plugin>
102+
</plugins>
103+
</build>
104+
37105
<dependencies>
38106
<dependency>
39107
<groupId>com.graphql-java</groupId>
@@ -65,4 +133,26 @@
65133
</dependency>
66134
</dependencies>
67135

136+
<distributionManagement>
137+
<snapshotRepository>
138+
<id>ossrh</id>
139+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
140+
</snapshotRepository>
141+
<repository>
142+
<id>ossrh</id>
143+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
144+
</repository>
145+
</distributionManagement>
146+
147+
<scm>
148+
<url>https://github.com/arangodb/arangodb-graphql-java</url>
149+
<connection>scm:git:git://github.com/arangodb/arangodb-graphql-java.git</connection>
150+
<developerConnection>scm:git:git://github.com/arangodb/arangodb-graphql-java.git</developerConnection>
151+
</scm>
152+
153+
<organization>
154+
<name>ArangoDB GmbH</name>
155+
<url>https://www.arangodb.com</url>
156+
</organization>
157+
68158
</project>

0 commit comments

Comments
 (0)