Skip to content

Commit 5778c6d

Browse files
authored
Merge pull request #14 from RedisLabs/sonatype
Add deploy on sonatype
2 parents a835a21 + 1104e3e commit 5778c6d

File tree

1 file changed

+116
-97
lines changed

1 file changed

+116
-97
lines changed

pom.xml

Lines changed: 116 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,62 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6+
67
<groupId>com.redislabs</groupId>
78
<artifactId>JRedisGraph</artifactId>
89
<version>1.0.0</version>
10+
911
<name>JRedisGraph</name>
1012
<description>Official client for Redis-Graph</description>
1113
<url>https://oss.redislabs.com/redisgraph</url>
14+
15+
<organization>
16+
<name>RedisLabs</name>
17+
<url>www.redislabs.com</url>
18+
</organization>
19+
<ciManagement>
20+
<system>CircleCI</system>
21+
<url>https://circleci.com/gh/RedisLabs/JRedisGraph</url>
22+
</ciManagement>
23+
<issueManagement>
24+
<url>https://github.com/RedisLabs/JRedisGraph/issues</url>
25+
<system>Github</system>
26+
</issueManagement>
1227
<scm>
1328
<url>https://github.com/RedisLabs/JRedisGraph</url>
1429
<connection>scm:git:git://github.com/RedisLabs/JRedisGraph.git</connection>
1530
<developerConnection>scm:git:[email protected]:RedisLabs/JRedisGraph.git</developerConnection>
1631
</scm>
32+
<developers>
33+
<developer>
34+
<name>Roi Lipman</name>
35+
<organization>Redis Labs, Inc.</organization>
36+
</developer>
37+
<developer>
38+
<name>Guy Korland</name>
39+
<organization>Redis Labs, Inc.</organization>
40+
</developer>
41+
</developers>
1742
<licenses>
1843
<license>
1944
<name>BSD 3 Clause</name>
2045
<url>https://opensource.org/licenses/BSD-3-Clause</url>
2146
<distribution>repo</distribution>
2247
</license>
2348
</licenses>
49+
2450
<dependencies>
51+
<dependency>
52+
<groupId>org.apache.commons</groupId>
53+
<artifactId>commons-pool2</artifactId>
54+
<version>2.0</version>
55+
</dependency>
2556
<dependency>
2657
<groupId>junit</groupId>
2758
<artifactId>junit</artifactId>
2859
<version>4.12</version>
2960
<scope>test</scope>
3061
</dependency>
31-
<dependency>
32-
<groupId>org.apache.commons</groupId>
33-
<artifactId>commons-pool2</artifactId>
34-
<version>2.0</version>
35-
</dependency>
3662
<dependency>
3763
<groupId>com.redislabs</groupId>
3864
<artifactId>jredisearch-jedis</artifactId>
@@ -45,97 +71,90 @@
4571
<maven.test.source>8</maven.test.source>
4672
<maven.test.target>8</maven.test.target>
4773
</properties>
48-
<organization>
49-
<name>RedisLabs</name>
50-
<url>www.redislabs.com</url>
51-
</organization>
52-
<ciManagement>
53-
<system>CircleCI</system>
54-
<url>https://circleci.com/gh/RedisLabs/JRedisGraph</url>
55-
</ciManagement>
56-
<issueManagement>
57-
<url>https://github.com/RedisLabs/JRedisGraph/issues</url>
58-
<system>Github</system>
59-
</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>
12174

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>
75+
<distributionManagement>
76+
<snapshotRepository>
77+
<id>ossrh</id>
78+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
79+
</snapshotRepository>
80+
<repository>
81+
<id>ossrh</id>
82+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
83+
</repository>
84+
</distributionManagement>
85+
<build>
86+
<plugins>
87+
<plugin>
88+
<artifactId>maven-compiler-plugin</artifactId>
89+
<version>3.0</version>
90+
<configuration>
91+
<source>1.8</source>
92+
<target>1.8</target>
93+
</configuration>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.sonatype.plugins</groupId>
97+
<artifactId>nexus-staging-maven-plugin</artifactId>
98+
<version>1.6.7</version>
99+
<extensions>true</extensions>
100+
<configuration>
101+
<serverId>ossrh</serverId>
102+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
103+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
104+
</configuration>
105+
</plugin>
106+
</plugins>
107+
</build>
108+
<profiles>
109+
<profile>
110+
<id>release</id>
111+
<build>
112+
<plugins>
113+
<!--Include sources and docs -->
114+
<plugin>
115+
<groupId>org.apache.maven.plugins</groupId>
116+
<artifactId>maven-source-plugin</artifactId>
117+
<version>2.2.1</version>
118+
<executions>
119+
<execution>
120+
<id>attach-sources</id>
121+
<goals>
122+
<goal>jar-no-fork</goal>
123+
</goals>
124+
</execution>
125+
</executions>
126+
</plugin>
127+
<plugin>
128+
<groupId>org.apache.maven.plugins</groupId>
129+
<artifactId>maven-javadoc-plugin</artifactId>
130+
<version>2.9.1</version>
131+
<executions>
132+
<execution>
133+
<id>attach-javadocs</id>
134+
<goals>
135+
<goal>jar</goal>
136+
</goals>
137+
</execution>
138+
</executions>
139+
</plugin>
140+
141+
<!--Sign the components - this is required by maven central for releases -->
142+
<plugin>
143+
<groupId>org.apache.maven.plugins</groupId>
144+
<artifactId>maven-gpg-plugin</artifactId>
145+
<version>1.5</version>
146+
<executions>
147+
<execution>
148+
<id>sign-artifacts</id>
149+
<phase>verify</phase>
150+
<goals>
151+
<goal>sign</goal>
152+
</goals>
153+
</execution>
154+
</executions>
155+
</plugin>
156+
</plugins>
157+
</build>
158+
</profile>
159+
</profiles>
141160
</project>

0 commit comments

Comments
 (0)