Can someone point me to a sample of executing a java program from exec:java
that requires a jar in the class path that comes from an external package.
In otherwords, manually setting the classpath. This isn't working for me.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
<phase>process-test-resources</phase>
</execution>
</executions>
<configuration>
<mainClass>com.tc.object.tools.BootJarTool</mainClass>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<argument>${project.build.directory}/dependency/terracotta-trunk/lib/tc.jar</argument>
<argument>make</argument>
</arguments>
</configuration>
</plugin>
Thanks for any help
--
View this message in context:
http://www.nabble.com/Classpath-in-exec%3Ajava-tf3890648s177.html#a11029155
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]