added nexus repository

This commit is contained in:
VSAzima 2021-04-22 18:07:15 +04:00
parent 49a2c56389
commit ad43e78804

32
pom.xml
View file

@ -121,6 +121,18 @@
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>http://172.19.0.3:8081/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>nexus</id>
<name>Nexus Staging Repo</name>
<url>http://172.19.0.3:8081/repository/maven-releases/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
@ -139,6 +151,26 @@
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>nexus</serverId>
<nexusUrl>http://172.19.0.3:8081/nexus/</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>