Apache Ivy Changelog

What's new in Apache Ivy 2.4.0

Jan 3, 2015
  • NEW:
  • the buildobr task can now work a set of resolved artifacts: useful for managing an OSGi target platform
  • fixdeps task: serializes transitively resolved dependencies into an ivy.xml file
  • IvyDependencyTree task : display a dependency tree on the console
  • Support Conditional Setting of a Property (IVY-1367)
  • Exposing some parent metadata (organisation, module, revision, branch) as properties (IVY-1288)
  • symlinkmass feature based on symlink feature of ivy:retrieve (IVY-1252) (Thanks to Gene Smith)
  • Agent authentication for SSH and SFTP transports (IVY-1421)
  • New OSGi resolver 'osgi-agg': a chain resolver dedicated to better handle OSGi dependencies
  • Add support for "packed" artifacts: .pack.gz bundles in an OSGi P2 repository for instance
  • Ivy Bintray resolver (IVY-1474) (Thanks to Evgeny Goldin)
  • IMPROVEMENT:
  • Generate POMs with /xsd/maven-4.0.0.xsd reference instead of old /maven-v4_0_0.xsd (IVY-1491) (thanks to Hervé Boutemy)
  • Add support for packed jar within an OSGi bundle
  • ModuleRules.getRule is O(n) leading to resolution slowness (IVY-1465) (Thanks to Zhong Wang aka Kewpie)
  • ivy:makepom will generate an exclusion when transitive=false on a dependency (IVY-1470)
  • New LockStrategy available based on NIO FileLocks (IVY-1424)
  • Optional ivysettings directives (IVY-1392) (thanks to Yanus Poluektovich)
  • add support for source bundles from p2 repositories
  • add support for source URI from OBR repositories
  • Also copy original metadata artifact (e.g. POM) on ivy:install (IVY-1431) (Thanks to Erwin Tratar)
  • useOrigin will do avoid copy with url resolvers configured with a 'file:/' URL
  • add support for source artifacts in buildobr task
  • add possibility to configure the User-Agent http header by setting a property http.agent (Thanks to Tony Likhite)
  • FIX:
  • impossible to get artifacts when data has not been loaded. (IVY-1399) (Thanks to David Turner)
  • regression introduced by IVY-1457, dependency management wasn't properly handled introducing lots of resolution failures
  • The SSH resolvers fails if the un-required jsch jar is missing (IVY-1471)
  • failed to resolve dynamic revisions in some cases for URL repositories (IVY-1472)
  • ClassCastException in Eclipse 4.4.1 (IVY-1487) (Thanks to Carsten Pfeiffer)
  • NullPointerException when accessing charset to invalid URL (IVY-1452) (Thanks to Frédéric Riviere)
  • Can't resolve wildcard dependencies when remote artifact server does not set content-type header (IVY-1493) (Thanks to Andrew Bernhagen)
  • In IvyDE, Ivy fails to parse ivy-settings.xml file if it contains element (thanks to Gregory Amerson) (IVY-1441)
  • ParseException when "Bundle-Description" is present in OSGi MANIFEST.MF (IVY-1438)
  • NIO FileLocker released locks too early (IVY-1424) (thanks to Charles Duffy)
  • Ssh Resolver doesn't work with Java 7 (IVY-1408) (thanks to Mykhailo Delegan)
  • Parsing publication date in Ant tasks not thread-safe (IVY-1412)
  • NullPointerException when using httpclient and server doesn't return content-type header (IVY-1400) (thanks to Frederic Riviere)
  • Properly handle evicted nodes in ResolveReport
  • Artifact repository locking did not correctly handle threaded use (IVY-1454) (thanks to Carsten Pfeiffer)
  • Better support for "Bundle-RequiredExecutionEnvironment" from an OSGi MANIFEST.MF
  • When inheriting a module descriptor, also merge the exclude rules
  • Correct application of mediators (ie. override) during conflict resolution (IVY-1455)
  • Fix revision number mapping across namespaces (IVY-1423)
  • fix a NPE when loading a composite P2 repository with no children
  • fix missing configuration when fixdeps is used with a partial resolve
  • XmlModuleDescriptorWritter doesn't support fully extra infos elements (IVY-1457)
  • DOCUMENTATION:
  • Broken link in documentation (IVY-1405)
  • Explicitly document that threaded use is not supported.

