Skip to content

Commit 820f501

Browse files
committed
maven central deployment related changes
1 parent 60f14f4 commit 820f501

2 files changed

Lines changed: 86 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add the following dependency to your `pom.xml`:
2323

2424
```xml
2525
<dependency>
26-
<groupId>com.appxiom.ax.tuple</groupId>
26+
<groupId>com.appxiom.ax</groupId>
2727
<artifactId>ax-tuple</artifactId>
2828
<version>1.0.6</version>
2929
</dependency>

pom.xml

Lines changed: 85 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,38 @@
77
<groupId>com.appxiom.ax</groupId>
88
<artifactId>ax-tuple</artifactId>
99
<version>1.0.6</version>
10-
10+
<packaging>jar</packaging>
11+
12+
<name>ax-tuple-java</name>
13+
<description>A simple, lightweight, and immutable Tuple implementation for Java projects</description>
14+
<url>https://github.com/basilgregory/ax-tuple-java</url>
15+
16+
<licenses>
17+
<license>
18+
<name>MIT License</name>
19+
<url>https://opensource.org/licenses/MIT</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
24+
<developers>
25+
<developer>
26+
<id>appxiom</id>
27+
<name>Appxiom Team</name>
28+
<url>https://www.appxiom.com</url>
29+
</developer>
30+
</developers>
31+
32+
<scm>
33+
<connection>scm:git:git://github.com/basilgregory/ax-tuple-java.git</connection>
34+
<developerConnection>scm:git:ssh://github.com:basilgregory/ax-tuple-java.git</developerConnection>
35+
<url>https://github.com/basilgregory/ax-tuple-java</url>
36+
</scm>
37+
1138
<distributionManagement>
1239
<repository>
13-
<id>github</id>
14-
<name>GitHub Packages</name>
15-
<url>https://maven.pkg.github.com/basilgregory/ax-tuple-java</url>
40+
<id>central</id>
41+
<url>https://central.sonatype.com/api/v1/publisher</url>
1642
</repository>
1743
</distributionManagement>
1844

@@ -54,6 +80,61 @@
5480
<artifactId>maven-surefire-plugin</artifactId>
5581
<version>3.2.2</version>
5682
</plugin>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-source-plugin</artifactId>
86+
<version>3.3.0</version>
87+
<executions>
88+
<execution>
89+
<id>attach-sources</id>
90+
<goals>
91+
<goal>jar-no-fork</goal>
92+
</goals>
93+
</execution>
94+
</executions>
95+
</plugin>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-javadoc-plugin</artifactId>
99+
<version>3.6.3</version>
100+
<executions>
101+
<execution>
102+
<id>attach-javadocs</id>
103+
<goals>
104+
<goal>jar</goal>
105+
</goals>
106+
</execution>
107+
</executions>
108+
</plugin>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-gpg-plugin</artifactId>
112+
<version>3.1.0</version>
113+
<executions>
114+
<execution>
115+
<id>sign-artifacts</id>
116+
<phase>verify</phase>
117+
<goals>
118+
<goal>sign</goal>
119+
</goals>
120+
<configuration>
121+
<gpgArguments>
122+
<arg>--pinentry-mode</arg>
123+
<arg>loopback</arg>
124+
</gpgArguments>
125+
</configuration>
126+
</execution>
127+
</executions>
128+
</plugin>
129+
<plugin>
130+
<groupId>org.sonatype.central</groupId>
131+
<artifactId>central-publishing-maven-plugin</artifactId>
132+
<version>0.4.0</version>
133+
<extensions>true</extensions>
134+
<configuration>
135+
<publishingServerId>central</publishingServerId>
136+
</configuration>
137+
</plugin>
57138
</plugins>
58139
</build>
59140
</project>

0 commit comments

Comments
 (0)