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

latest.release with ivy:install

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • Ant
    • None

    Description

      I am pulling some resources from the ibilio resolver and installing to a local enterprise repository. When I try to use "latest.release", the install fails. When I use "latest.integration", the install works.

      When users pull from the local enterprise repository one of the objects installed from ibiblio, latest.release will not work, but latest.integration will. We publish to the local repository with status="release". I would like to remain consistant so users would use latest.release.

      I was also trying to create custom status values (would like beta), but had issues with this when trying to pull the latest version from ibiblio resolver.

      IVY Settings File:

      	<resolvers>
      		<chain name="default">
      			<ibiblio name="central" m2compatible="true" usepoms="false" />
      			<filesystem name="myorg">
      				<ivy pattern="${repo.dir}/[organisation]/[module]/[revision]/ivy-[module]-[revision].xml" />
      				<artifact pattern="${repo.dir}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
      			</filesystem>
      		</chain>
      	</resolvers>
      

      From build.xml:

      		<ivy:install organisation="commons-beanutils" module="commons-beanutils" revision="1.7.0" from="central" to="highmark" overwrite="true" />
      		<ivy:install organisation="commons-beanutils" module="commons-beanutils-core" revision="1.7.0" from="central" to="highmark" overwrite="true" />
      		<ivy:install organisation="commons-beanutils" module="commons-beanutils-bean-collections" revision="1.7.0" from="central" to="highmark" overwrite="true" />
      
      		<ivy:install organisation="commons-beanutils" module="commons-beanutils" revision="latest.integration" from="central" to="highmark" overwrite="true" />
      

      From build.xml that doesn't work:

      		<ivy:install organisation="commons-beanutils" module="commons-beanutils" revision="1.7.0" from="central" to="highmark" overwrite="true" />
      		<ivy:install organisation="commons-beanutils" module="commons-beanutils-core" revision="1.7.0" from="central" to="highmark" overwrite="true" />
      		<ivy:install organisation="commons-beanutils" module="commons-beanutils-bean-collections" revision="1.7.0" from="central" to="highmark" overwrite="true" />
      
      		<ivy:install organisation="commons-beanutils" module="commons-beanutils" revision="latest.release" from="central" to="highmark" overwrite="true" />
      

      Error message:

      init:
      [ivy:cleancache] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/i
      vy/ ::
      [ivy:cleancache] :: loading settings :: file = V:\CORPDATA24\hmk_dev\IVY\fs_use_
      only\ivy-settings.xml
      
      proxy:
      
      commons:
      [ivy:install] :: installing commons-beanutils#commons-beanutils;1.7.0 ::
      [ivy:install] :: resolving dependencies ::
      [ivy:install]   found commons-beanutils#commons-beanutils;1.7.0 in central
      [ivy:install] :: downloading artifacts to cache ::
      [ivy:install] downloading http://repo1.maven.org/maven2/commons-beanutils/common
      s-beanutils/1.7.0/commons-beanutils-1.7.0.jar ...
      [ivy:install] ........... (184kB)
      [ivy:install] .. (0kB)
      [ivy:install]   [SUCCESSFUL ] commons-beanutils#commons-beanutils;1.7.0!commons-
      beanutils.jar (693ms)
      [ivy:install] :: installing in highmark ::
      [ivy:install]   published commons-beanutils to V:\CORPDATA24\hmk_dev\IVY\hicr\co
      mmons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar
      [ivy:install]   published ivy to V:\CORPDATA24\hmk_dev\IVY\hicr\commons-beanutil
      s\commons-beanutils\1.7.0\ivy-commons-beanutils-1.7.0.xml
      [ivy:install] :: install resolution report ::
      [ivy:install] :: resolution report :: resolve 0ms :: artifacts dl 700ms
              ---------------------------------------------------------------------
              |                  |            modules            ||   artifacts   |
              |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
              ---------------------------------------------------------------------
              |      default     |   1   |   1   |   0   |   0   ||   1   |   1   |
              ---------------------------------------------------------------------
      [ivy:install] :: installing commons-beanutils#commons-beanutils-core;1.7.0 ::
      [ivy:install] :: resolving dependencies ::
      [ivy:install]   found commons-beanutils#commons-beanutils-core;1.7.0 in central
      [ivy:install] :: downloading artifacts to cache ::
      [ivy:install] downloading http://repo1.maven.org/maven2/commons-beanutils/common
      s-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar ...
      [ivy:install] ........... (164kB)
      [ivy:install] .. (0kB)
      [ivy:install]   [SUCCESSFUL ] commons-beanutils#commons-beanutils-core;1.7.0!com
      mons-beanutils-core.jar (464ms)
      [ivy:install] :: installing in highmark ::
      [ivy:install]   published commons-beanutils-core to V:\CORPDATA24\hmk_dev\IVY\hi
      cr\commons-beanutils\commons-beanutils-core\1.7.0\commons-beanutils-core-1.7.0.j
      ar
      [ivy:install]   published ivy to V:\CORPDATA24\hmk_dev\IVY\hicr\commons-beanutil
      s\commons-beanutils-core\1.7.0\ivy-commons-beanutils-core-1.7.0.xml
      [ivy:install] :: install resolution report ::
      [ivy:install] :: resolution report :: resolve 0ms :: artifacts dl 466ms
              ---------------------------------------------------------------------
              |                  |            modules            ||   artifacts   |
              |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
              ---------------------------------------------------------------------
              |      default     |   1   |   1   |   0   |   0   ||   1   |   1   |
              ---------------------------------------------------------------------
      [ivy:install] :: installing commons-beanutils#commons-beanutils-bean-collections
      ;1.7.0 ::
      [ivy:install] :: resolving dependencies ::
      [ivy:install]   found commons-beanutils#commons-beanutils-bean-collections;1.7.0
       in central
      [ivy:install] :: downloading artifacts to cache ::
      [ivy:install] downloading http://repo1.maven.org/maven2/commons-beanutils/common
      s-beanutils-bean-collections/1.7.0/commons-beanutils-bean-collections-1.7.0.jar
      ...
      [ivy:install] .... (25kB)
      [ivy:install] .. (0kB)
      [ivy:install]   [SUCCESSFUL ] commons-beanutils#commons-beanutils-bean-collectio
      ns;1.7.0!commons-beanutils-bean-collections.jar (1176ms)
      [ivy:install] :: installing in highmark ::
      [ivy:install]   published commons-beanutils-bean-collections to V:\CORPDATA24\hm
      k_dev\IVY\hicr\commons-beanutils\commons-beanutils-bean-collections\1.7.0\common
      s-beanutils-bean-collections-1.7.0.jar
      [ivy:install]   published ivy to V:\CORPDATA24\hmk_dev\IVY\hicr\commons-beanutil
      s\commons-beanutils-bean-collections\1.7.0\ivy-commons-beanutils-bean-collection
      s-1.7.0.xml
      [ivy:install] :: install resolution report ::
      [ivy:install] :: resolution report :: resolve 0ms :: artifacts dl 1177ms
              ---------------------------------------------------------------------
              |                  |            modules            ||   artifacts   |
              |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
              ---------------------------------------------------------------------
              |      default     |   1   |   1   |   0   |   0   ||   1   |   1   |
              ---------------------------------------------------------------------
      [ivy:install] :: installing commons-beanutils#commons-beanutils;latest.release :
      :
      [ivy:install] :: resolving dependencies ::
      [ivy:install] :: downloading artifacts to cache ::
      [ivy:install] :: installing in highmark ::
      [ivy:install] :: install resolution report ::
      [ivy:install] :: resolution report :: resolve 0ms :: artifacts dl 0ms
              ---------------------------------------------------------------------
              |                  |            modules            ||   artifacts   |
              |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
              ---------------------------------------------------------------------
              |      default     |   1   |   0   |   0   |   0   ||   0   |   0   |
              ---------------------------------------------------------------------
      [ivy:install]
      [ivy:install] :: problems summary ::
      [ivy:install] :::: WARNINGS
      [ivy:install]           module not found: commons-beanutils#commons-beanutils;la
      test.release
      [ivy:install]   ==== central: tried
      [ivy:install]     -- artifact commons-beanutils#commons-beanutils;latest.release
      !commons-beanutils.jar:
      [ivy:install]     http://repo1.maven.org/maven2/commons-beanutils/commons-beanut
      ils/[revision]/commons-beanutils-[revision].jar
      [ivy:install]     [1.8.3 (MD), 1.8.2 (MD), 1.8.1 (MD), 1.8.0 (MD), 1.7.0 (MD), 1
      .6.1 (MD), 1.6 (MD), 1.5 (MD), 1.4.1 (MD), 1.4 (MD), 1.3 (MD), 1.2 (MD), 1.0 (MD
      )]
      [ivy:install]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:install]           ::          UNRESOLVED DEPENDENCIES         ::
      [ivy:install]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:install]           :: commons-beanutils#commons-beanutils;latest.release: not found
      [ivy:install]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:install]
      [ivy:install]
      [ivy:install] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
      
      BUILD FAILED
      Z:\My Documents\Projects\ABADS\IVY\ivy\build.xml:36: Problem happened while installing modules - see output for details
      
      Total time: 1 minute 12 seconds
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            wimpy James Neumyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: