You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/16 09:35:34 UTC

[jira] Closed: (MAVEN-1322) ClassCastException crashes Maven Ant task

     [ http://jira.codehaus.org/browse/MAVEN-1322?page=all ]
     
Brett Porter closed MAVEN-1322:
-------------------------------

    Resolution: Won't Fix

ant task no longer supported

> ClassCastException crashes Maven Ant task
> -----------------------------------------
>
>          Key: MAVEN-1322
>          URL: http://jira.codehaus.org/browse/MAVEN-1322
>      Project: maven
>         Type: Bug
>   Components: core
>     Versions: 1.0-rc3
>  Environment: Windows XP, java 1.4.2
>     Reporter: Eirik Maus
>     Priority: Critical

>
>
> Starting maven from an ant script is the simplest (and only?) way to integrate Maven with the IDEs that have ant support. However, I get a ClassCastException during the initialisation of the Maven core:
>     [maven] java.lang.ClassCastException
>     [maven] 	at org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:379)
>     [maven] 	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:586)
>     [maven] 	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
>     [maven] 	at org.apache.maven.cli.App.doMain(App.java:485)
>     [maven] 	at org.apache.maven.cli.App.main(App.java:1214)
>     [maven] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [maven] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [maven] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [maven] 	at java.lang.reflect.Method.invoke(Method.java:324)
>     [maven] 	at com.werken.forehead.Forehead.run(Forehead.java:551)
>     [maven] 	at com.werken.forehead.Forehead.main(Forehead.java:581)
>     [maven] 	at org.apache.maven.ant.MavenTask.execute(MavenTask.java:183)
> The goal executes normally when maven is started on the command line

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org