My dependencies are from a workspace project. In the bug 368230 they discuss a different* classifier* for a certain project (artifact). In my case it's not a classifier but a *type*: jar and test-jar.
In light of this information - can this issue be resolved some how? On Tue, Jan 17, 2012 at 4:15 PM, Fred Bricon <[email protected]> wrote: > 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. > > If your dependencies are coming from a workspace project, then you're > probably facing https://bugs.eclipse.org/bugs/show_bug.cgi?id=368230 for > which there is no workaround AFAIK. > > HIH. Regards, > > Fred Bricon > > On Tue, Jan 17, 2012 at 3:03 PM, Asaf Mesika <[email protected]>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 >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/m2e-users >> >> > > > -- > "Have you tried turning it off and on again" - The IT Crowd > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
