-Classpath for java
Jeremy Lewi 2011-06-26, 16:53
I'm having trouble understanding how the class path is being set by
maven for java.
When I run a unit test using the maven surefire plugin
mvn -Dtest=org.apache.avro.mapred.TestWordCount test -X
The output shows the following directories are on the classpath.
But when I try to execute a class (I put a main method in
lang/java/.../Pair.java for testing)
mvn exec:exec -Dexec.mainClass=Pair -X
is on the path.
So I'm trying to determine how to configure the exec plugin to properly
set the class path so that I can execute programs.
If anyone has any pointers I would greatly appreciate it.