Fixed to run mvn license:check

Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/02b839b4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/02b839b4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/02b839b4

Branch: refs/heads/master
Commit: 02b839b4f2171f9b9a47437b7d0ad12e477b70e2
Parents: 6770098
Author: myui <[email protected]>
Authored: Mon Nov 7 15:20:02 2016 +0900
Committer: myui <[email protected]>
Committed: Mon Nov 7 15:20:02 2016 +0900

----------------------------------------------------------------------
 pom.xml                         | 14 ++++++++++++--
 resources/header-definition.xml |  3 +--
 2 files changed, 13 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/02b839b4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 62cc5a5..094f034 100644
--- a/pom.xml
+++ b/pom.xml
@@ -391,7 +391,6 @@
                                                        
<currentYear>${build.year}</currentYear>
                                                        
<copyrightOwner>${project.organization.name}</copyrightOwner>
                                                </properties>
-                                               
<useDefaultExcludes>false</useDefaultExcludes>
                                                <includes>
                                                        
<include>src/main/**/*.java</include>
                                                        
<include>src/test/**/*.java</include>
@@ -400,14 +399,25 @@
                                                        
<include>bin/*.sh</include>
                                                        
<include>docs/gitbook/**/*.md</include>
                                                </includes>
+                                               
<useDefaultExcludes>false</useDefaultExcludes>
+                                               <excludes>
+                                                       
<exclude>docs/gitbook/node_modules/**</exclude>
+                                               </excludes>
                                                <encoding>UTF-8</encoding>
                                                <headerDefinitions>
                                                        
<headerDefinition>${main.basedir}/resources/header-definition.xml</headerDefinition>
                                                </headerDefinitions>
                                                <mapping>
-                                                 <md>XML_STYLE</md>
+                                                       <md>XML_STYLE</md>
                                                </mapping>
                                        </configuration>
+                                       <executions>
+                                               <execution>
+                                                       <goals>
+                                                               
<goal>check</goal>
+                                                       </goals>
+                                               </execution>
+                                       </executions>
                                </plugin>
                        </plugins>
                </pluginManagement>

http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/02b839b4/resources/header-definition.xml
----------------------------------------------------------------------
diff --git a/resources/header-definition.xml b/resources/header-definition.xml
index 232b1d7..e28f8f8 100644
--- a/resources/header-definition.xml
+++ b/resources/header-definition.xml
@@ -14,8 +14,7 @@
     <xml_style>
         <firstLine><![CDATA[<!--]]></firstLine>
         <beforeEachLine>  </beforeEachLine>
-        <endLine><![CDATA[-->
-        ]]></endLine>
+        <endLine><![CDATA[-->]]></endLine>
         <skipLine><![CDATA[^<\?xml.*>$]]></skipLine>
         
<firstLineDetectionPattern><![CDATA[(\s|\t)*<!--.*$]]></firstLineDetectionPattern>
         
<lastLineDetectionPattern><![CDATA[.*-->(\s|\t)*$]]></lastLineDetectionPattern>

Reply via email to