On Sun, Aug 30, 2009 at 1:15 PM, Andrey
Razumovsky<razumovsky.and...@gmail.com> wrote:

> I've got a project with e.g. jar packaging. All my dependencies have
> "provided" scope. My problem is that Maven compiler plugin adds unnecessary
> classes from dependent library to output folder - e.g. if I have a class
> mypack.MyServlet extends HttpServlet, javax.servlet package will be present
> in compile output directory and therefore will be added to resulting JAR.

Can you reproduce this with a simple project started from the
quickstart archetype?  I've never seen the jar plugin package up
dependencies.  (You can do it with the assembly plugin.)  Without
seeing the pom it's hard to guess what you've done so far.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to