New in Apache Ivy 2.4.0 RC 1 (Mar 27, 2014)

  • Highlights:
  • some new Ant tasks
  • improved OSGI support
  • numerous bug fixes as documented in Jira and in the release notes
  • Changes:
  • DOCUMENTATION: Broken link in documentation (IVY-1405)
  • DOCUMENTATION: Explicitly document that threaded use is not supported.
  • NEW: the buildobr task can now work a set of resolved artifacts: useful for managing an OSGi target platform
  • NEW: fixdeps task: serializes transitively resolved dependencies into an ivy.xml file
  • NEW: IvyDependencyTree task : display a dependency tree on the console
  • NEW: Support Conditional Setting of a Property (IVY-1367)
  • NEW: Exposing some parent metadata (organisation, module, revision, branch) as properties (IVY-1288)
  • NEW: symlinkmass feature based on symlink feature of ivy:retrieve (IVY-1252) (Thanks to Gene Smith)
  • NEW: Agent authentication for SSH and SFTP transports (IVY-1421)
  • NEW: New OSGi resolver 'osgi-agg': a chain resolver dedicated to better handle OSGi dependencies
  • NEW: Add support for "packed" artifacts: .pack.gz bundles in an OSGi P2 repository for instance
  • IMPROVEMENT: New LockStrategy available based on NIO FileLocks (IVY-1424)
  • IMPROVEMENT: Optional ivysettings directives (IVY-1392) (thanks to Yanus Poluektovich)
  • IMPROVEMENT: add support for source bundles from p2 repositories
  • IMPROVEMENT: add support for source URI from OBR repositories
  • IMPROVEMENT: Also copy original metadata artifact (e.g. POM) on ivy:install (IVY-1431) (Thanks to Erwin Tratar)
  • IMPROVEMENT: useOrigin will do avoid copy with url resolvers configured with a 'file:/' URL
  • IMPROVEMENT: add support for source artifacts in buildobr task
  • IMPROVEMENT: add possibility to configure the User-Agent http header by setting a property http.agent (Thanks to Tony Likhite)
  • FIX: In IvyDE, Ivy fails to parse ivy-settings.xml file if it contains element (thanks to Gregory Amerson) (IVY-1441)
  • FIX: ParseException when "Bundle-Description" is present in OSGi MANIFEST.MF (IVY-1438)
  • FIX: NIO FileLocker released locks too early (IVY-1424) (thanks to Charles Duffy)
  • FIX: Ssh Resolver doesn't work with Java 7 (IVY-1408) (thanks to Mykhailo Delegan)
  • FIX: Parsing publication date in Ant tasks not thread-safe (IVY-1412)
  • FIX: NullPointerException when using httpclient and server doesn't return content-type header (IVY-1400) (thanks to Frederic Riviere)
  • FIX: Properly handle evicted nodes in ResolveReport
  • FIX: Artifact repository locking did not correctly handle threaded use (IVY-1454) (thanks to Carsten Pfeiffer)
  • FIX: Better support for "Bundle-RequiredExecutionEnvironment" from an OSGi MANIFEST.MF
  • FIX: When inheriting a module descriptor, also merge the exclude rules
  • FIX: Correct application of mediators (ie. override) during conflict resolution (IVY-1455)
  • FIX: Fix revision number mapping across namespaces (IVY-1423)
  • FIX: fix a NPE when loading a composite P2 repository with no children
  • FIX: fix missing configuration when fixdeps is used with a partial resolve
  • FIX: XmlModuleDescriptorWritter doesn't support fully extra infos elements (IVY-1457)

