Fix sonar violations
[aai/gizmo.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e79e4ad..a3ee5d1 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -385,12 +385,15 @@ limitations under the License.
                     <includes>
                         <include>src/main/java/**</include>
                         <include>src/test/java/**</include>
+                        <include>pom.xml</include>
                     </includes>
+                    <skipExistingHeaders>true</skipExistingHeaders>
                 </configuration>
                 <executions>
                     <execution>
                         <goals>
-                            <goal>format</goal>
+                            <!-- Set goal from "check" to "format" to auto update license headers -->
+                            <goal>check</goal>
                         </goals>
                         <phase>process-sources</phase>
                     </execution>