diff --git a/mail-service/pom.xml b/mail-service/pom.xml index 551e3a0194e1f24db058fe0607571705dd787523..c55d69ade4b14d7962a6cedb46f34ab706866f74 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 1d65ac548047acd6eb3f8d8180cb7e7c918df170..384ab41f76134a82ba8df140135175f890271cc8 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 dd34d1d56d2684bffb43d161f2dc21d94c90ffd5..1f8e494c451daf43faf3667b81b9b128f14aea9e 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 89867daccfba200736615386e06b30e0e94847ed..ad153a4a54b3c447560f9fdc3b6cabf0b7898d00 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