ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <davidcor...@gmail.com>
Subject Ivy looking for wrong artifact name
Date Tue, 16 Sep 2008 14:32:02 GMT
I'm using a self-compiled latest trunk version of Ivy and I'm having a
problem with the ant publish task.My module descriptor is:
=================================
<?xml version="1.0" encoding="UTF-8"?>
<!--Ivy file to describe the dependencies of the Allfinanz common module-->
<ivy-module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:noNamespaceSchemaLocation="${workarea.root.dir}/master_build/ivy.xsd"
 version="2.0">
    <info organisation="com.allfinanz" module="ure-api"/>
    <!--Define different usage configurations to prevent unnecessary
resolution of modules we're not using-->
    <configurations>
        <conf name="compile" description="only jars need for compilation"/>
        <conf name="test"  extends="compile" description="jars needed for
testing"/>
    </configurations>
    <!--Define our dependencies on other modules-->
    <dependencies>
        <!--<dependency org="com.allfinanz" name="common" rev="1.0"
conf="compile->compile"/>-->
        <dependency org="junit" name="junit" rev="4.4"
conf="test->default"/>
<dependency org="com.allfinanz" name="framework" rev="410-${build.type}"
conf="compile->compile"/>
    </dependencies>
</ivy-module>
==================================
I've use the ant-publish task as follows:
==================================
<ivy:publish resolver="local" pubrevision="${project.release}-${build.type}"
overwrite="true">
<artifacts pattern="${build.distrib.dir}/[artifact].[ext]" />
</ivy:publish>
<ivy:publish resolver="shared"
pubrevision="${project.release}-${build.type}" overwrite="true">
<artifacts pattern="${build.distrib.dir}/[artifact].[ext]" />
</ivy:publish>
===================================
So surely Ivy should be looking for ure-api.jar in ${build.distrib.dir}?

Instead I'm seeing the following:
==================================
C:\CC\workareas\410\INT\uwe\api\build.xml:64: The following error occurred
while executing this line:
C:\CC\workareas\410\INT\master_build\build_common_macros.xml:134: impossible
to publish artifacts for com.allfinanz#ure-api;working@vm-cruise-01:
java.io.IOException: missing artifact com.allfinanz#ure;410-INT!ure.jar
==================================
It's looking for ure.jar when it should be looking for ure-api.jar. Any
ideas?

-- 
"A lot of people are afraid of heights. Not me, I'm afraid of widths."

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