summaryrefslogtreecommitdiffstats
path: root/odlparent/setup
diff options
context:
space:
mode:
Diffstat (limited to 'odlparent/setup')
-rwxr-xr-xodlparent/setup/pom.xml1
-rwxr-xr-xodlparent/setup/src/main/resources/pom-template.xml14
2 files changed, 13 insertions, 2 deletions
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>