Updated deployment to new repo

This commit is contained in:
SBDeveloper 2022-12-20 20:44:14 +01:00
parent 5385392d1f
commit 2735fbeb1c
2 changed files with 6 additions and 32 deletions

View file

@ -8,8 +8,9 @@ First, include the API using Maven:
```xml ```xml
<repository> <repository>
<id>sbdevelopment-repo</id> <id>sbdevelopment-releases</id>
<url>https://repo.sbdevelopment.tech/repository/maven-releases/</url> <name>SBDevelopment Repository</name>
<url>https://repo.sbdevelopment.tech/releases</url>
</repository> </repository>
<dependency> <dependency>

33
pom.xml
View file

@ -24,7 +24,7 @@
<groupId>tech.sbdevelopment</groupId> <groupId>tech.sbdevelopment</groupId>
<artifactId>MapReflectionAPI</artifactId> <artifactId>MapReflectionAPI</artifactId>
<version>1.4.1</version> <version>1.4.2</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>MapReflectionAPI</name> <name>MapReflectionAPI</name>
@ -38,8 +38,8 @@
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>nexus-releases</id> <id>sbdevelopment-repo</id>
<url>https://repo.sbdevelopment.tech/repository/maven-releases/</url> <url>https://repo.sbdevelopment.tech/releases</url>
</repository> </repository>
</distributionManagement> </distributionManagement>
@ -86,33 +86,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>nexus-releases</serverId>
<nexusUrl>https://repo.sbdevelopment.tech/</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId> <artifactId>lombok-maven-plugin</artifactId>