switched distribution management to gitea

This commit is contained in:
2023-04-02 10:49:32 +02:00
parent bc0493b094
commit b9482de3b1

45
pom.xml
View File

@ -18,6 +18,7 @@ limitations under the License.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.muehlencord</groupId>
<artifactId>shared</artifactId>
<version>1.3.2-SNAPSHOT</version>
<name>shared</name>
@ -55,7 +56,7 @@ limitations under the License.
<url>https://jomu.timelord.de/git/jomu/shared/</url>
</scm>
<distributionManagement>
<!-- <distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
@ -64,8 +65,26 @@ limitations under the License.
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>-->
<repositories>
<repository>
<id>gitea</id>
<url>https://jomu.timelord.de/git/api/packages/jomu/maven</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>jomu-gitea</id>
<url>https://jomu.timelord.de/git/api/packages/jomu/maven</url>
</repository>
<snapshotRepository>
<id>jomu-gitea</id>
<url>https://jomu.timelord.de/git/api/packages/jomu/maven</url>
</snapshotRepository>
</distributionManagement>
<groupId>de.muehlencord</groupId>
<issueManagement>
<system>Gitea</system>
@ -274,17 +293,17 @@ limitations under the License.
<build>
<plugins>
<!-- deploy artifacts to maven repository -->
<plugin>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<serverId>ossrh</serverId>
</configuration>
<extensions>true</extensions>
<groupId>org.sonatype.plugins</groupId>
<version>1.6.8</version>
</plugin>
<!-- <plugin>-->
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
<!-- <configuration>-->
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
<!-- <nexusUrl>https://oss.sonatype.org/</nexusUrl>-->
<!-- <serverId>ossrh</serverId>-->
<!-- </configuration>-->
<!-- <extensions>true</extensions>-->
<!-- <groupId>org.sonatype.plugins</groupId>-->
<!-- <version>1.6.8</version>-->
<!-- </plugin>-->
<!-- ensure sources are build so they are also uploaded -->
<plugin>