On Mon, Nov 9, 2009 at 06:42, maven apache apachemav...@gmail.com wrote:
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,
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
This is what I would try:
for the classes: use the unpack goal of the dependency plugin. Define the
classes you want through the include param.
for the lib: you should create a separate jar that only contains what you
want. Add a dependency to that and it will end up in the lib folder. Create
that
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.