Skip to content

Commit 72a6fbf

Browse files
authored
Prepare for Maven Central release 0.1.0 (#35)
1 parent 18c4790 commit 72a6fbf

File tree

1 file changed

+107
-2
lines changed

1 file changed

+107
-2
lines changed

pom.xml

Lines changed: 107 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>com.aerospike</groupId>
8-
<artifactId>expression-dsl-java</artifactId>
9-
<version>1.0-SNAPSHOT</version>
8+
<artifactId>aerospike-expression-dsl</artifactId>
9+
<name>aerospike-expression-dsl</name>
10+
<description>Aerospike Expression DSL</description>
11+
<url>https://github.com/aerospike/expression-dsl-java</url>
12+
<packaging>jar</packaging>
13+
<version>0.1.0</version>
1014

1115
<properties>
1216
<maven.compiler.release>17</maven.compiler.release>
@@ -15,6 +19,10 @@
1519

1620
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
1721
<maven-surefire-plugin.version>3.3.0</maven-surefire-plugin.version>
22+
<nexus-staging-maven-plugin.version>1.6.14</nexus-staging-maven-plugin.version>
23+
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
24+
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
25+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
1826

1927
<aerospike-client-jdk8.version>8.1.1</aerospike-client-jdk8.version>
2028
<antlr.version>4.13.1</antlr.version>
@@ -23,6 +31,38 @@
2331
<assertj-core.version>3.4.1</assertj-core.version>
2432
</properties>
2533

34+
<licenses>
35+
<license>
36+
<name>Apache License 2.0</name>
37+
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
38+
</license>
39+
</licenses>
40+
41+
<developers>
42+
<developer>
43+
<url>https://www.aerospike.com</url>
44+
<organization>Aerospike</organization>
45+
</developer>
46+
</developers>
47+
48+
<scm>
49+
<url>https://github.com/aerospike/expression-dsl-java</url>
50+
<connection>scm:git:git://github.com/aerospike/expression-dsl-java.git</connection>
51+
<developerConnection>scm:git:ssh://[email protected]:aerospike/expression-dsl-java.git
52+
</developerConnection>
53+
</scm>
54+
55+
<distributionManagement>
56+
<snapshotRepository>
57+
<id>ossrh</id>
58+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
59+
</snapshotRepository>
60+
<repository>
61+
<id>ossrh</id>
62+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
63+
</repository>
64+
</distributionManagement>
65+
2666
<dependencies>
2767
<dependency>
2868
<groupId>com.aerospike</groupId>
@@ -116,6 +156,71 @@
116156
<skipTests>${skipTests}</skipTests>
117157
</configuration>
118158
</plugin>
159+
160+
<plugin>
161+
<groupId>org.sonatype.plugins</groupId>
162+
<artifactId>nexus-staging-maven-plugin</artifactId>
163+
<version>${nexus-staging-maven-plugin.version}</version>
164+
<extensions>true</extensions>
165+
<configuration>
166+
<serverId>ossrh</serverId>
167+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
168+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
169+
</configuration>
170+
</plugin>
171+
172+
<plugin>
173+
<groupId>org.apache.maven.plugins</groupId>
174+
<artifactId>maven-javadoc-plugin</artifactId>
175+
<version>${maven-javadoc-plugin.version}</version>
176+
<configuration>
177+
<doclint>all,-missing</doclint>
178+
<reportOutputDirectory>${basedir}</reportOutputDirectory>
179+
<doctitle>${project.name}</doctitle>
180+
<show>public</show>
181+
<splitindex>true</splitindex>
182+
<bottom>Copyright © 2024-{currentYear} Aerospike, Inc. All rights reserved.</bottom>
183+
<sourcepath>${project.basedir}/src/main/java;${project.basedir}/target/generated-sources/antlr4</sourcepath>
184+
<source>17</source>
185+
</configuration>
186+
<executions>
187+
<execution>
188+
<id>attach-javadocs</id>
189+
<goals>
190+
<goal>jar</goal>
191+
</goals>
192+
</execution>
193+
</executions>
194+
</plugin>
195+
196+
<plugin>
197+
<groupId>org.apache.maven.plugins</groupId>
198+
<artifactId>maven-source-plugin</artifactId>
199+
<version>${maven-source-plugin.version}</version>
200+
<executions>
201+
<execution>
202+
<id>attach-sources</id>
203+
<goals>
204+
<goal>jar-no-fork</goal>
205+
</goals>
206+
</execution>
207+
</executions>
208+
</plugin>
209+
210+
<plugin>
211+
<groupId>org.apache.maven.plugins</groupId>
212+
<artifactId>maven-gpg-plugin</artifactId>
213+
<version>${maven-gpg-plugin.version}</version>
214+
<executions>
215+
<execution>
216+
<id>sign-artifacts</id>
217+
<phase>verify</phase>
218+
<goals>
219+
<goal>sign</goal>
220+
</goals>
221+
</execution>
222+
</executions>
223+
</plugin>
119224
</plugins>
120225
</build>
121226

0 commit comments

Comments
 (0)