The useTestClasspath configuration option adds test classes and
resources to the classpath used by jetty:run.
Justin
-Original Message-
From: Todd Orr [mailto:torr0...@gmail.com]
Sent: Friday, May 01, 2009 11:39 AM
To: Maven Users List
Subject: Re: Jetty and using src/test/webapp
This
This is not so unusual. Consider that I have a similar issue. I have spring
configs that are only used for integration testing. These reside in
src/test/resource. When firing up jetty:run it cannot read those resources
as defined in my web.xml via classpath:resource. Furthermore, the jetty
plugin c
I think you'd have to copy the files all to one directory and use that
instead, but that would prevent the automatic recompilation.
You might be able to add a profile that adds the test directory as an
additional source directory, but be careful here that it will pollute
target/classes for an even