You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stephen Connolly <st...@gmail.com> on 2011/07/11 10:14:41 UTC

[ANN] Animal Sniffer version 1.7 Released

Hi,

The Mojo team is pleased to announce the release of Animal Sniffer version 1.7.

This is the fifth release of Animal Sniffer
(http://mojo.codehaus.org/animal-sniffer/) since it moved from
java.net to the mojo project at codehaus.  We have fixed a number of
bugs (http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=12070&version=16605)
with this release.

Significant in this release is that we have fixed a major performance
regression with respect to the java.net version, and on large
classpaths version 1.7 the added caching makes it now even faster than
the 1.2 version (as opposed to version 1.6 being somewhere between 10
and 100 times slower)

Animal Sniffer provides tools to assist verifying that classes
compiled with a newer JDK/API are compatible with an older JDK/API.

The following tools are provided by animal sniffer:

* A command line tool to dump the class file version number
(http://mojo.codehaus.org/animal-sniffer/animal-sniffer/index.html).
This helps you track down the offending jar file when you see
UnsupportedClassVersionError.

* A set of ANT tasks
(http://mojo.codehaus.org/animal-sniffer/animal-sniffer-ant-tasks/index.html)
for verifying that your classes comply with an API signature as well
as tasks for creating API signatures from a JDK, or a collection or
jar and class files, or a collection of other API signature files, or
combination of these elements.

* A rule for use in the maven-enforcer-plugin
(http://mojo.codehaus.org/animal-sniffer/animal-sniffer-enforcer-rule/index.html)
for verifying that your classes comply with an API signature .

* A maven plugin
(http://mojo.codehaus.org/animal-sniffer-maven-plugin/index.html) for
verifying that your classes comply with an API signature as well as
for creating API signatures from a JDK, or the current module's
classes, or the current module's dependencies, or a collection of
other API signature files, or combination of these elements.

The artifacts have are available from the Maven Central repository.

Release Notes - Mojo Animal Sniffer - Version 1.7

** Bug
    * [MANIMALSNIFFER-6] - animal-sniffer maven plugin descends into
JAR files in the build directory
    * [MANIMALSNIFFER-8] - Animal Sniffer enforcer rule erroneously fails
    * [MANIMALSNIFFER-9] - ArrayIndexOutOfBoundsException
    * [MANIMALSNIFFER-16] - BuildSignaturesMojo exposes unused
includeSignatures parameter
    * [MANIMALSNIFFER-17] - Performance is 1-2 orders of magnitude
worse than the jvnet version
    * [MANIMALSNIFFER-18] - Toolchain support broken in Maven 3

** Improvement
    * [MANIMALSNIFFER-19] - Mark plugin as threadSafe

** New Feature
    * [MANIMALSNIFFER-15] - Ablility to skip

The Mojo Team.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org