Skip to content

Commit 66ce84b

Browse files
authored
Merge pull request #10 from RedisLabs/deploy-sonatype
Add artifacts deploy to sonatype
2 parents bceb8b6 + 94e2052 commit 66ce84b

File tree

1 file changed

+84
-3
lines changed

1 file changed

+84
-3
lines changed

pom.xml

Lines changed: 84 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.redislabs</groupId>
77
<artifactId>JRedisGraph</artifactId>
8-
<version>2.0.0</version>
8+
<version>1.0.0</version>
99
<name>JRedisGraph</name>
1010
<description>Official client for Redis-Graph</description>
11-
<url>http://redisearch.io</url>
11+
<url>https://oss.redislabs.com/redisgraph</url>
1212
<scm>
1313
<url>https://github.com/RedisLabs/JRedisGraph</url>
1414
<connection>scm:git:git://github.com/RedisLabs/JRedisGraph.git</connection>
@@ -54,7 +54,88 @@
5454
<url>https://circleci.com/gh/RedisLabs/JRedisGraph</url>
5555
</ciManagement>
5656
<issueManagement>
57-
<url>https://github.com/RedisLabs/JRediSearch/issues</url>
57+
<url>https://github.com/RedisLabs/JRedisGraph/issues</url>
5858
<system>Github</system>
5959
</issueManagement>
60+
<distributionManagement>
61+
<snapshotRepository>
62+
<id>ossrh</id>
63+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
64+
</snapshotRepository>
65+
</distributionManagement>
66+
<build>
67+
<plugins>
68+
<plugin>
69+
<artifactId>maven-compiler-plugin</artifactId>
70+
<version>3.0</version>
71+
<configuration>
72+
<source>1.8</source>
73+
<target>1.8</target>
74+
</configuration>
75+
</plugin>
76+
<plugin>
77+
<groupId>org.sonatype.plugins</groupId>
78+
<artifactId>nexus-staging-maven-plugin</artifactId>
79+
<version>1.6.7</version>
80+
<extensions>true</extensions>
81+
<configuration>
82+
<serverId>ossrh</serverId>
83+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
84+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
85+
</configuration>
86+
</plugin>
87+
</plugins>
88+
</build>
89+
<profiles>
90+
<profile>
91+
<id>release</id>
92+
<build>
93+
<plugins>
94+
<!--Include sources and docs-->
95+
<plugin>
96+
<groupId>org.apache.maven.plugins</groupId>
97+
<artifactId>maven-source-plugin</artifactId>
98+
<version>2.2.1</version>
99+
<executions>
100+
<execution>
101+
<id>attach-sources</id>
102+
<goals>
103+
<goal>jar-no-fork</goal>
104+
</goals>
105+
</execution>
106+
</executions>
107+
</plugin>
108+
<plugin>
109+
<groupId>org.apache.maven.plugins</groupId>
110+
<artifactId>maven-javadoc-plugin</artifactId>
111+
<version>2.9.1</version>
112+
<executions>
113+
<execution>
114+
<id>attach-javadocs</id>
115+
<goals>
116+
<goal>jar</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
122+
<!--Sign the components - this is required by maven central for releases-->
123+
<plugin>
124+
<groupId>org.apache.maven.plugins</groupId>
125+
<artifactId>maven-gpg-plugin</artifactId>
126+
<version>1.5</version>
127+
<executions>
128+
<execution>
129+
<id>sign-artifacts</id>
130+
<phase>verify</phase>
131+
<goals>
132+
<goal>sign</goal>
133+
</goals>
134+
</execution>
135+
</executions>
136+
</plugin>
137+
</plugins>
138+
</build>
139+
</profile>
140+
</profiles>
60141
</project>

0 commit comments

Comments
 (0)