2.0.7 Release Notes
Warning
: there are 2 incompatible changes that you must know before upgrading, to fix your Ant build files:
- [MANTTASKS-44]: <localRepository path="..."/>
instead of <localRepository location=""/>
for Ant 1.7 compatibility (location attribute is used internally by Ant 1.7)
- [MANTTASKS-65]: central repository is not automatically added any more if a remoteRepository is set: the code has been changed to work as expected and documented (explicit declaration)
The full list of changes can be found in our issue management system
, and is reproduced below.
Bug
- [MANTTASKS-1] - dependencies ant task incorrectly handles transitive snapshot dependencies
- [MANTTASKS-6] - ant artifact doesn't read settings.xml
- [MANTTASKS-11] - antlib + http based repository + version range errors badly
- [MANTTASKS-12] - No means of preventing ant task from querying repo1.maven.org
- [MANTTASKS-15] - scp:// urls not recognised, even when wagon-ssh is installed.
- [MANTTASKS-18] - filesetId does not contain all dependencies when artifact was not yet locally installed
- [MANTTASKS-26] - artifact:dependencies filesetId attribute causes NPE
- [MANTTASKS-65] - [PATCH] add central repository only if no remoteRepository set
- [MANTTASKS-70] - m2 tasks not reentrant
- [MANTTASKS-75] - [PATCH] NPE if loaded settings.xml does not contain localRepository
Improvement
- [MANTTASKS-44] - bootstrap of components/trunk fails with ant-1.7.0RC1
- [MANTTASKS-66] - [PATCH] add more information when Ant run in verbose mode (ant -v)
- [MANTTASKS-69] - [PATCH] improve sample.build.xml
- [MANTTASKS-72] - Remove hardcoded groupId in install-provider task
- [MANTTASKS-76] - [PATCH] update Maven Ant Tasks to Maven core 2.0.7
New Feature
- [MANTTASKS-29] - more powerful filesetId
Wish
- [MANTTASKS-24] - Not enough diagnostics if failed to validate POM
- [MANTTASKS-37] - The Dependencies task of Maven Antlib should override an existing path reference instead of failing
- [MANTTASKS-73] - miss RemoteRepository sub-element for tasks pom and install-provider