LENS-335 : Fix checkstyle version property usage in pom (amareshwari)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>