You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by fenallen <fe...@gmx.net> on 2005/07/15 11:55:25 UTC

jar override limitations ?

Hi.

The jar overrides as specified in the documentation ...

maven.jar.artifactId = [path]
maven.jar.artifactId = [version]


... work fine.

However, there this takes no notice of the <groupId> property specified 
in the project.xml fiile's dependencies.  Is it therefore impossible to 
deal with situation where jars with the same artifactId exist in 
different groups?  Different internal projects based on similar code 
bases could run into this situation for example.  Would the only way to 
deal with this then be to change the dependencies directly in the 
various project.xml files? (I have a multiproject setup of course).

Also, is it possible to specify overrides for other artifact types?  
Specifically for .war files?

Allen.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: jar override limitations ?

Posted by Brett Porter <br...@gmail.com>.
These are 2 limitations of the jar override mechanism - you are
correct. You can only use artifactId. There are no workarounds.

Cheers,
Brett

On 7/15/05, fenallen <fe...@gmx.net> wrote:
> Hi.
> 
> The jar overrides as specified in the documentation ...
> 
> maven.jar.artifactId = [path]
> maven.jar.artifactId = [version]
> 
> 
> ... work fine.
> 
> However, there this takes no notice of the <groupId> property specified
> in the project.xml fiile's dependencies.  Is it therefore impossible to
> deal with situation where jars with the same artifactId exist in
> different groups?  Different internal projects based on similar code
> bases could run into this situation for example.  Would the only way to
> deal with this then be to change the dependencies directly in the
> various project.xml files? (I have a multiproject setup of course).
> 
> Also, is it possible to specify overrides for other artifact types?
> Specifically for .war files?
> 
> Allen.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org