Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set excludeScope for dependency:copy-dependencies

  • Loading branch information...
commit b92f9ad8e6668215d0b4c24ed320a6c7bf90bcb9 1 parent 6362589
@thobbs authored
Showing with 16 additions and 6 deletions.
  1. +1 −1  README.mkd
  2. +15 −5 pom.xml
View
2  README.mkd
@@ -14,7 +14,7 @@ Getting Started
3. Set $FLUME_CLASSPATH for all terminals which will run Flume master or node:
~~~~~~ {bash}
-export FLUME_CLASSPATH=`pwd`/flume-plugin-cassandrasink-0.8.jar:`pwd`/jug-asl-2.0.0.jar
+export FLUME_CLASSPATH=`pwd`/flume-cassandra-plugin-1.0.0.jar:`pwd`/uuid-3.2.0.jar:`pwd`/cassandra-thrift-1.0.6.jar
~~~~~~
4. Modify flume-site.xml (you may start out by copying
View
20 pom.xml
@@ -51,11 +51,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <configuration>
- <outputDirectory>
- ${project.build.directory}
- </outputDirectory>
- </configuration>
+ <executions>
+ <execution>
+ <id>default-cli</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <excludeScope>provided</excludeScope>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
@@ -67,6 +75,7 @@
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-thrift</artifactId>
<version>1.0.6</version>
+ <scope>compile</scope>
</dependency>
<dependency>
@@ -80,6 +89,7 @@
<groupId>com.github.stephenc.eaio-uuid</groupId>
<artifactId>uuid</artifactId>
<version>3.2.0</version>
+ <scope>compile</scope>
</dependency>
<dependency>
Please sign in to comment.
Something went wrong with that request. Please try again.