diff --git a/common/pom.xml b/common/pom.xml index e5da210e1935a2c0dc668cc276b1f9bcc5010901..b8deaace18c6824c4750d9eda01029afcc3d28d4 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -12,6 +12,10 @@ </parent> <artifactId>common</artifactId> <name>Eingangs Adapter - Common</name> + + <properties> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> + </properties> <dependencies> <!-- spring --> @@ -59,6 +63,32 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-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/formsolutions-adapter/pom.xml b/formsolutions-adapter/pom.xml index 33af8d5f90cc4a313d61ca1586fa281308c343f2..1a3f4f01122f33307cee1412c0bd5a2f773b058d 100644 --- a/formsolutions-adapter/pom.xml +++ b/formsolutions-adapter/pom.xml @@ -16,6 +16,7 @@ <properties> <spring-boot.build-image.imageName>docker.ozg-sh.de/formsolutions-adapter:build-latest</spring-boot.build-image.imageName> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> </properties> <dependencies> @@ -160,6 +161,32 @@ <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-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/forwarder/pom.xml b/forwarder/pom.xml index 0688a659ad9147c6f9193aaff135f606029858ec..50fd5d2e00af846afa02fd21abea849cec87d20f 100644 --- a/forwarder/pom.xml +++ b/forwarder/pom.xml @@ -15,6 +15,7 @@ <properties> <spring-boot.build-image.imageName>docker.ozg-sh.de/forwarder:build-latest</spring-boot.build-image.imageName> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> </properties> <dependencies> @@ -73,6 +74,32 @@ <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-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/intelliform-adapter/pom.xml b/intelliform-adapter/pom.xml index 7da575683fa39df806ce3650edda5314de052c0a..ee6c72397b3cc96465a6f84e04794146473540cc 100644 --- a/intelliform-adapter/pom.xml +++ b/intelliform-adapter/pom.xml @@ -18,6 +18,7 @@ <properties> <spring-boot.build-image.imageName>docker.ozg-sh.de/intelliform-adapter:build-latest</spring-boot.build-image.imageName> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> </properties> @@ -200,7 +201,31 @@ <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/router/pom.xml b/router/pom.xml index 35a5c132c6b865f82ddc81fcd20e8cc1b478ce00..54aa542cb0ac235b8650691d4a1e5417bdf5c4f7 100644 --- a/router/pom.xml +++ b/router/pom.xml @@ -9,6 +9,10 @@ <artifactId>router</artifactId> <name>Eingangs Adapter - Router</name> + + <properties> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> + </properties> <dependencies> <!-- own Projects --> @@ -74,6 +78,32 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-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/semantik-adapter/pom.xml b/semantik-adapter/pom.xml index 9448a4c4e2918278e7ff763d46e25efccef1c5b4..8cc9cedf0a12d1ca9b331c1d0ec0f40583eb92a9 100644 --- a/semantik-adapter/pom.xml +++ b/semantik-adapter/pom.xml @@ -12,6 +12,10 @@ <artifactId>semantik-adapter</artifactId> <name>Eingangs Adapter - Semantik</name> + <properties> + <kop.license.version>1.3.0-SNAPSHOT</kop.license.version> + </properties> + <dependencies> <!-- own projects --> <dependency> @@ -56,6 +60,32 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-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