Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-162

java.lang.ClassCastException: org.codehaus.plexus.component.configurator.BasicComponentConfigurator cannot be cast to org.codehaus.plexus.component.configurator.ComponentConfigurator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.10
    • None
    • None
    • None
    • Windows / Maven 2.2.1

    Description

      When we have the following declaration, a classcastexception occured

      <plugin>
                      <groupId>org.apache.maven.plugins</groupId>
                      <artifactId>maven-antrun-plugin</artifactId>
                      <executions>
                          <execution>
                          	<id>kodo</id>
                              <phase>package</phase>
                              <configuration>
                                  <tasks>
                                  	<ant target="xxx" inheritrefs="true" antfile="/build.xml"/>
                                  </tasks>
                              </configuration>
                              <goals>
                            	<goal>run</goal>
                              </goals>
                          </execution>
                      </executions>
                      <dependencies>
      	        <dependency>
      	        	<groupId>org.apache.maven</groupId>
      	        	<artifactId>maven-ant-tasks</artifactId>
      	        	<version>2.0.10</version>
      	        </dependency>
                      </dependencies>
                  </plugin>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gvincebzh Vince
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: