You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/03/16 22:40:25 UTC
[jira] [Closed] (MANT-74) ClassCastException running ant:ant on
activemq project
[ https://issues.apache.org/jira/browse/MANT-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MANT-74.
------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
> ClassCastException running ant:ant on activemq project
> ------------------------------------------------------
>
> Key: MANT-74
> URL: https://issues.apache.org/jira/browse/MANT-74
> Project: Maven Ant Plugin
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: Trejkaz
> Assignee: Karl Heinz Marbaise
> Priority: Critical
> Attachments: mvn.log
>
>
> I tried to run mvn ant:ant to create Ant builds for ActiveMQ, and I get the following error about half way through. I'm attaching a full log as well, in case that is of use.
> {noformat}
> Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.util.Map;
> at org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenPluginOptions(AntBuildWriterUtil.java:919)
> at org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenSurefirePluginOptions(AntBuildWriterUtil.java:717)
> at org.apache.maven.plugin.ant.AntBuildWriter.getTestExcludes(AntBuildWriter.java:995)
> at org.apache.maven.plugin.ant.AntBuildWriter.writeTestTargets(AntBuildWriter.java:885)
> at org.apache.maven.plugin.ant.AntBuildWriter.writeGeneratedBuildXml(AntBuildWriter.java:316)
> at org.apache.maven.plugin.ant.AntBuildWriter.writeBuildXmls(AntBuildWriter.java:122)
> at org.apache.maven.plugin.ant.AntMojo.execute(AntMojo.java:134)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
> ... 20 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)