Skip to content
Snippets Groups Projects
Commit 8dda61f5 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6544: Move excludes to licenseSet due to deprecation. Readd...

OZG-6544: Move excludes to licenseSet due to deprecation. Readd resources-folders as excludes to avoid headers in text files. Clearify by commentary, where each configuration is used. Add inceptionYear for correct setup.
parent 06c03624
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
<name>OzgCloud Common - Dependencies</name> <name>OzgCloud Common - Dependencies</name>
<packaging>pom</packaging> <packaging>pom</packaging>
<description>Dependenencies management for ozgcloud projects</description> <description>Dependenencies management for ozgcloud projects</description>
<inceptionYear>2021</inceptionYear>
<properties> <properties>
<vorgang-manager.version>2.17.0</vorgang-manager.version> <vorgang-manager.version>2.17.0</vorgang-manager.version>
......
...@@ -36,12 +36,12 @@ ...@@ -36,12 +36,12 @@
<artifactId>ozgcloud-common-lib</artifactId> <artifactId>ozgcloud-common-lib</artifactId>
<name>OzgCloud Common - Shared Lib</name> <name>OzgCloud Common - Shared Lib</name>
<inceptionYear>2021</inceptionYear>
<properties> <properties>
<maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target> <maven.compiler.target>${java.version}</maven.compiler.target>
<mockito.version>5.10.0</mockito.version> <mockito.version>5.10.0</mockito.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
<name>OzgCloud Common - OS license provider</name> <name>OzgCloud Common - OS license provider</name>
<description>A Maven project for providing the license to all OzgCloud Projects</description> <description>A Maven project for providing the license to all OzgCloud Projects</description>
<inceptionYear>2021</inceptionYear>
<properties> <properties>
<java.version>17</java.version> <java.version>17</java.version>
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<name>OzgCloud Common - Parent</name> <name>OzgCloud Common - Parent</name>
<description>Parent for all OzgCloud spring boot projects</description> <description>Parent for all OzgCloud spring boot projects</description>
<inceptionYear>2021</inceptionYear>
<properties> <properties>
<java.version>21</java.version> <java.version>21</java.version>
...@@ -314,6 +315,7 @@ ...@@ -314,6 +315,7 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- This plugin configuration is used for generating licenses in daughter project -->
<plugin> <plugin>
<groupId>com.mycila</groupId> <groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId> <artifactId>license-maven-plugin</artifactId>
...@@ -333,13 +335,15 @@ ...@@ -333,13 +335,15 @@
<licenseSets> <licenseSets>
<licenseSet> <licenseSet>
<header>license/eupl_v1_2_de/header.txt</header> <header>license/eupl_v1_2_de/header.txt</header>
</licenseSet>
</licenseSets>
<excludes> <excludes>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
<exclude>**/.angular/cache/**</exclude> <exclude>**/.angular/cache/**</exclude>
<exclude>**/.nx/**</exclude> <exclude>**/.nx/**</exclude>
<exclude>**/node_modules/**</exclude> <exclude>**/node_modules/**</exclude>
</excludes> </excludes>
</licenseSet>
</licenseSets>
</configuration> </configuration>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
</parent> </parent>
<artifactId>ozgcloud-common-pdf</artifactId> <artifactId>ozgcloud-common-pdf</artifactId>
<name>OzgCloud Common - PDF Export library</name> <name>OzgCloud Common - PDF Export library</name>
<inceptionYear>2021</inceptionYear>
<properties> <properties>
<fop.version>2.9</fop.version> <fop.version>2.9</fop.version>
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
<artifactId>ozgcloud-common-test</artifactId> <artifactId>ozgcloud-common-test</artifactId>
<name>OzgCloud Common - Test Lib</name> <name>OzgCloud Common - Test Lib</name>
<inceptionYear>2021</inceptionYear>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<artifactId>ozgcloud-common</artifactId> <artifactId>ozgcloud-common</artifactId>
<version>4.7.0-SNAPSHOT</version> <version>4.7.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<inceptionYear>2021</inceptionYear>
<name>OzgCloud Common</name> <name>OzgCloud Common</name>
...@@ -80,6 +81,7 @@ ...@@ -80,6 +81,7 @@
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!-- This plugin configuration is used for generating licenses in this repository -->
<plugin> <plugin>
<groupId>com.mycila</groupId> <groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId> <artifactId>license-maven-plugin</artifactId>
...@@ -92,20 +94,16 @@ ...@@ -92,20 +94,16 @@
<proto>SLASHSTAR_STYLE</proto> <proto>SLASHSTAR_STYLE</proto>
<config>SCRIPT_STYLE</config> <config>SCRIPT_STYLE</config>
<md>XML_STYLE</md> <md>XML_STYLE</md>
<ftlh>FTL</ftlh>
<tpl>SCRIPT_STYLE</tpl>
<ts>SLASHSTAR_STYLE</ts>
</mapping> </mapping>
<licenseSets> <licenseSets>
<licenseSet> <licenseSet>
<header>license/eupl_v1_2_de/header.txt</header> <header>license/eupl_v1_2_de/header.txt</header>
</licenseSet> </licenseSet>
</licenseSets>
<excludes> <excludes>
<exclude>**/.angular/cache/**</exclude> <exclude>src/test/resources/**</exclude>
<exclude>**/.nx/**</exclude> <exclude>src/main/resources/**</exclude>
<exclude>**/node_modules/**</exclude>
</excludes> </excludes>
</licenseSets>
</configuration> </configuration>
<dependencies> <dependencies>
<dependency> <dependency>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment