[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] WAR project having two dependencies of a: jar, test-jar : not working
|
If your dependencies are jars from your local repository, then try a dev build of m2e-wtp 0.15.0 from
http://download.jboss.org/jbosstools/builds/staging/m2eclipse-wtp-e37/all/repo/. It fixes
https://issues.sonatype.org/browse/MECLIPSEWTP-184.
HIH. Regards,
Fred Bricon
On Tue, Jan 17, 2012 at 3:03 PM, Asaf Mesika
<asaf.mesika@xxxxxxxxx> wrote:
Hi,
I have a WAR project which depends on same GAV twice: once with jar type and another with test-jar type (scope: test).
From some reason, only the test jar is taken into the WAR when deployed to tomcat from within Eclipse.
If I remove the test-jar dependency, the jar is taken into the war as it should, but of course my tests in the WAR fail compilation.
Any workaround for this?
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
--
"Have you tried turning it off and on again" - The IT Crowd