You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@twill.apache.org by ch...@apache.org on 2014/02/10 23:02:47 UTC

[1/2] git commit: Add license statement.

Updated Branches:
  refs/heads/master d9e8ead2e -> 64a01403b


Add license statement.

Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/5e89ec28
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/5e89ec28
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/5e89ec28

Branch: refs/heads/master
Commit: 5e89ec287a6c3bbb1a459e5536fe3c47cc172f95
Parents: d9e8ead
Author: Terence Yim <te...@continuuity.com>
Authored: Mon Feb 10 13:51:15 2014 -0800
Committer: Terence Yim <te...@continuuity.com>
Committed: Mon Feb 10 13:51:15 2014 -0800

----------------------------------------------------------------------
 checkstyle.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/5e89ec28/checkstyle.xml
----------------------------------------------------------------------
diff --git a/checkstyle.xml b/checkstyle.xml
index 5fcce66..6404c8f 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you 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.
+-->
 <!DOCTYPE module PUBLIC
     "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
     "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">


[2/2] git commit: Enable RAT check for the apache-release profile. Also make RAT checks failure fails the build.

Posted by ch...@apache.org.
Enable RAT check for the apache-release profile. Also make RAT checks failure fails the build.

Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/64a01403
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/64a01403
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/64a01403

Branch: refs/heads/master
Commit: 64a01403bd0dcf2811494a87a648acc3f3e0cfbd
Parents: 5e89ec2
Author: Terence Yim <te...@continuuity.com>
Authored: Mon Feb 10 14:02:00 2014 -0800
Committer: Terence Yim <te...@continuuity.com>
Committed: Mon Feb 10 14:02:00 2014 -0800

----------------------------------------------------------------------
 pom.xml | 41 ++++++++++++++++++++++++++---------------
 1 file changed, 26 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/64a01403/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1d0a816..b1c4bfe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -244,6 +244,20 @@
                         </execution>
                     </executions>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>0.10</version>
+                    <configuration>
+                        <excludes>
+                            <exclude>.git/**/*</exclude>
+                            <exclude>**/*.iml</exclude>
+                            <exclude>target/**/*</exclude>
+                            <exclude>**/README</exclude>
+                            <exclude>src/test/resources/header.txt</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>
@@ -314,21 +328,6 @@
                     <deployAtEnd>true</deployAtEnd>
                 </configuration>
             </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <version>0.10</version>
-                <configuration>
-                    <excludes>
-                        <exclude>.git/**/*</exclude>
-                        <exclude>**/*.iml</exclude>
-                        <exclude>target/**/*</exclude>
-                        <exclude>**/README</exclude>
-                        <exclude>src/test/resources/header.txt</exclude>
-                    </excludes>
-                    <ignoreErrors>true</ignoreErrors>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 
@@ -348,6 +347,18 @@
                             </formats>
                         </configuration>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>prepare-package</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>