Merge "Improve license scan result"
authorAdrian OSullivan <adrian.osullivan@huawei.com>
Wed, 4 Sep 2019 15:38:01 +0000 (15:38 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 4 Sep 2019 15:38:01 +0000 (15:38 +0000)
1  2 
pom.xml

diff --combined pom.xml
+++ b/pom.xml
@@@ -1,4 -1,21 +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 
      </dependency>
  
      <!-- jackson -->
 +    
 +    <dependency>
 +      <groupId>com.fasterxml.jackson.core</groupId>
 +      <artifactId>jackson-databind</artifactId>
 +      <version>2.9.9.3</version>
 +      </dependency>   
  
      <dependency>
        <groupId>com.fasterxml.jackson.dataformat</groupId>
            <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>