Skip to content
This repository was archived by the owner on Jun 4, 2022. It is now read-only.

Commit 9c3965b

Browse files
authored
Merge pull request #5 from thycotic/release-updates
Version 1.0 released and uploaded to Maven Central
2 parents 232c4f8 + 2220679 commit 9c3965b

File tree

1 file changed

+41
-17
lines changed

1 file changed

+41
-17
lines changed

pom.xml

+41-17
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.thycotic.secrets</groupId>
1414
<artifactId>tss-sdk-java</artifactId>
15-
<version>1.0-SNAPSHOT</version>
15+
<version>1.0</version>
1616
<name>tss-sdk-java</name>
1717
<description>The Thycotic Secret Server Java SDK</description>
1818

@@ -26,14 +26,12 @@
2626

2727
<distributionManagement>
2828
<snapshotRepository>
29-
<id>sonatype-nexus-snapshots</id>
30-
<name>Sonatype Nexus Snapshots</name>
29+
<id>ossrh</id>
3130
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
3231
</snapshotRepository>
3332
<repository>
34-
<id>sonatype-nexus-staging</id>
35-
<name>Nexus Release Repository</name>
36-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
33+
<id>ossrh</id>
34+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
3735
</repository>
3836
</distributionManagement>
3937

@@ -110,35 +108,61 @@
110108

111109
<build>
112110
<plugins>
111+
<plugin>
112+
<groupId>org.sonatype.plugins</groupId>
113+
<artifactId>nexus-staging-maven-plugin</artifactId>
114+
<version>1.6.7</version>
115+
<extensions>true</extensions>
116+
<configuration>
117+
<serverId>ossrh</serverId>
118+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
119+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
120+
</configuration>
121+
</plugin>
113122
<plugin>
114123
<groupId>org.apache.maven.plugins</groupId>
115124
<artifactId>maven-source-plugin</artifactId>
116125
<version>2.2.1</version>
117126
<executions>
118127
<execution>
119-
<id>attach-sources</id>
120-
<goals>
121-
<goal>jar-no-fork</goal>
122-
</goals>
128+
<id>attach-sources</id>
129+
<goals>
130+
<goal>jar-no-fork</goal>
131+
</goals>
123132
</execution>
124133
</executions>
125134
</plugin>
126135
<plugin>
127136
<groupId>org.apache.maven.plugins</groupId>
128137
<artifactId>maven-javadoc-plugin</artifactId>
129138
<version>2.9.1</version>
130-
<configuration>
131-
<source>8</source>
132-
</configuration>
133139
<executions>
134140
<execution>
135-
<id>attach-javadocs</id>
136-
<goals>
137-
<goal>jar</goal>
138-
</goals>
141+
<id>attach-javadocs</id>
142+
<goals>
143+
<goal>jar</goal>
144+
</goals>
139145
</execution>
140146
</executions>
141147
</plugin>
148+
<plugin>
149+
<groupId>org.apache.maven.plugins</groupId>
150+
<artifactId>maven-gpg-plugin</artifactId>
151+
<version>1.5</version>
152+
<executions>
153+
<execution>
154+
<id>sign-artifacts</id>
155+
<phase>verify</phase>
156+
<goals>
157+
<goal>sign</goal>
158+
</goals>
159+
<configuration>
160+
<keyname>${gpg.keyname}</keyname>
161+
<passphraseServerId>${gpg.keyname}</passphraseServerId>
162+
</configuration>
163+
</execution>
164+
</executions>
165+
</plugin>
142166
<plugin>
143167
<groupId>org.apache.maven.plugins</groupId>
144168
<artifactId>maven-release-plugin</artifactId>

0 commit comments

Comments
 (0)