From adf074cbb0dcbf84bd68cf5a66f3ab9fa041cbde Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Tue, 15 Oct 2024 16:18:32 +0200 Subject: [PATCH] OZG-6811 clean up poms --- document-manager-interface/pom.xml | 54 ------------------------------ document-manager-server/pom.xml | 14 +++++++- pom.xml | 13 +++++++ 3 files changed, 26 insertions(+), 55 deletions(-) diff --git a/document-manager-interface/pom.xml b/document-manager-interface/pom.xml index 762a6c4..2d5c727 100644 --- a/document-manager-interface/pom.xml +++ b/document-manager-interface/pom.xml @@ -115,61 +115,7 @@ </execution> </executions> </plugin> - <!-- TODO move to common --> - <plugin> - <groupId>com.mycila</groupId> - <artifactId>license-maven-plugin</artifactId> - <configuration> - <mapping> - <proto>SLASHSTAR_STYLE</proto> - <config>SCRIPT_STYLE</config> - </mapping> - <licenseSets> - <licenseSet> - <header>license/eupl_v1_2_de/header.txt</header> - <excludes> - <exclude>**/*.yaml</exclude> - <exclude>**/*.yml</exclude> - <exclude>README.md</exclude> - </excludes> - </licenseSet> - </licenseSets> - </configuration> - <dependencies> - <dependency> - <groupId>de.ozgcloud.common</groupId> - <artifactId>ozgcloud-common-license</artifactId> - <version>${ozgcloud.license.version}</version> - </dependency> - </dependencies> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <version>3.2.1</version> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> </plugins> </build> - - <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> </project> \ No newline at end of file diff --git a/document-manager-server/pom.xml b/document-manager-server/pom.xml index f5057df..f57521e 100644 --- a/document-manager-server/pom.xml +++ b/document-manager-server/pom.xml @@ -124,13 +124,25 @@ <build> <plugins> + <plugin> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> + <artifactId>maven-surefire-plugin</artifactId> </plugin> </plugins> </build> diff --git a/pom.xml b/pom.xml index f55b1be..dae68b7 100644 --- a/pom.xml +++ b/pom.xml @@ -59,4 +59,17 @@ </plugins> </build> + + <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> </project> \ No newline at end of file -- GitLab