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

Reply via email to