Using custom cassandra.yaml with Cassandra Maven Plugin

233 views
Skip to first unread message

Chris Kaminski

unread,
Apr 7, 2011, 5:55:23 PM4/7/11
to hector...@googlegroups.com
I'm currently using cassandra-maven-plugin 0.7.2-1, and I'm trying to use it to manage my integration tests.  Unfortunately, for my tests I need parameters in cassandra.yaml that are different from the version that is packaged in the plugin.  Currently I have a custom version of the plugin, but is there a better way to manage this? 

Stephen Connolly

unread,
Apr 8, 2011, 3:24:18 AM4/8/11
to hector...@googlegroups.com

users@mojo is the correct list for the maven plugin. iirc there is a means to add random stuff into the yaml. if not please file a jira

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen

On 7 Apr 2011 22:55, "Chris Kaminski" <cfk...@gmail.com> wrote:

Stephen Connolly

unread,
Apr 8, 2011, 4:43:50 AM4/8/11
to hector...@googlegroups.com

Stephen Connolly

unread,
Apr 8, 2011, 4:48:06 AM4/8/11
to hector...@googlegroups.com
e.g.

<project>
...
<build>
...
<plugins>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cassandra-maven-plugin</artifactId>
<version>0.7.4-1</version>
<configuration>
<yaml><![CDATA[hinted_handoff_enabled: false
concurrent_reads: 4
concurrent_writes: 16
column_index_size_in_kb: 128
dynamic_snitch: false]]></yaml>
</configuration>
</plugin>
...
</plugins>
...
</build>
...
</project>

IIRC the yaml gets applied on top of the defaults so you can basically
override whatever you want

-Stephen

Reply all
Reply to author
Forward
0 new messages