Good day,

AFAIU, you have a single maven project that packages several binaries and
adds them to the classpaths via a plugin that you've created. But the binary
that you add via your plugin gets overriden by the binary added via maven's
transitive dependency....Did I get that right?

Curious, what made you think that that binary gets overriden? Maybe your
classpath issue is a plugin specific problem ( i.e. a plugin only uses the
classpath maven made and not yours ).

Cheers,
Franz


Goel, Deepak wrote:
> 
> I have a project that builds multiple artifacts - a jar, a DLL and
> others that are shared by the Jar and DLL. For various reasons, we have
> decided to create a single POM that has plug-ins in right phases to
> build the DLL.
> 
>  
> 
> So we decided to package this as a ZIP that gets unzipped at the right
> time. We also have a plug-in that adds the Jar file as a dependency. The
> issue is that dependency on Jar file gets overwritten during transitive
> dependency resolution. Interestingly, the direct dependencies aren't
> affected.
> 
>  
> 
> For example, if there's a project C that depends on B. B in turn depends
> on A. When I compile C, B.jar remains in the classpath but A.jar gets
> removed. I have verified that the plug-in indeed adds A.jar.
> 
>  
> 
> I'll appreciate if somebody can help me resolve this issue.
> 
>  
> 
> Deepak Goel | Small Business Division, Intuit | direct - (650) 944-3287
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Multiple-artifacts-tf3550158s177.html#a9932478
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to