Skip to content

Commit 779602c

Browse files
committed
Update snapshot version & add source, javadoc & signing plugins.
1 parent 0171d68 commit 779602c

File tree

1 file changed

+46
-9
lines changed

1 file changed

+46
-9
lines changed

pom.xml

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.intuit.graphql</groupId>
88
<artifactId>graphql-filter-java</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>1.0.0-SNAPSHOT</version>
1010

1111
<name>${project.artifactId}</name>
1212
<description>A java library to transform graphql filter into database filter</description>
@@ -47,18 +47,15 @@
4747
<junit.version>4.11</junit.version>
4848
</properties>
4949

50-
<repositories>
51-
<repository>
52-
<id>central</id>
53-
<url>https://repo.maven.apache.org/maven2/</url>
54-
</repository>
55-
</repositories>
56-
5750
<distributionManagement>
5851
<snapshotRepository>
59-
<id>oss-snapshot</id>
52+
<id>ossrh</id>
6053
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
6154
</snapshotRepository>
55+
<repository>
56+
<id>ossrh</id>
57+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
58+
</repository>
6259
</distributionManagement>
6360

6461
<dependencies>
@@ -148,6 +145,46 @@
148145
<target>8</target>
149146
</configuration>
150147
</plugin>
148+
<plugin>
149+
<groupId>org.apache.maven.plugins</groupId>
150+
<artifactId>maven-source-plugin</artifactId>
151+
<version>2.2.1</version>
152+
<executions>
153+
<execution>
154+
<id>attach-sources</id>
155+
<goals>
156+
<goal>jar-no-fork</goal>
157+
</goals>
158+
</execution>
159+
</executions>
160+
</plugin>
161+
<plugin>
162+
<groupId>org.apache.maven.plugins</groupId>
163+
<artifactId>maven-javadoc-plugin</artifactId>
164+
<version>2.9.1</version>
165+
<executions>
166+
<execution>
167+
<id>attach-javadocs</id>
168+
<goals>
169+
<goal>jar</goal>
170+
</goals>
171+
</execution>
172+
</executions>
173+
</plugin>
174+
<plugin>
175+
<groupId>org.apache.maven.plugins</groupId>
176+
<artifactId>maven-gpg-plugin</artifactId>
177+
<version>1.5</version>
178+
<executions>
179+
<execution>
180+
<id>sign-artifacts</id>
181+
<phase>verify</phase>
182+
<goals>
183+
<goal>sign</goal>
184+
</goals>
185+
</execution>
186+
</executions>
187+
</plugin>
151188
</plugins>
152189
</build>
153190
</project>

0 commit comments

Comments
 (0)