Overriding git-commit-id-plugin 80/112180/2
authorSingal, Kapil (ks220y) <ks220y@att.com>
Fri, 4 Sep 2020 14:34:58 +0000 (10:34 -0400)
committerSingal, Kapil (ks220y) <ks220y@att.com>
Fri, 4 Sep 2020 14:37:56 +0000 (10:37 -0400)
Issue-ID: CCSDK-2734
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I57964c912f17bf0c7dfe060a469affbf82486d35

13 files changed:
odlparent/binding-parent/pom.xml
odlparent/bundle-parent/pom.xml
odlparent/feature-repo-parent/pom.xml
odlparent/karaf4-parent/pom.xml
odlparent/mdsal-it-parent/pom.xml
odlparent/odlparent-lite/pom.xml
odlparent/odlparent/pom.xml
odlparent/setup/pom.xml
odlparent/setup/src/main/resources/pom-template.xml
odlparent/single-feature-parent/pom.xml
springboot/spring-boot-setup/src/main/resources/pom-template.xml
springboot/springboot1/pom.xml
springboot/springboot2/pom.xml

index 8aec6ff..fbeaa64 100644 (file)
                                     <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>
                     </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>
 
index ad6b7ba..64fdc5e 100644 (file)
                                     <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>
                     </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>
 
index 21d108d..e223c86 100644 (file)
                                     <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>
                     </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>
 
index 1c7305c..d94b50c 100644 (file)
                                     <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>
                     </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>
 
index e23a473..6f39247 100644 (file)
                                     <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>
                     </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>
 
index 1eb6a3d..01bacd8 100644 (file)
                                     <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>
                     </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>
 
index 13c8f47..348bada 100644 (file)
                                     <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>
                     </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>
 
index 6137543..c14c893 100755 (executable)
                         <configuration>
                             <sourceFile>../binding-parent/pom-template.xml</sourceFile>
                             <destinationFile>../binding-parent/pom.xml</destinationFile>
-                            
                         </configuration>
                     </execution>
                     <execution>
index d6a9b46..94b7423 100755 (executable)
                                     <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>
                     </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>
 
index 5e4a8e0..ed2ac0f 100644 (file)
                                     <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>
                     </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>
 
index cfbf017..c69394c 100644 (file)
                     <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>
 
index 00e8f0b..ec770c2 100644 (file)
                     <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>
 
index b604cf0..8b21e8f 100644 (file)
                     <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>