Skip to content

Instantly share code, notes, and snippets.

@rtreffer
Created May 30, 2010 15:48
Show Gist options
  • Save rtreffer/419115 to your computer and use it in GitHub Desktop.
Save rtreffer/419115 to your computer and use it in GitHub Desktop.
diff --git a/pom.xml b/pom.xml
index 9f83259..9f0d32b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,6 +91,75 @@
</execution>
</executions>
</plugin>
+
+ <!-- install various artifacts -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.3.1</version>
+ <executions>
+ <execution>
+ <id>install libthrift</id>
+ <phase>initialize</phase>
+ <goals><goal>install-file</goal></goals>
+ <configuration>
+ <packaging>jar</packaging>
+ <groupId>libthrift</groupId>
+ <artifactId>libthrift</artifactId>
+ <version>917130</version>
+ <file>${basedir}/lib/libthrift-r917130.jar</file>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install cassandra</id>
+ <phase>initialize</phase>
+ <goals><goal>install-file</goal></goals>
+ <configuration>
+ <packaging>jar</packaging>
+ <groupId>org.apache.cassandra</groupId>
+ <artifactId>cassandra</artifactId>
+ <version>0.6.0</version>
+ <file>${basedir}/lib/apache-cassandra-0.6.0.jar</file>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install high-scale-lib</id>
+ <phase>initialize</phase>
+ <goals><goal>install-file</goal></goals>
+ <configuration>
+ <packaging>jar</packaging>
+ <groupId>org.cliffc.high_scale_lib</groupId>
+ <artifactId>high-scale-lib</artifactId>
+ <version>1.0.0</version>
+ <file>${basedir}/lib/high-scale-lib.jar</file>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install clhm-production</id>
+ <phase>initialize</phase>
+ <goals><goal>install-file</goal></goals>
+ <configuration>
+ <packaging>jar</packaging>
+ <groupId>com.reardencommerce</groupId>
+ <artifactId>clhm-production</artifactId>
+ <version>1.0.0</version>
+ <file>${basedir}/lib/clhm-production.jar</file>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install cassandra-javautils</id>
+ <phase>initialize</phase>
+ <goals><goal>install-file</goal></goals>
+ <configuration>
+ <packaging>jar</packaging>
+ <groupId>org.apache.cassandra</groupId>
+ <artifactId>cassandra-javautils</artifactId>
+ <version>1.0.0</version>
+ <file>${basedir}/lib/cassandra-javautils.jar</file>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
@@ -108,29 +177,21 @@
<groupId>libthrift</groupId>
<artifactId>libthrift</artifactId>
<version>917130</version>
- <scope>system</scope>
- <systemPath>${basedir}/lib/libthrift-r917130.jar</systemPath>
</dependency>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra</artifactId>
<version>0.6.0</version>
- <scope>system</scope>
- <systemPath>${basedir}/lib/apache-cassandra-0.6.0.jar</systemPath>
</dependency>
<dependency>
<groupId>org.cliffc.high_scale_lib</groupId>
<artifactId>high-scale-lib</artifactId>
<version>1.0.0</version>
- <scope>system</scope>
- <systemPath>${basedir}/lib/high-scale-lib.jar</systemPath>
</dependency>
<dependency>
<groupId>com.reardencommerce</groupId>
<artifactId>clhm-production</artifactId>
<version>1.0.0</version>
- <scope>system</scope>
- <systemPath>${basedir}/lib/clhm-production.jar</systemPath>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
@@ -202,9 +263,7 @@
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-javautils</artifactId>
- <systemPath>${basedir}/lib/cassandra-javautils.jar</systemPath>
<version>1.0.0</version>
- <scope>system</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment