ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From easyproglife <>
Subject Possible bug: ivy:install and maven-style repository with namespaces
Date Tue, 20 Mar 2007 10:15:01 GMT

I have Maven2 style repository with namespace elements in ivyconf.xml as in
the examples coming with ivy. The namespaces mainly deal with apache
namespace organisation/module pairs, e.g. converts
commons-logging/commons-logging to apache/commons-logging.

In normal operation the namespace conversion works fine.

The problem is in ivy:install when I request "transitive='true'".

The debug log I get is:
[ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] WARN:     ::          UNRESOLVED DEPENDENCIES         ::
[ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] WARN:     :: [ axis | axis | 1.1 ]: inconsistent module
descriptor file found in
bad organisation: expected='axis' found='apache';
[ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::

The POM header is:

The ivyconf.xml section is:
        <filesystem name="thirdparty">
            <ivy pattern="${ivy.thirdparty.default.root}/${
ivy.thirdparty.default.ivy.pattern}" />
            <artifact pattern="${ivy.thirdparty.default.root}/${
ivy.thirdparty.default.artifact.pattern}" />

        <filesystem name="thirdparty-maven" m2compatible="yes"
            <ivy pattern="${ivy.thirdparty-maven.default.root}/${
ivy.thirdparty-maven.default.ivy.pattern}" />
            <artifact pattern="${ivy.thirdparty-maven.default.root}/${
ivy.thirdparty-maven.default.artifact.pattern}" />

        <namespace name="ibiblio-maven2">

            <rule>    <!-- imported apache maven1 projects -->
                    <src org="apache" module=".+"/>

                    <dest org="$m0" module="$m0"/>
                    <src org="commons-.+" module="commons-.+" />
                    <src org="axis" module="axis" />
                    <src org="xmlrpc" module="xmlrpc" />

                    <dest org="apache" module="$m0"/>

            <rule> <!-- new apache projects -->
                    <src org="apache" />
                    <dest org="org.apache"/>
                    <src org="org.apache" />
                    <dest org="apache" />


As I understand, Ivy already translated axis/axis to apache/axis and it now
cannot understand the POM and therefore cannot define its transitive

Any idea?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message