[
https://jira.codehaus.org/browse/MANTTASKS-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MANTTASKS-209.
------------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> maven-ant-tasks-2.1.1.jar is incompatible with maven-compiler-plugin version
> 2.1 or greater
> -------------------------------------------------------------------------------------------
>
> Key: MANTTASKS-209
> URL: https://jira.codehaus.org/browse/MANTTASKS-209
> Project: Maven Ant Tasks
> Issue Type: Bug
> Affects Versions: 2.0.10, 2.1.1
> Environment: Linux
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
> Reporter: José Antonio Matute
>
> When I use maven-compiler-plugin version 2.1 or greater in my pom.xml and try
> to compile using maven-ant-task, I've got the following error:
> {noformat}
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
> [artifact:mvn] [ERROR] FATAL ERROR
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
> [artifact:mvn] [INFO] Lorg/apache/maven/toolchain/ToolchainManager;
> [artifact:mvn] [INFO]
> ------------------------------------------------------------------------
> [artifact:mvn] [INFO] Trace
> [artifact:mvn] java.lang.NoClassDefFoundError:
> Lorg/apache/maven/toolchain/ToolchainManager;
> [artifact:mvn] at java.lang.Class.getDeclaredFields0(Native Method)
> [artifact:mvn] at
> java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> [artifact:mvn] at java.lang.Class.getDeclaredField(Class.java:1852)
> {noformat}
> Currently, the workaround is keep using maven-compiler-plugin version 2.0.2
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)