I am trying to enable the java agent for the Cassandra Maven Plugin. Here
is an excerpt of my most recent Maven POM:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
    <artifactId>cassandra-maven-plugin</artifactId>
    <version>1.2.1-1</version>
    <configuration>

<argline>-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar</argline>
      <yaml>partitioner: org.apache.cassandra.dht.RandomPartitioner</yaml>
    </configuration>
    <dependencies>
      <dependency>
        <groupId>com.github.stephenc</groupId>
        <artifactId>jamm</artifactId>
        <version>0.2.5</version>
      </dependency>
    </dependencies>
</plugin>

This doesn't seem to work. I would appreciate any suggestions on how to add
the Java agent to the command line when starting Cassandra.

Thanks in advance for your help!

-Tony Piazza

Reply via email to