I had the same need for a project. In the same project I build jars,
war, ear and because those jars was not in project.xml and the ear
plugin create the application.xml only from dependiencies I made a small
tool to inject dynamic dependiences before running the ear goals; and it
works well
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 2:28 PM
To: Maven Users List
Subject: Re: How to specify Plugin Dependencies???
Currently, runtime dependencies are treated the same as build time
dependencies - you'll need to specify them in the plugin's
project.xml.
If you need to pass them to ant tasks in the plugin, you should setup
a classpath using those dependencies (look for getDependencyPath).
Cheers,
Brett
On Thu, 9 Dec 2004 13:38:39 -0500, Helck, Christopher <[EMAIL PROTECTED]>
wrote:
>
> I'm writing a plugin which has runtime dependencies. How do I specify
> them? I don't need the dependencies when I build the plugin, only when
> it is used.
>
> Thanks,
> C. Helck
>
> The information contained in this e-mail is confidential. This e-mail
is intended only for the stated addressee. If you are not an addressee,
you must not disclose, copy, circulate or in any other way use or rely
on the information contained in this e-mail. if you have received this
e-mail in error, please inform us immediately and delete it and all
copies from your system.
>
> EBS Dealing Resources International Limited. Registered address: 10
Paternoster Square, London EC4M 7DY, United Kingdom. Registered number
2669861.
>
> EBS Dealing Resources, Inc, registered in Delaware. Address: 535
Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond
road, Building F - Floor 3, Parsippany, NJ 07054, USA.
>
> EBS Dealing Resources Japan Limited, a Japanese Corporation. Address:
Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku, Tokyo
104-0033, Japan.
>
>
-
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]