The main problem is that the test and ishield jar files get put into our
final distribution. Our certification people need explanations for each
jar we deploy. They get cranky when I tell them "it's just a test jar,
don't worry about it." 

I believe the correct solution is to mark the dependencies with a
"runtime" property. Then in our custom distribution plugin only included
those in the final package.

Thanks,
C. Helck


-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 17, 2004 4:15 PM
To: Maven Users List
Subject: Re: Dependency properties question


no, not at the moment. I assume you only want to add it for test, or
ishield?

you might need to manually add it to their classpath.

Is there any harm in having it present for compile at the moment?

- Brett


On Fri, 17 Dec 2004 15:25:25 -0500, Helck, Christopher <[EMAIL PROTECTED]>
wrote:
> I'm using the <properties/> tag to mark certain dependencies for 
> special use by a plugin. I do not want these marked dependencies to be

> used by the java classpath. Is this possible? For example I have
> 
>   <dependency>
>      <artifactId>foo</artifactId>
>      <version>1.0</version>
>      <properties><ishield.runtime>true</ishield.runtime></properties>
>   </dependency>
> 
> I want foo-1.0.jar to be excluded from the compile, jar, and dist 
> steps.
> 
> 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]

Reply via email to