We have a project structure as follows:
Project
src
build
test
build
There is a pom.xml file in the Project directory and it defines where the
source and test code live and where to compile them to.
I have a class in test/build that I need to run with the Maven exec plugin.
I keep getting ClassNotFoundExceptions unless I manually copy the class in
question to the src/build directory, which obviously won't work. Also, when
I do manually copy the class to the src/build directory, then it's not
finding the classes required from the other dependencies in the project.
How do I get this plugin configured so that the classpath it uses will
include the test code in the project that I'm in as well as all
prerequisites (source and test) of the project?
--
View this message in context:
http://www.nabble.com/Maven-exec-plugin-classpath-problems-tp21876560p21876560.html
Sent from the mojo - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email