On 2016-04-03, Gary M wrote:

> I thought cab was removed due to this error message..  The "not found"
> message is a bit misleading.

> Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run
> (build.cab) on project xxxxxxx: An Ant BuildException has occured: Problem:
> failed to create task or type cab
> Cause: the class org.apache.tools.ant.taskdefs.optional.Cab was not found.
> This looks like one of Ant's optional components.
> Action: Check that the appropriate optional JAR exists in
> -ANT_HOME\lib
> -the IDE Ant configuration dialogs

> Do not panic, this is a common problem.
> The commonest cause is a missing JAR.

I'm afraid Maven's antrun plugin is making things more complex here. Do
you know which version of Ant you are using? It may be a version where
we still had ant-optional.jar and you need to include it in your
dependencies. Or better you explicitly depend on Ant 1.9.6.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to