You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/16 15:22:59 UTC

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

The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Wed, 16 Jun 2004 9:21 AM
       Body:
What is your ant version ??
Actually, maven doesn't support ant 1.6.X
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1322?page=comments#action_20711

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1322

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1322
    Summary: ClassCastException crashes Maven Ant task
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: Eirik Maus

    Created: Wed, 16 Jun 2004 7:28 AM
    Updated: Wed, 16 Jun 2004 9:21 AM
Environment: Windows XP, java 1.4.2

Description:

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


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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