Improve license scan result
[externalapi/nbi.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 69d1aae..0c1d499 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+        Copyright (c) 2018 Orange
+
+        Licensed under the Apache License, Version 2.0 (the "License");
+        you may not use this file except in compliance with the License.
+        You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+        Unless required by applicable law or agreed to in writing, software
+        distributed under the License is distributed on an "AS IS" BASIS,
+        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+        See the License for the specific language governing permissions and
+        limitations under the License.
+
+-->
 <!-- Copyright (c) 2018 Orange Licensed under the Apache License, Version 
        2.0 (the "License"); you may not use this file except in compliance with 
        the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
           <includes>
             <include>restclient/**</include>
             <include>src/**</include>
-            <include>./**/*.xml</include>
-            <include>./**/*.xml</include>
-            <include>./**/*.yml</include>
-            <include>./**/*.yaml</include>
+            <include>**/*.xml</include>
+            <include>**/*.xsd</include>
+            <include>**/*.yml</include>
+            <include>**/*.yaml</include>
+            <include>**/*.plantuml</include>
           </includes>
           <excludes>
             <!-- karate-config.js doesn't support comment, and is mandatory by
               karate -->
             <exclude>src/test/java/karate-config.js</exclude>
+            <exclude>releases/**/*.yaml</exclude>
           </excludes>
           <skipExistingHeaders>true</skipExistingHeaders>
           <skip>false</skip>
           <mapping>
             <http>SCRIPT_STYLE</http>
+            <xsd>XML_STYLE</xsd>
+            <yaml>SCRIPT_STYLE</yaml>
+            <yml>SCRIPT_STYLE</yml>
+            <feature>SCRIPT_STYLE</feature>
+            <plantuml>SCRIPT_STYLE</plantuml>
           </mapping>
         </configuration>
         <executions>