diff --git a/pom.xml b/pom.xml index 018a4c823e4c414c544ac61e5a1111b90d53aa08..7e523a82c056dfec744ec548a4bfcb63c37b5dec 100644 --- a/pom.xml +++ b/pom.xml @@ -203,6 +203,16 @@ <activation> <activeByDefault>false</activeByDefault> </activation> + <distributionManagement> + <repository> + <id>codesh-gitlab-maven</id> + <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> + </repository> + <snapshotRepository> + <id>codesh-gitlab-maven</id> + <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> + </snapshotRepository> + </distributionManagement> <build> <plugins> <plugin> @@ -225,13 +235,24 @@ </plugin> </plugins> </build> - </profile> <profile> <id>nexus-deploy</id> <activation> <activeByDefault>false</activeByDefault> </activation> + <distributionManagement> + <repository> + <id>ozg-nexus</id> + <name>ozg-releases</name> + <url>https://nexus.ozg-sh.de/repository/ozg-releases/</url> + </repository> + <snapshotRepository> + <id>ozg-snapshots-nexus</id> + <name>ozg-snapshots</name> + <url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url> + </snapshotRepository> + </distributionManagement> <build> <plugins> <plugin>