Skip to content

Commit 7feefdc

Browse files
authored
Update pom.xml with new deployment plugins
1 parent a188850 commit 7feefdc

File tree

1 file changed

+76
-4
lines changed

1 file changed

+76
-4
lines changed

pom.xml

+76-4
Original file line numberDiff line numberDiff line change
@@ -55,28 +55,100 @@
5555
<plugin>
5656
<groupId>org.apache.maven.plugins</groupId>
5757
<artifactId>maven-jar-plugin</artifactId>
58-
<version>3.3.0</version>
58+
<version>3.4.2</version>
5959
</plugin>
6060

6161
<plugin>
6262
<groupId>org.apache.maven.plugins</groupId>
6363
<artifactId>maven-source-plugin</artifactId>
64-
<version>3.3.0</version>
64+
<version>3.3.1</version>
6565
<executions>
6666
<execution>
6767
<id>attach-sources</id>
68+
<phase>deploy</phase>
6869
<goals>
6970
<goal>jar</goal>
7071
</goals>
7172
</execution>
7273
</executions>
7374
</plugin>
74-
75+
7576
<plugin>
7677
<groupId>org.apache.maven.plugins</groupId>
7778
<artifactId>maven-javadoc-plugin</artifactId>
78-
<version>3.5.0</version>
79+
<version>3.7.0</version>
80+
<executions>
81+
<execution>
82+
<id>attach-javadocs</id>
83+
<phase>deploy</phase>
84+
<goals>
85+
<goal>jar</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
<configuration>
90+
<additionalOptions>
91+
<additionalOption>-Xdoclint:none</additionalOption>
92+
</additionalOptions>
93+
</configuration>
94+
</plugin>
95+
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-gpg-plugin</artifactId>
99+
<version>3.2.4</version>
100+
<executions>
101+
<execution>
102+
<id>sign-artifacts</id>
103+
<phase>deploy</phase>
104+
<goals>
105+
<goal>sign</goal>
106+
</goals>
107+
<configuration>
108+
<gpgArguments>
109+
<arg>--pinentry-mode</arg>
110+
<arg>loopback</arg>
111+
</gpgArguments>
112+
</configuration>
113+
</execution>
114+
</executions>
115+
</plugin>
116+
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-deploy-plugin</artifactId>
120+
<version>3.1.2</version>
121+
<configuration>
122+
<skip>true</skip>
123+
</configuration>
124+
</plugin>
125+
126+
<plugin>
127+
<groupId>org.sonatype.plugins</groupId>
128+
<artifactId>nexus-staging-maven-plugin</artifactId>
129+
<version>1.7.0</version>
130+
<executions>
131+
<execution>
132+
<id>nexus-deploy</id>
133+
<phase>deploy</phase>
134+
<goals>
135+
<goal>deploy</goal>
136+
</goals>
137+
</execution>
138+
</executions>
139+
<configuration>
140+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
141+
<serverId>ossrh</serverId>
142+
</configuration>
79143
</plugin>
80144
</plugins>
81145
</build>
146+
147+
<distributionManagement>
148+
<repository>
149+
<id>ossrh</id>
150+
<name>Nexus Staging Repository</name>
151+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
152+
</repository>
153+
</distributionManagement>
82154
</project>

0 commit comments

Comments
 (0)