ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlton Brown" <>
Subject Question on semantics of <module> rules in Ivy 2.1.0
Date Sat, 31 Oct 2009 09:56:39 GMT
Greetings all,


I have a resolution chain containing Maven central, but my company's
modules are published internally only, hence I wish to avoid searching
Maven central for artifacts in the 'mycompany' organization, and vice


The first case is easy... I just define 

<module organisation="mycompany" name=".*" resolver="integration"/>


And everything is good.


The problem is when I wish to have Ivy use a subset of 2 resolvers for
non-'mycompany' artifacts.


For just one resolve, a zero-width negative lookahead seems sufficient:

<module organisation="^(?!mycompany).*" name=".*"


But it seems that I can't apply more this regex to more than one
resolver.   If I use multiple rules, only the first rule is observed:

<module organisation="^(?!mycompany).*" name=".*"

<module organisation="^(?!mycompany).*" name=".*" resolver="public"/> 


The result is that Ivy matches artifacts in 'thirdparty' but not in


What is the correct semantics to use in this case?






This message and any attachment are confidential and may be
privileged or otherwise protected from disclosure and solely for
the use of the person(s) or entity to whom it is intended. If you
have received this message in error and are not the intended
recipient, please notify the sender immediately and delete this
message and any attachment from your system. If you are not the
intended recipient, be advised that any use of this message is
prohibited and may be unlawful, and you must not copy this
message or attachment or disclose the contents to any other person.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message