>
> Add a dependency to that and it will end up in the lib folder. Create
> that extra jar artifact with a classifier in the Sa project.
>
If so I will have to jars under the  lib,and this two jars own some same
classes, maybe conflict?

for the classes: use the unpack goal of the dependency plugin. Define the
> classes you want through the include param.

Which plugin? jar plugin?


>
>
> On Mon, Nov 9, 2009 at 06:25, maven apache <[email protected]> wrote:
>
> > Hi:
> > A parent project of pom format(in the pom.xml), it contains two modules ,
> > Sa
> > with jar packaging and Sb with war packaging .
> > And the Sb need the classes of Sa,so I add the Sa as a dependency in
> > Sb.pom,and it works. I found the Sa,jar under the Sb/web-info/lib
> > Now I have a problem,a few classes in the Sa I want to put them in the
> > Sb/web-info/classes rather than Sb/web-info/lib/Sa,jar.
> > That to say I only want some part of the classes jared to a jar file ,and
> > the other classes can be put to the classes directory under the web root
> .
> > Can maven do this?
> >
>

Reply via email to