You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by am...@apache.org on 2015/04/15 21:47:47 UTC

[23/30] incubator-lens git commit: LENS-335 : Fix checkstyle version property usage in pom (amareshwari)

LENS-335 : Fix checkstyle version property usage in pom (amareshwari)


Project: http://git-wip-us.apache.org/repos/asf/incubator-lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-lens/commit/938ad9ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-lens/tree/938ad9ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-lens/diff/938ad9ed

Branch: refs/heads/master
Commit: 938ad9ed785ca3e05546fffa35f6078d10ed1b97
Parents: 632403e
Author: Amareshwari Sriramadasu <am...@apache.org>
Authored: Fri Feb 20 11:38:18 2015 +0530
Committer: Amareshwari Sriramadasu <am...@apache.org>
Committed: Fri Feb 20 11:38:18 2015 +0530

----------------------------------------------------------------------
 lens-api/pom.xml         | 27 ---------------------------
 lens-cli/pom.xml         | 27 ---------------------------
 lens-client/pom.xml      | 31 -------------------------------
 lens-driver-hive/pom.xml | 27 ---------------------------
 lens-driver-jdbc/pom.xml | 32 --------------------------------
 lens-examples/pom.xml    | 31 -------------------------------
 lens-ml-lib/pom.xml      | 27 ---------------------------
 lens-query-lib/pom.xml   | 31 -------------------------------
 lens-server-api/pom.xml  | 32 --------------------------------
 lens-storage-db/pom.xml  | 31 -------------------------------
 pom.xml                  |  5 ++---
 11 files changed, 2 insertions(+), 299 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-api/pom.xml
----------------------------------------------------------------------
diff --git a/lens-api/pom.xml b/lens-api/pom.xml
index 4bfc007..58cf04c 100644
--- a/lens-api/pom.xml
+++ b/lens-api/pom.xml
@@ -71,33 +71,6 @@
           </plugins>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-cli/pom.xml
----------------------------------------------------------------------
diff --git a/lens-cli/pom.xml b/lens-cli/pom.xml
index c4a2ef8..ff7eca3 100644
--- a/lens-cli/pom.xml
+++ b/lens-cli/pom.xml
@@ -186,33 +186,6 @@
           <argLine>-Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-client/pom.xml
----------------------------------------------------------------------
diff --git a/lens-client/pom.xml b/lens-client/pom.xml
index a0f40ab..9dc0046 100644
--- a/lens-client/pom.xml
+++ b/lens-client/pom.xml
@@ -124,35 +124,4 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-driver-hive/pom.xml
----------------------------------------------------------------------
diff --git a/lens-driver-hive/pom.xml b/lens-driver-hive/pom.xml
index 5a948a8..3ef9617 100644
--- a/lens-driver-hive/pom.xml
+++ b/lens-driver-hive/pom.xml
@@ -71,33 +71,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-driver-jdbc/pom.xml
----------------------------------------------------------------------
diff --git a/lens-driver-jdbc/pom.xml b/lens-driver-jdbc/pom.xml
index 9872130..2e50fbd 100644
--- a/lens-driver-jdbc/pom.xml
+++ b/lens-driver-jdbc/pom.xml
@@ -82,36 +82,4 @@
       <artifactId>hadoop-client</artifactId>
     </dependency>
   </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-examples/pom.xml
----------------------------------------------------------------------
diff --git a/lens-examples/pom.xml b/lens-examples/pom.xml
index 2fac616..6e872b2 100644
--- a/lens-examples/pom.xml
+++ b/lens-examples/pom.xml
@@ -57,35 +57,4 @@
     </dependency>
 
   </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-ml-lib/pom.xml
----------------------------------------------------------------------
diff --git a/lens-ml-lib/pom.xml b/lens-ml-lib/pom.xml
index 82dc372..7cf8e53 100644
--- a/lens-ml-lib/pom.xml
+++ b/lens-ml-lib/pom.xml
@@ -173,33 +173,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-query-lib/pom.xml
----------------------------------------------------------------------
diff --git a/lens-query-lib/pom.xml b/lens-query-lib/pom.xml
index c4b9885..09a0431 100644
--- a/lens-query-lib/pom.xml
+++ b/lens-query-lib/pom.xml
@@ -72,35 +72,4 @@
       <artifactId>hadoop-client</artifactId>
     </dependency>
   </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-server-api/pom.xml
----------------------------------------------------------------------
diff --git a/lens-server-api/pom.xml b/lens-server-api/pom.xml
index 59b546a..c7190cc 100644
--- a/lens-server-api/pom.xml
+++ b/lens-server-api/pom.xml
@@ -56,36 +56,4 @@
       <artifactId>testng</artifactId>
     </dependency>
   </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/lens-storage-db/pom.xml
----------------------------------------------------------------------
diff --git a/lens-storage-db/pom.xml b/lens-storage-db/pom.xml
index 560c15a..66ae006 100644
--- a/lens-storage-db/pom.xml
+++ b/lens-storage-db/pom.xml
@@ -58,35 +58,4 @@
       <artifactId>hadoop-client</artifactId>
     </dependency>
   </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.lens</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>checkstyle-check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>package</phase>
-            <configuration>
-              <consoleOutput>true</consoleOutput>
-              <includeTestSourceDirectory>true</includeTestSourceDirectory>
-              <configLocation>checkstyle.xml</configLocation>
-              <headerLocation>checkstyle-java-header.txt</headerLocation>
-              <failOnViolation>true</failOnViolation>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-lens/blob/938ad9ed/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c499c7c..2684307 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,6 @@
     <jersey.version>2.3.1</jersey.version>
     <grizzly.version>2.3.6</grizzly.version>
     <metrics.version>3.0.2</metrics.version>
-    <lens.checkstyle.version>2.0.0-incubating-SNAPSHOT</lens.checkstyle.version>
     <subethasmtp.version>3.1.7</subethasmtp.version>
     <liquibase.version>3.0.7</liquibase.version>
     <spring.shell.version>1.0.0.RELEASE</spring.shell.version>
@@ -432,7 +431,7 @@
           <dependency>
             <groupId>org.apache.lens</groupId>
             <artifactId>checkstyle</artifactId>
-            <version>${lens.checkstyle.version}</version>
+            <version>2.0.0-incubating-SNAPSHOT</version>
           </dependency>
         </dependencies>
         <executions>
@@ -1059,7 +1058,7 @@
               <dependency>
                 <groupId>org.apache.lens</groupId>
                 <artifactId>checkstyle</artifactId>
-                <version>${lens.checkstyle.version}</version>
+                <version>2.0.0-incubating-SNAPSHOT</version>
               </dependency>
             </dependencies>
             <executions>