diff options
-rw-r--r-- | odlparent/binding-parent/pom.xml | 14 | ||||
-rw-r--r-- | odlparent/bundle-parent/pom.xml | 14 | ||||
-rw-r--r-- | odlparent/feature-repo-parent/pom.xml | 14 | ||||
-rw-r--r-- | odlparent/karaf4-parent/pom.xml | 14 | ||||
-rw-r--r-- | odlparent/mdsal-it-parent/pom.xml | 14 | ||||
-rw-r--r-- | odlparent/odlparent-lite/pom.xml | 14 | ||||
-rw-r--r-- | odlparent/odlparent/pom.xml | 14 | ||||
-rwxr-xr-x | odlparent/setup/pom.xml | 1 | ||||
-rwxr-xr-x | odlparent/setup/src/main/resources/pom-template.xml | 14 | ||||
-rw-r--r-- | odlparent/single-feature-parent/pom.xml | 14 | ||||
-rw-r--r-- | springboot/spring-boot-setup/src/main/resources/pom-template.xml | 12 | ||||
-rw-r--r-- | springboot/springboot1/pom.xml | 12 | ||||
-rw-r--r-- | springboot/springboot2/pom.xml | 12 |
13 files changed, 153 insertions, 10 deletions
diff --git a/odlparent/binding-parent/pom.xml b/odlparent/binding-parent/pom.xml index 8059c352..7381db38 100644 --- a/odlparent/binding-parent/pom.xml +++ b/odlparent/binding-parent/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/bundle-parent/pom.xml b/odlparent/bundle-parent/pom.xml index 925f9212..f889c1a7 100644 --- a/odlparent/bundle-parent/pom.xml +++ b/odlparent/bundle-parent/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/feature-repo-parent/pom.xml b/odlparent/feature-repo-parent/pom.xml index 2a73c9e9..ff0b13dd 100644 --- a/odlparent/feature-repo-parent/pom.xml +++ b/odlparent/feature-repo-parent/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/karaf4-parent/pom.xml b/odlparent/karaf4-parent/pom.xml index 0d4e143f..c07f7e04 100644 --- a/odlparent/karaf4-parent/pom.xml +++ b/odlparent/karaf4-parent/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/mdsal-it-parent/pom.xml b/odlparent/mdsal-it-parent/pom.xml index 13540df3..35178125 100644 --- a/odlparent/mdsal-it-parent/pom.xml +++ b/odlparent/mdsal-it-parent/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/odlparent-lite/pom.xml b/odlparent/odlparent-lite/pom.xml index 7910fe57..aaeb4336 100644 --- a/odlparent/odlparent-lite/pom.xml +++ b/odlparent/odlparent-lite/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/odlparent/pom.xml b/odlparent/odlparent/pom.xml index cf307137..8e8753ff 100644 --- a/odlparent/odlparent/pom.xml +++ b/odlparent/odlparent/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/setup/pom.xml b/odlparent/setup/pom.xml index 6137543d..c14c893e 100755 --- a/odlparent/setup/pom.xml +++ b/odlparent/setup/pom.xml @@ -231,7 +231,6 @@ <configuration> <sourceFile>../binding-parent/pom-template.xml</sourceFile> <destinationFile>../binding-parent/pom.xml</destinationFile> - </configuration> </execution> <execution> diff --git a/odlparent/setup/src/main/resources/pom-template.xml b/odlparent/setup/src/main/resources/pom-template.xml index d6a9b46a..94b7423f 100755 --- a/odlparent/setup/src/main/resources/pom-template.xml +++ b/odlparent/setup/src/main/resources/pom-template.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/odlparent/single-feature-parent/pom.xml b/odlparent/single-feature-parent/pom.xml index 6cf1bf8e..2cc4d997 100644 --- a/odlparent/single-feature-parent/pom.xml +++ b/odlparent/single-feature-parent/pom.xml @@ -825,7 +825,7 @@ <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> <excludes> <exclude>org.mockito:mockito-all</exclude> -<!-- <exclude>com.google.code.findbugs:annotations</exclude> --> + <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> </excludes> </bannedDependencies> </rules> @@ -834,6 +834,18 @@ </execution> </executions> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/springboot/spring-boot-setup/src/main/resources/pom-template.xml b/springboot/spring-boot-setup/src/main/resources/pom-template.xml index cfbf017b..c69394c5 100644 --- a/springboot/spring-boot-setup/src/main/resources/pom-template.xml +++ b/springboot/spring-boot-setup/src/main/resources/pom-template.xml @@ -662,6 +662,18 @@ <tag>\${project.artifactId}-\${project.version}</tag> </configuration> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/springboot/springboot1/pom.xml b/springboot/springboot1/pom.xml index 00e8f0b1..ec770c27 100644 --- a/springboot/springboot1/pom.xml +++ b/springboot/springboot1/pom.xml @@ -662,6 +662,18 @@ <tag>${project.artifactId}-${project.version}</tag> </configuration> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> diff --git a/springboot/springboot2/pom.xml b/springboot/springboot2/pom.xml index b604cf00..8b21e8f7 100644 --- a/springboot/springboot2/pom.xml +++ b/springboot/springboot2/pom.xml @@ -662,6 +662,18 @@ <tag>${project.artifactId}-${project.version}</tag> </configuration> </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>4.0.0</version> + <configuration> + <commitIdGenerationMode>full</commitIdGenerationMode> + <includeOnlyProperties> + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> + </includeOnlyProperties> + </configuration> + </plugin> </plugins> </build> |