Hello,
I have 2 maven managed projects, JAR and WAR. JAR is included to the WAR project as a maven dependency, and in the WAR maven configuration is checked “Resolve dependencies from workspace projects”. When I deploy the WAR to the integrated Tomcat, classpath contains classes from the JAR (correct) but TEST classes from the JAR as well (incorrect).
JAR build path is set correctly (src/main/java -> target/classes, src/test/java -> target/test-classes).
thanks in advance for any hint…
INSTALL SUMMARY:
*** Date:
Tuesday, March 30, 2010 12:13:12 PM CEST
** System properties:
OS=Linux
OS version=2.6.31
Java version=1.6.0_13
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319
Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-showsplash
-launcher
/home/marek/Genuitec/MyEclipse 8.5 M2/myeclipse
-name
Myeclipse
–launcher.library
/home/marek/Genuitec/MyEclipse 8.5 M2/../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so
-startup
/home/marek/Genuitec/MyEclipse 8.5 M2/../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata
1eca0019
-install
/home/marek/Genuitec/MyEclipse 8.5 M2
-configuration
/home/marek/Genuitec/MyEclipse 8.5 M2/configuration
-vm
/home/marek/Genuitec/Common/binary/com.sun.java.jdk.linux.x86_1.6.0.013/bin/java