From 614fc2d1528a541e128eb1546a59c2a8a0efb072 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:09:52 +0200 Subject: [PATCH 01/11] https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/615: declare these Maven artifacts in provided scope --- .github/workflows/default-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/default-tests.yml b/.github/workflows/default-tests.yml index 4c801326..aee98617 100644 --- a/.github/workflows/default-tests.yml +++ b/.github/workflows/default-tests.yml @@ -59,7 +59,7 @@ jobs: strategy: matrix: java_version: ['11'] - maven_version: ['3.2.5', '3.3.9', '3.5.4', '3.6.3', '3.8.8', '3.9.1', '4.0.0-alpha-5'] + maven_version: ['3.1.0-alpha-1', '3.1.1', '3.2.5', '3.3.9', '3.5.4', '3.6.3', '3.8.8', '3.9.1', '4.0.0-alpha-5'] steps: - uses: actions/checkout@v3 From 775778505c31b6b2b64b3901c08b373aba77361e Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:11:11 +0200 Subject: [PATCH 02/11] https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/615: declare these Maven artifacts in provided scope --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 99ab5cbc..b297da37 100644 --- a/pom.xml +++ b/pom.xml @@ -240,11 +240,13 @@ org.apache.maven maven-plugin-api ${maven-plugin-api.version} + provided org.apache.maven maven-core ${maven-plugin-api.version} + provided From 0540377d4ee9ea628851fe4d33693e9f368e3fd4 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:17:29 +0200 Subject: [PATCH 03/11] Revert "bump maven-clean-plugin 3.1.0 -> 3.2.0" This reverts commit 64d87996ede1195fa348b96e89b79cd6aa9ffb5f. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b297da37..da14f60b 100644 --- a/pom.xml +++ b/pom.xml @@ -124,7 +124,7 @@ maven-clean-plugin - 3.2.0 + 3.1.0 maven-resources-plugin From 42349e77c4f8695ce4bcc77fcccd812f25ab4eef Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:22:24 +0200 Subject: [PATCH 04/11] Revert "bump maven-resources-plugin 3.1.0 -> 3.3.0" This reverts commit 0a7001b4368b9e2cded00dfcee64063d5d9457cd. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index da14f60b..262b77ab 100644 --- a/pom.xml +++ b/pom.xml @@ -128,7 +128,7 @@ maven-resources-plugin - 3.3.0 + 3.1.0 maven-jar-plugin From 3351d2e74ee21b9a07f423d4074e40e7f3d1bf95 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:24:56 +0200 Subject: [PATCH 05/11] Revert "bump maven-compiler-plugin 3.8.1 -> 3.10.1" This reverts commit 1e92de33ebfe1b0e8d31097f5206e1ff19becb97. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 262b77ab..474f150f 100644 --- a/pom.xml +++ b/pom.xml @@ -116,7 +116,7 @@ maven-compiler-plugin - 3.10.1 + 3.8.1 maven-gpg-plugin From f0520ae52badf9145436d5261477a1a2a19c9917 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:29:15 +0200 Subject: [PATCH 06/11] Revert "bump org.apache.maven.plugin-tools:maven-plugin-annotations 3.6.0 -> 3.7.1" This reverts commit de2a185733e1df0dabc9814cad74f585be3d89cc. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 474f150f..18949687 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ 11 3.1.0-alpha-1 - 3.7.1 + 3.6.0 4.13.2 5.1.1 From 5dd822d8cc0286b4596147de9d591ee04d53ada0 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:39:01 +0200 Subject: [PATCH 07/11] Revert "bump maven-jar-plugin 3.2.0 -> 3.3.0" This reverts commit 6eb673358b023d87d6c4e606aac7f19e087f1c8a. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 18949687..d7e30351 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ maven-jar-plugin - 3.3.0 + 3.2.0 maven-plugin-plugin From 73748852691fae052f2cfa3d2d260d1e134feac2 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:42:42 +0200 Subject: [PATCH 08/11] Revert "bump maven-javadoc-plugin 3.2.0 -> 3.4.1" This reverts commit 6c5f7cc4871e5652d620a10853d0dbf053aa30aa. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d7e30351..d743857d 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,7 @@ maven-javadoc-plugin - 3.4.1 + 3.2.0 maven-source-plugin From 9905714a1f086e3f5792d10f89103651e69d74c7 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:46:03 +0200 Subject: [PATCH 09/11] Revert "bump maven-install-plugin 2.5.2 -> 3.1.0" This reverts commit 4442cf768d59fcb9897a16c27765b5082bcf2996. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d743857d..41147e56 100644 --- a/pom.xml +++ b/pom.xml @@ -144,7 +144,7 @@ maven-install-plugin - 3.1.0 + 2.5.2 maven-deploy-plugin From db0ad29d007c9d794d47d8f7f400a52e02250ed0 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 21:53:47 +0200 Subject: [PATCH 10/11] set properties encoding as per https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 41147e56..5610c16e 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,7 @@ UTF-8 UTF-8 + UTF-8 10 11 From 1608bb93a4830200a45fd89a8ce98edce0103434 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 11 May 2023 22:09:40 +0200 Subject: [PATCH 11/11] fix javadoc warnings reported by 'mvn package -Dmaven.plugin.validation=VERBOSE' --- .../project13/maven/git/GitCommitIdMojo.java | 60 ++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/src/main/java/pl/project13/maven/git/GitCommitIdMojo.java b/src/main/java/pl/project13/maven/git/GitCommitIdMojo.java index c74028e6..82d0e650 100644 --- a/src/main/java/pl/project13/maven/git/GitCommitIdMojo.java +++ b/src/main/java/pl/project13/maven/git/GitCommitIdMojo.java @@ -113,7 +113,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     false
+   * }
    * 
