Author: [email protected]
Date: Thu Apr 28 09:28:54 2011
New Revision: 1049
Log:
[AMDATUCASSANDRA-7] Refactored cassandra project to use new artifact with
checkstyle configuration
Removed:
trunk/amdatu-cassandra/etc/
Modified:
trunk/amdatu-cassandra/pom.xml
Modified: trunk/amdatu-cassandra/pom.xml
==============================================================================
--- trunk/amdatu-cassandra/pom.xml (original)
+++ trunk/amdatu-cassandra/pom.xml Thu Apr 28 09:28:54 2011
@@ -60,6 +60,17 @@
<cassandra.storage_port>7000</cassandra.storage_port>
</properties>
+ <dependencies>
+ <!-- Other -->
+ <dependency>
+ <groupId>org.amdatu.etc</groupId>
+ <artifactId>org.amdatu.etc.checkstyle</artifactId>
+ <version>1</version>
+ <scope>provided</scope>
+ <type>jar</type>
+ </dependency>
+ </dependencies>
+
<dependencyManagement>
<dependencies>
<!-- Internal project dependencies -->
@@ -217,6 +228,27 @@
</modules>
<build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>extract-checkstyle-config</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeGroupIds>org.amdatu.etc</includeGroupIds>
+
<includeArtifactIds>org.amdatu.etc.checkstyle</includeArtifactIds>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
<pluginManagement>
<plugins>
<plugin>
@@ -259,7 +291,7 @@
-->
<linkXref>true</linkXref>
- <configLocation>etc/checkstyle/amdatu_checks.xml</configLocation>
+ <configLocation>target/amdatu_checks.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
</configuration>
</plugin>
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits