I think that you can't actually use recursive dependencies.

Perhaps, you can use something like this in your maven.xml :

 <postGoal
    name="dist:prepare-bin-filesystem">

    <deploy:copy-deps todir="${maven.build.dir}/${maven.final.name}/bin/"/>

  </postGoal>

It will copy in your distribution directory all the dependendencies.

But you need to add the regexp dependency in your project.xml


Arnaud

-----Message d'origine-----
De : Jorge CAMPOS [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 29 janvier 2004 14:52
À : [EMAIL PROTECTED]
Objet : jar dependencies


Hello...

I guess I'll ask a basic question, but I didn't find the doc explaining how
to do it, and my efforts have been in vain until this moment.

Situation: We have several projects one for each lib we have, and we have an
application project that depends on what's generated by the this
lib-projects. the question is: is there a way to avoid specifying indirect
dependencies in the app project?

simplifying:
project A depends on project B which depends on regexp.jar

When project A is built regexp.jar should be copied, if not, the project A
won't work.

Thanks a lot for any hints on this.

Jorge


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to