Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1297

${ivy.module} variable not resolved while executing ivy:deliver task, for non jar-type artefacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.2.0
    • None
    • Ant, Core
    • None
    • WinXPsp3 / JDK-Sun-1.6.0_24 / ANT-1.8.2

    Description

      **************************
      Ivy file of the module is
      **************************
      <ivy-module version="1.0">
      <info organisation="org.efe4it" module="test-wrapper-ivydeps-standalone"/>
      <configurations>
      <conf name="main-compile" description="compilation of main source tree"/>
      <conf name="javadoc" extends="main-compile" description="documentation"/>
      <conf name="test-compile" description="compilation of test source tree"/>
      <conf name="runtime" extends="main-compile" visibility="private" description="run"/>
      <conf name="test" extends="test-compile,runtime" visibility="private" description="test"/>
      </configurations>
      <publications>
      <artifact name="${ivy.module}-main" type="jar" conf="main-compile" ext="jar"/>
      <artifact name="${ivy.module}-test" type="jar" conf="test-compile" ext="jar"/>
      <artifact name="${ivy-module}-javadoc" type="javadoc" conf="javadoc" ext="zip"/>
      </publications>
      <dependencies>
      <dependency org="org.slf4j" name="slf4j" rev="1.5.8" conf="main-compile->core"/>
      <dependency org="org.slf4j" name="slf4j" rev="1.5.8" conf="runtime->log4j"/>
      <dependency org="org.junit" name="junit" rev="4.5" conf="test-compile,test->default"/>
      <dependency org="org.apache.commons" name="commons-collections" rev="3.2.1" conf="main-compile->default"/>
      </dependencies>
      </ivy-module>

      **************************
      Ant target calling deliver
      **************************
      <target name="-ivy-info" depends="-init, -ivy-configure">
      <ivy:info/>
      </target>
      <target name="-ivy-deliver" depends="-init, -ivy-info">
      <echo message="deliver ivy pattern: ${ivy.deliver.ivy.pattern}"/> --> becomes build/lib/ivy.xml
      <echo message="deliver ivy revision: ${ivy.deliver.revision}"/> --> "trunk"
      <ivy:deliver conf="*(public)"
      deliverpattern="${ivy.deliver.ivy.pattern}"
      pubrevision="${ivy.deliver.revision}"
      />
      </target>

      **************************
      Delivered Ivy file
      **************************
      <ivy-module version="1.0">
      <info organisation="org.efe4it" module="test-wrapper-ivydeps-standalone" revision="trunk" status="integration" publication="20110601151114"/>
      <configurations>
      <conf name="main-compile" description="compilation of main source tree"/>
      <conf name="javadoc" extends="main-compile" description="documentation"/>
      <conf name="test-compile" description="compilation of test source tree"/>
      </configurations>
      <publications>
      <artifact name="test-wrapper-ivydeps-standalone-main" type="jar" conf="main-compile" ext="jar"/>
      <artifact name="test-wrapper-ivydeps-standalone-test" type="jar" conf="test-compile" ext="jar"/>
      <artifact name="${ivy-module}-javadoc" type="javadoc" conf="javadoc" ext="zip"/>
      </publications>
      <dependencies>
      <dependency org="org.slf4j" name="slf4j" rev="1.5.8" conf="main-compile->core"/>
      <dependency org="org.junit" name="junit" rev="4.5" conf="test-compile->default"/>
      <dependency org="org.apache.commons" name="commons-collections" rev="3.2.1" conf="main-compile->default"/>
      </dependencies>
      </ivy-module>

      Attachments

        Activity

          People

            maartenc Maarten Coene
            efe4it Emmanuel FOUCHE
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: