Thanks for your answer, if there is no other way, i will do it like like
you,  but isn't it possible to get the dependecies resolved without
installing to my local repository?
Because for compiling the dependecies also get resolved.... just in the
packaging stage this doesn't work (maybe it is a problem of
the dependency-maven-plugin...)
if it there isn't an easy way, i'm interested in fixing the
dependency-maven-plugin (or doing something similar)....
but can someone tell me the class and functions which are responsible
for getting the project wide built jar files?

thanks
Gerhard

Robert Taylor wrote:

> Gerhard, I have 4 subprojects which create jar files which are
> ultimately used by my webapp project. The subprojects deploy the jar
> files to my local repository (using install goal) and I have the
> necessary dependencies defined in my webapp project. Works fine for me.
>
> /robert
>
> Gerhard Weis wrote:
>
>> Hi
>> I'm currently trying to build a project with maven-2.0.1 which consists
>> of 5 jars.
>> the build works quite fine.
>> Now I have some Problems during pacakging.
>> I have an own subproject to build a war with these 5 jars and some
>> others which must be included into the war.
>> I need to put some libraries into WEB-INF/lib (works fine) and I need
>> some other jars packaged into WEB-INF/clientLib and subfolders there.
>> So far so good. For now I copy most of my needed jars with
>> depency-maven-plugin to WEB-INF/clientLib but I also need some jars
>> from the other sub-projects of this complete project and i don't know
>> how to find them without installing them into a local repository...
>> Any help please?
>> (during compilation of the project there are also some dependencies
>> between the sub-projects, but they get resolved, but not for the
>> packaging stage and for dependency-maven-plugin... mybe i have to patch
>> dependecy-maven-plugin or please someone knows another good solution)
>>
>> Gerhard
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to