From f44e77f47a6150caf7b67991907b605616eec404 Mon Sep 17 00:00:00 2001 From: Martijn Dirkse Date: Tue, 1 Oct 2024 14:17:46 +0200 Subject: [PATCH 1/2] Fix the skip-copyright profile --- pom.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index a323ed89..8c633ba1 100644 --- a/pom.xml +++ b/pom.xml @@ -523,14 +523,9 @@ copyright check - process-sources + none - - ${ibis.ladybug.rootdir}${file.separator}copyrightExcludeFile.txt - true - ${ibis.ladybug.rootdir}/copyrightTemplateFile.txt - From 21cd65ed25496c7ca1930f74209122c17383186f Mon Sep 17 00:00:00 2001 From: Martijn Dirkse Date: Tue, 1 Oct 2024 14:52:05 +0200 Subject: [PATCH 2/2] Now you have copyright check if and only if -Pskip-copyright --- pom.xml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 8c633ba1..3f584ad8 100644 --- a/pom.xml +++ b/pom.xml @@ -302,6 +302,26 @@ + + org.glassfish.copyright + glassfish-copyright-maven-plugin + 2.4 + + + Check-CopyRight-Notice + + copyright + check + + process-sources + + + + ${ibis.ladybug.rootdir}${file.separator}copyrightExcludeFile.txt + true + ${ibis.ladybug.rootdir}/copyrightTemplateFile.txt + + maven-compiler-plugin 3.10.1 @@ -504,12 +524,6 @@ skip-copyright - - - !maven.skip.copyright - !true - -