*

* @@ -134,7 +136,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     false
+   * }
    * 
*

*/ @@ -159,7 +163,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     true
+   * }
    * 
*

*/ @@ -195,7 +201,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     true
+   * }
    * 
*

*/ @@ -234,7 +242,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     ${project.build.outputDirectory}/git.properties
+   * }
    * 
*

* @@ -255,7 +265,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *    true
+   * }
    * 
*

* @@ -273,7 +285,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *    ${project.basedir}/.git
+   * }
    * 
*

*/ @@ -298,6 +312,7 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   *     {@code
    *         
    *             
    *             false
    *         
+   *     }
    *     
*

* @@ -428,7 +444,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *    7
+   * }
    * 
*

* @@ -453,7 +471,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *    properties
+   * }
    * 
*

*/ @@ -478,7 +498,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *    git
+   * }
    * 
*

*/ @@ -498,7 +520,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *    yyyy-MM-dd'T'HH:mm:ssZ
+   * }
    * 
*

* @@ -525,7 +549,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     ${user.timezone}
+   * }
    * 
*

* @@ -543,7 +569,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     true
+   * }
    * 
*

* @@ -567,7 +595,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     true
+   * }
    * 
*

* @@ -596,7 +626,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     true
+   * }
    * 
*

* @@ -616,7 +648,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     mvn clean package -Dmaven.gitcommitid.nativegit=true
+   * }
    * 
*

* @@ -637,7 +671,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     false
+   * }
    * 
*

* @@ -658,7 +694,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     mvn clean package -Dmaven.gitcommitid.skip=true
+   * }
    * 
*

* @@ -696,7 +734,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     true
+   * }
    * 
*

* @@ -734,9 +774,11 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     
    *          git.user.*
    *     
+   * }
    * 
*

* @@ -776,9 +818,11 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     
    *         ^git.commit.id.full$
    *     
+   * }
    * 
*

* @@ -825,7 +869,9 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     flat
+   * }
    * 
*

* @@ -903,6 +949,7 @@ public class GitCommitIdMojo extends AbstractMojo { * *

Example: *

+   * {@code
    *     
    *