New in Apache Ivy 2.3.0 (Feb 4, 2013)

  • DOCUMENTATION: Bad example in Project dependencies Tutorial (IVY-1263)
  • DOCUMENTATION: remove deprecated defaultCache setting from examples (IVY-1273) (thanks to Joseph Boyd)
  • DOCUMENTATION: link to FAQ is incorrect in distribution files (IVY-793) (thanks to Joseph Boyd)
  • DOCUMENTATION: The tag version-matchers is missing attribute in documentation (IVY-1292) (thanks to Per Arnold Blaasmo)
  • DOCUMENTATION: wrong default resolver documented on the 'How does it work' page (IVY-1265)
  • DOCUMENTATION: Correct outdated links to configuration pages (IVY-1266)
  • DOCUMENTATION: Documentation and Implementation mismatch of makepom (IVY-1383) (thanks to Thomas Kurpick)
  • DOCUMENTATION: added link to extra beginners guide (IVY-1381)
  • NEW: [orgPath] can now be used as token in ivy/artifact patterns
  • NEW: New Ant datatype ivy:resources, an Ant resource collection like ivy:cachepath or ivy:cachefileset (IVY-334)
  • NEW: ivy:resolve and post resole task can now have inlined dependencies declaration.
  • NEW: Import Bushel into Ivy core (IVY-1241)
  • NEW: An new resolver 'mirroredurl' which can handle a list of mirrored URL repositories (IVY-468)
  • NEW: Support for a jar resolver (IVY-1312)
  • IMPROVEMENT: ivy:install task does not allow specification of conf (IVY-1313) (thanks to Nihal Sinha)
  • IMPROVEMENT: ivy:makepom ignores the artifact type in generated dependencies (IVY-1229) (thanks to Douglas Palmer)
  • IMPROVEMENT: ivy:makepom now honors exclusion of artifacts in generated pom files (IVY-1294) (thanks to Jens Rohloff)
  • IMPROVEMENT: Added support for dynamic revisions in tag (IVY-1281)
  • IMPROVEMENT: ivy:makepom child element dependency should support the type and classifier attributes (IVY-1262)
  • IMPROVEMENT: ivy:retrieve can now create a path or fileset containing the retrieved artifacts (IVY-1235)
  • IMPROVEMENT: Improve diagnostics in ssh resolver (IVY-1267) (thanks to Stepan Koltsov)
  • IMPROVEMENT: ivy:retrieve now accepts a nested mapper type.
  • FIX: Ivy generates wrong revision in URL for Maven snapshots (IVY-1396)
  • FIX: Maven2: resolve failure when parent has with dependency in 'import' scope (IVY-1376)
  • FIX: IvyPublish fails when using extend tags with no explicit location attribute (IVY-1391)
  • FIX: *.lck files created by "artifact-lock" lock strategy are not cleaned up if ivy quits abruptly (IVY-1388) (thanks to Wei Chen)
  • FIX: Ivy default cache path with non-ASCII character lets it crash (IVY-1378)
  • FIX: latest.integration isn't resolved against a Maven snapshot repository (when uniqueVersion = true) (IVY-1036)
  • FIX: Resolve does not deliver all dependent artifacts (IVY-1366) (thanks to Wolfgang Frank)
  • FIX: Ivy descriptors are merged incorrectly when there is an element (IVY-1356)
  • FIX: SimpleDateFormat is not thread safe (IVY-1373)
  • FIX: Maven 'hk2-jar' packaging is now supported (IVY-1357)
  • FIX: Maven 'orbit' and 'pear' packaging is now supported (IVY-899)
  • FIX: Memory leak and infinite loop in ModuleId.java (IVY-1362)
  • FIX: Unnecessary warning when parent ivy.xml is not found (IVY-1346)
  • FIX: StackOverflowError when using and ../ivy.xml is not the parent ivy.xml (IVY-1437)
  • FIX: NullPointerExeption in AbstractOSGiResolver (IVY-1343) (thanks to Thomas Kurpick)
  • FIX: Delivered ivy descriptor inconsistent with resolve report / retrieve and other post-resolve actions (IVY-1300) (thanks to Ed Burcher)
  • FIX: The Updatesite resolver is downloading Eclipse features instead of Eclipse bundle/plugin
  • FIX: ivy:buildlist task confused by extends feature using two parents (IVY-1363) (thanks to Mitch Gitman and Jean-Louis Boudart)
  • FIX: ivy.xml extends feature complains about Windows filesystem path (IVY-1359) (thanks to Mitch Gitman and Jean-Louis Boudart)
  • FIX: buildlist task chokes on absolute path to parent Ivy module (IVY-1364) (thanks to Mitch Gitman and Jean-Louis Boudart)
  • FIX: The ignore circular dependency strategy is clobbering the warn strategy (IVY-1353) (Thanks to Carl Quinn)
  • FIX: Buildnumber and IvyFindRevision Ant tasks should honour defaultBranch setting (IVY-1344) (Thanks to Ales Nosek)
  • FIX: ApacheURLLister.retrieveListing() fails if the encoding of the URL list is different from the default encoding (IVY-1060) (Thanks to Robin Fernandes)
  • FIX: global exclude rules is not applying to root ivy files
  • FIX: Exclude doesn't work when there is some circular dependencies (IVY-1309)
  • FIX: Impossible to get artifacts when data has not been loaded for multiple dynamic revisions (IVY-1333)
  • FIX: Ivy didn't properly handle some file: URLs (IVY-1340)
  • FIX: fallback mechanism didn't work properly for private configurations
  • FIX: /localivy target does not work when building Ivy jar (IVY-1338) (thanks to Ben Schmidt)
  • FIX: The showprogress=false attribute of ivy:resolve doesn't do what it should (IVY-1052) (thanks to Joseph Boyd)
  • FIX: extends ignores defaultconfmapping/defaultconf/confmappingoverride attributes from parent's configurations and dependencies tags (IVY-1213)
  • FIX: NullPointerException when providing empty password to (IVY-1335)
  • FIX: [originalname] not expanded for source and javadoc types during publish in ivy:install (IVY-1324)
  • FIX: cannot resolve from repositories that return HTTP 204 in response to an HTTP HEAD request (IVY-1328)
  • FIX: extra attributes lost from info when ivy file is merged with parent (IVY-1206)
  • FIX: ivy:report ant task intermittently "cannot compile stylesheet" (IVY-1325)
  • FIX: Maven 'eclipse-plugin', 'jbi-component' and 'jbi-shared-library' packaging is now mapped to 'jar' extension (IVY-899)
  • FIX: Infinite loop in latest-compatible conflict manager (IVY-1233) (thanks to Payam Hekmat and Sven Zethelius)
  • FIX: extends section of ivy.xml info does not replace variable in location tag (IVY-1287)
  • FIX: Valid Path does not work for Filesystem Resolver (IVY-1268)
  • FIX: quiet="true" does not surpress download 'dots' on packager resolver (IVY-1269)
  • FIX: Dynamic version resolution result can be incorrect when ivy metadata contains extra attributes (IVY-1236)
  • FIX: NullPointerException in FileUtil#forceDelete.
  • FIX: XmlModuleDescriptorUpdater is a mess that produces broken xmls in many cases (IVY-1010)
  • FIX: ivy.xml that contains UTF-8 encoded umlauts cannot be bigger than 10000 bytes (IVY-1253)
  • FIX: Can not use a v[revision] in an artifact pattern of a filesystem resolver (IVY-1238)
  • FIX: Cached ivy.xml is invalid if the description contains the ampersand entity (&) (IVY-1237)
  • FIX: Couldn't authenticate against sites having the same address as the proxy server (IVY-1234)
  • FIX: OutOfMemoryError when uploading large files using commons-httpclient (IVY-1197) (thanks to Torkild U. Resheim)
  • FIX: Only the last dependency descriptor is taken into account on the same module (IVY-1240)
  • FIX: UseCacheOnly doesn't respect the cache configuration in the ivysettings (IVY-1227)
  • FIX: UseCacheOnly is influenced by the TTL on cached metadata (IVY-1243)
  • FIX: ConcurrentModificationException on ivy settings loading (IVY-1250)
  • FIX: Module inheritance sometimes fails to locate parent descriptor in deliver process (IVY-1248)
  • FIX: on an empty configuration produces a very slow-to-evaluate fileset (IVY-1272)
  • FIX: Ivy does not apply overridden properties to m2 parent dependency versions specified using properties (IVY-1299)
  • FIX: Ivy does not apply overridden properties to m2 parent dependency versions specified using dependencyManagement properties (IVY-1301)