Description
It seems that rules are not properly applied to parent projects when rules are applied to them. If the parent project is explicitly installed first, then there are no problems, but if they are not then something breaks.
e.g. I have to do the following:
<ivy:install organisation="org.apache.ws" module="xmlrpc" revision="3.0" from="installerChain" to="local" transitive="true" overwrite="true" />
Before
<ivy:install organisation="org.apache.ws" module="xmlrpc-common" revision="3.0" from="installerChain" to="local" transitive="true" overwrite="true" />
Otherwise it fails with an error similar to
public: bad organisation found in http://repo1.maven.org/maven2/org/apache/xmlrpc/xmlrpc/3.0/xmlrpc-3.0.pom: expected='org.apache.xmlrpc found='org.apache.ws'
Given that I have the following rule:
<rule> <fromsystem> <src org="(org\.apache).ws" module="xmlrpc.*" /> <dest org="$o1.xmlrpc" module="$m0" /> </fromsystem> <tosystem> <src org="(org\.apache)\.xmlrpc" module="xmlrpc.*" /> <dest org="$o1.ws" module="$m0" /> </tosystem> </rule>