Skip to content

Commit ee19426

Browse files
committed
Setting nexus URL (#1254)
* adding nexus url Signed-off-by: salaboy <[email protected]> * removing duplicate dep Signed-off-by: salaboy <[email protected]> * adding missing version, which is not needed but to avoid warn Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]>
1 parent 4aa4cff commit ee19426

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

pom.xml

+11-11
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,17 @@
162162
<artifactId>maven-resources-plugin</artifactId>
163163
<version>${maven-resources-plugin.version}</version>
164164
</plugin>
165+
<plugin>
166+
<groupId>org.sonatype.plugins</groupId>
167+
<artifactId>nexus-staging-maven-plugin</artifactId>
168+
<version>${nexus-staging-maven-plugin.version}</version>
169+
<extensions>true</extensions>
170+
<configuration>
171+
<serverId>ossrh</serverId>
172+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
173+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
174+
</configuration>
175+
</plugin>
165176
</plugins>
166177
</pluginManagement>
167178

@@ -199,17 +210,6 @@
199210
</execution>
200211
</executions>
201212
</plugin>
202-
<plugin>
203-
<groupId>org.sonatype.plugins</groupId>
204-
<artifactId>nexus-staging-maven-plugin</artifactId>
205-
<version>1.6.13</version>
206-
<extensions>true</extensions>
207-
<configuration>
208-
<serverId>ossrh</serverId>
209-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
210-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
211-
</configuration>
212-
</plugin>
213213
<plugin>
214214
<groupId>org.apache.maven.plugins</groupId>
215215
<artifactId>maven-checkstyle-plugin</artifactId>

spring-boot-examples/consumer-app/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
<plugin>
8484
<groupId>org.springframework.boot</groupId>
8585
<artifactId>spring-boot-maven-plugin</artifactId>
86+
<version>${springboot.version}</version>
8687
</plugin>
8788
<plugin>
8889
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)