From 461195597b0bab82e5be21605f1c0d5e9e50e3b4 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Tue, 8 Nov 2022 14:19:19 +0100 Subject: [PATCH] OZG-3073-add-license --- mail-service/pom.xml | 28 +++++++++++++++++++++++++++- notification-manager/pom.xml | 27 +++++++++++++++++++++++++++ pluto-server/pom.xml | 27 +++++++++++++++++++++++++++ pluto-utils/pom.xml | 27 ++++++++++++++++++++++++++- 4 files changed, 107 insertions(+), 2 deletions(-) diff --git a/mail-service/pom.xml b/mail-service/pom.xml index 551e3a019..c55d69ade 100644 --- a/mail-service/pom.xml +++ b/mail-service/pom.xml @@ -17,7 +17,7 @@ <!-- TODO version management --> <shedlock.version>4.25.0</shedlock.version> <logcaptor.version>2.7.10</logcaptor.version> - + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> </properties> <dependencies> @@ -161,6 +161,32 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> + + <plugin> + <groupId>com.mycila</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>4.1</version> + <configuration> + <licenseSets> + <licenseSet> + <header>license/eupl_v1_2_de/header.txt</header> + <excludes> + <exclude>**/README</exclude> + <exclude>src/test/resources/**</exclude> + <exclude>src/main/resources/**</exclude> + <exclude>pom.xml</exclude> + </excludes> + </licenseSet> + </licenseSets> + </configuration> + <dependencies> + <dependency> + <groupId>de.itvsh.kop.common</groupId> + <artifactId>kop-common-license</artifactId> + <version>${kop.license.version}</version> + </dependency> + </dependencies> + </plugin> </plugins> </build> diff --git a/notification-manager/pom.xml b/notification-manager/pom.xml index 1d65ac548..384ab41f7 100644 --- a/notification-manager/pom.xml +++ b/notification-manager/pom.xml @@ -14,6 +14,7 @@ <properties> <user-manager-interface.version>1.0.0</user-manager-interface.version> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> </properties> <dependencies> @@ -94,6 +95,32 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> + + <plugin> + <groupId>com.mycila</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>4.1</version> + <configuration> + <licenseSets> + <licenseSet> + <header>license/eupl_v1_2_de/header.txt</header> + <excludes> + <exclude>**/README</exclude> + <exclude>src/test/resources/**</exclude> + <exclude>src/main/resources/**</exclude> + <exclude>pom.xml</exclude> + </excludes> + </licenseSet> + </licenseSets> + </configuration> + <dependencies> + <dependency> + <groupId>de.itvsh.kop.common</groupId> + <artifactId>kop-common-license</artifactId> + <version>${kop.license.version}</version> + </dependency> + </dependencies> + </plugin> </plugins> </build> </project> \ No newline at end of file diff --git a/pluto-server/pom.xml b/pluto-server/pom.xml index dd34d1d56..1f8e494c4 100644 --- a/pluto-server/pom.xml +++ b/pluto-server/pom.xml @@ -28,6 +28,7 @@ <mongock.version>5.1.4</mongock.version> <testcontainer.version>1.17.3</testcontainer.version> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version> </properties> @@ -276,6 +277,32 @@ <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> </plugin> + + <plugin> + <groupId>com.mycila</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>4.1</version> + <configuration> + <licenseSets> + <licenseSet> + <header>license/eupl_v1_2_de/header.txt</header> + <excludes> + <exclude>**/README</exclude> + <exclude>src/test/resources/**</exclude> + <exclude>src/main/resources/**</exclude> + <exclude>pom.xml</exclude> + </excludes> + </licenseSet> + </licenseSets> + </configuration> + <dependencies> + <dependency> + <groupId>de.itvsh.kop.common</groupId> + <artifactId>kop-common-license</artifactId> + <version>${kop.license.version}</version> + </dependency> + </dependencies> + </plugin> </plugins> </build> diff --git a/pluto-utils/pom.xml b/pluto-utils/pom.xml index 89867dacc..ad153a4a5 100644 --- a/pluto-utils/pom.xml +++ b/pluto-utils/pom.xml @@ -23,6 +23,7 @@ <maven-failsafe-plugin.version>3.0.0-M7</maven-failsafe-plugin.version> <jacoco.plugin.version>0.8.8</jacoco.plugin.version> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> <lombok.version>1.18.24</lombok.version> </properties> @@ -177,7 +178,31 @@ </execution> </executions> </plugin> - + <plugin> + <groupId>com.mycila</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>4.1</version> + <configuration> + <licenseSets> + <licenseSet> + <header>license/eupl_v1_2_de/header.txt</header> + <excludes> + <exclude>**/README</exclude> + <exclude>src/test/resources/**</exclude> + <exclude>src/main/resources/**</exclude> + <exclude>pom.xml</exclude> + </excludes> + </licenseSet> + </licenseSets> + </configuration> + <dependencies> + <dependency> + <groupId>de.itvsh.kop.common</groupId> + <artifactId>kop-common-license</artifactId> + <version>${kop.license.version}</version> + </dependency> + </dependencies> + </plugin> </plugins> </build> </project> \ No newline at end of file -- GitLab