org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase

Apache's JIRA Issue Tracker | Meytal Genah | 11 months ago
  1. 0

    Our app uses flex mojo. We upgraded from Maven 3.3.3 to Maven 3.3.9 and when building we get: [ERROR] Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhas e at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase at org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer.getPluginsBoundByDefaultToAllLifecycles(DefaultLifecyclePluginAnalyzer.java:119) at org.apache.maven.model.plugin.DefaultLifecycleBindingsInjector.injectLifecycleBindings(DefaultLifecycleBindingsInjector.java:64) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:451) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411) at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419) at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410) at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83) at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ... 11 more I didn’t see anyone encountering the same problem. Maybe it is related to the fix of https://issues.apache.org/jira/browse/MNG-5805. Also, according to the stack trace, the invalid casting is in this line: LifecyclePhase goals = goalsForLifecyclePhase.getValue(); this is the content of the pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.myapp.plugin</groupId> <artifactId>GUI</artifactId> <version>trunk</version> </parent> <artifactId>myapp-war</artifactId> <version>1.0</version> <packaging>war</packaging> <name>Plugin GUI WAR</name> <build> <finalName>myapp-ui</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>create-empty-directory</id> <phase>default:process-classes</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${basedir}/target/classes" /> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.2</version> <configuration> <archive> <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile> </archive> <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <executions> <execution> <id>bundle-manifest</id> <phase>default:process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> <configuration> <supportedProjectTypes> <supportedProjectType>war</supportedProjectType> </supportedProjectTypes> <instructions> <Web-ContextPath>${web-contextPath}</Web-ContextPath> <Embed-Transitive>true</Embed-Transitive> <Import-Package>com.vmware.vise.messaging.remoting,com.vmware.vise.messaging.endpoints,,javax.servlet,javax.servlet.http,flex.management,flex.messaging,flex.messaging.client,flex.messaging.config,flex.messaging.endpoints,flex.messaging.io,flex.messaging.io.amf,flex.messaging.io.amf.translator,flex.messaging.messages,flex.messaging.services,flex.messaging.services.remoting.adapters,net.sf.cglib.core,net.sf.cglib.proxy,net.sf.cglib.reflect,org.osgi.framework,org.aopalliance.aop,org.springframework.aop,org.springframework.aop.framework,org.springframework.beans.factory.config,org.springframework.flex.config,org.springframework.flex.config.json,org.springframework.flex.config.xml,org.springframework.flex.core,org.springframework.flex.messaging,org.springframework.flex.remoting,org.springframework.flex.servlet,org.springframework.web.context,org.eclipse.virgo.web.dm,org.springframework.web.servlet,org.springframework.web.servlet.handler </Import-Package> </instructions> </configuration> </plugin> <!--plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <executions> <execution> <id>copy-flex</id> <goals> <goal>copy-flex-resources</goal> </goals> </execution> </executions> </plugin--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-dependencies</id> <phase>prepare-package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <stripVersion>true</stripVersion> <includeTypes>swf</includeTypes> <outputDirectory>${project.build.directory}/myapp-ui</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.17</version> </plugin> </plugins> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId> org.apache.felix </groupId> <artifactId> maven-bundle-plugin </artifactId> <versionRange> [2.3.7,) </versionRange> <goals> <goal>manifest</goal> </goals> </pluginExecutionFilter> <action> <execute> <runOnIncremental>false</runOnIncremental> </execute > </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId> org.apache.maven.plugins </groupId> <artifactId> maven-antrun-plugin </artifactId> <versionRange> [1.7,) </versionRange> <goals> <goal>run</goal> </goals> </pluginExecutionFilter> <action> <execute> <runOnIncremental>false</runOnIncremental> </execute > </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId> org.sonatype.flexmojos </groupId> <artifactId> flexmojos-maven-plugin </artifactId> <versionRange> [4.0-RC2,) </versionRange> <goals> <goal> copy-flex-resources </goal> </goals> </pluginExecutionFilter> <action> <ignore> <runOnIncremental>false</runOnIncremental> </ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> <dependencies> <dependency> <groupId>com.myapp.plugin</groupId> <artifactId>myapp-ui</artifactId> <version>1.0</version> <type>swf</type> </dependency> <dependency> <groupId>com.myapp.plugin</groupId> <artifactId>myapp-ui</artifactId> <version>1.0</version> <type>swf</type> <classifier>en_US</classifier> </dependency> </dependencies> </project> This is the full debug log: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T18:41:47+02:00) Maven home: C:\Program Files\Apache\apache-maven-3.3.9 Java version: 1.8.0_51, vendor: Oracle Corporation Java home: C:\SDK\Java\jdk1.8.0_51\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether.* < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.slf4j.* < plexus.core [DEBUG] Imported: org.slf4j.helpers.* < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from C:\Program Files\Apache\apache-maven-3.3.9\conf\settings.xml [DEBUG] Reading user settings from C:\Users\meytal\.m2\settings.xml [DEBUG] Reading global toolchains from C:\Program Files\Apache\apache-maven-3.3.9\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\meytal\.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\meytal\.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\meytal\.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project com.myapp:myapp:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:transportLib:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:storageGrid:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:storageGridLib:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:myapp-plugin:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:plugin-client:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:myapp-plugin-service:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp.plugin:GUI:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=396, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=173, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=28, ConflictResolver.conflictItemCount=316, DefaultDependencyCollector.collectTime=703, DefaultDependencyCollector.transformTime=36} [DEBUG] org.sonatype.flexmojos:flexmojos-maven-plugin:jar:4.0-RC2: [DEBUG] org.sonatype.flexmojos:flexmojos-threadlocaltoolkit-wrapper:jar:4.0-RC2:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-model:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.0.3:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:2.1.1:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:2.1.1:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4:compile [DEBUG] org.apache.maven:maven-core:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-settings:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0.3:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-impl:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.11:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-internal-compiler-iface:jar:4.0-RC2:compile [DEBUG] org.apache.ws.jaxme:jaxmejs:jar:0.5.2:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-shim:jar:2.1.1:compile [DEBUG] javax.inject:javax.inject:jar:1:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:2.9.4:compile [DEBUG] aopalliance:aopalliance:jar:1.0:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-reflect:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-inject:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-locators:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-binders:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-scanners:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-converters:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-metadata:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-converters:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-locators:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-binders:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-scanners:jar:2.1.1:compile [DEBUG] com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:digest:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:optimizer:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:asdoc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328:compile [DEBUG] org.hamcrest:hamcrest-library:jar:1.1:compile [DEBUG] org.sonatype.flexmojos:flexmojos-configurator:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-api:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-graniteds-2.2.0:jar:4.0-RC2:compile [DEBUG] org.graniteds:granite-generator:jar:2.2.0.RC2:compile [DEBUG] org.graniteds:granite-generator-share:jar:2.2.0.RC2:compile [DEBUG] org.codehaus.groovy:groovy-all:jar:1.6.2:compile [DEBUG] org.apache.ant:ant:jar:1.7.1:compile [DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile [DEBUG] jline:jline:jar:0.9.94:compile [DEBUG] javax.persistence:persistence-api:jar:1.0:compile [DEBUG] antlr:antlr:jar:2.7.7:compile [DEBUG] javax.jdo:jdo2-api:jar:2.3-ea:compile [DEBUG] javax.transaction:jta:jar:1.1:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-constraints:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-coverage-reporter:jar:4.0-RC2:compile [DEBUG] net.sourceforge.cobertura:cobertura:jar:1.9.4:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] asm:asm:jar:3.0:compile [DEBUG] asm:asm-tree:jar:3.0:compile [DEBUG] log4j:log4j:jar:1.2.9:compile [DEBUG] emma:emma:jar:2.0.5312:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-mojo:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-util:jar:4.0-RC2:compile [DEBUG] dom4j:dom4j:jar:1.6.1:compile [DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile [DEBUG] jaxen:jaxen:jar:1.1:compile [DEBUG] jdom:jdom:jar:1.0:compile [DEBUG] xerces:xercesImpl:jar:2.6.2:compile [DEBUG] xom:xom:jar:1.0:compile [DEBUG] xerces:xmlParserAPIs:jar:2.6.2:compile [DEBUG] xalan:xalan:jar:2.6.0:compile [DEBUG] com.ibm.icu:icu4j:jar:2.6.1:compile [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile [DEBUG] commons-lang:commons-lang:jar:2.4:compile [DEBUG] commons-io:commons-io:jar:1.4:compile [DEBUG] commons-httpclient:commons-httpclient:jar:3.1:compile [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile [DEBUG] commons-codec:commons-codec:jar:1.3:compile [DEBUG] org.apache.maven.plugins:maven-source-plugin:jar:2.1.1:compile [DEBUG] org.apache.maven:maven-archiver:jar:2.4:compile [DEBUG] com.uwyn:jhighlight:jar:1.0:compile [DEBUG] javax.servlet:servlet-api:jar:2.3:compile [DEBUG] org.aspectj:aspectjrt:jar:1.6.10:compile [DEBUG] eu.cedarsoft.utils:zip:jar:1.1:compile [DEBUG] eu.cedarsoft:guice-annotations:jar:1.0:compile [DEBUG] com.intellij:annotations:jar:6.0.3:compile [DEBUG] org.sonatype.flexmojos:flexmojos-tester:jar:4.0-RC2:compile [DEBUG] net.sf.saxon:saxon-dom:jar:9.0:compile [DEBUG] com.googlecode.lambdaj:lambdaj:jar:2.1:compile [DEBUG] org.objenesis:objenesis:jar:1.2:compile [DEBUG] cglib:cglib-nodep:jar:2.2:compile [DEBUG] org.mockito:mockito-core:jar:1.8.5:compile [DEBUG] org.hamcrest:hamcrest-core:jar:1.1:compile [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.2:compile [DEBUG] org.codehaus.plexus:plexus-io:jar:1.0.1:compile [DEBUG] com.googlecode.apparat:apparat-core:jar:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-matryoshka-quiet:pom:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-lzma-decoder:swc:1.0-RC9:compile [DEBUG] com.adobe.flex.framework:playerglobal:swc:10.0:4.1.0.16076:compile [DEBUG] com.adobe.flex.framework:flex:swc:4.1.0.16076:compile [DEBUG] com.googlecode.apparat:apparat-matryoshka-preloader:pom:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-log:jar:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-lzma-encoder:jar:1.0-RC9:compile [DEBUG] org.scala-lang:scala-library:jar:2.8.1:compile [DEBUG] com.googlecode.apparat:apparat-maven-plugin:jar:1.0-RC9:compile [DEBUG] com.adobe.flex:compiler:pom:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:adt:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:afe:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:aglj40:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:asc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:baksmali:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik-all-flex:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_de:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_fr:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_ja:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_ko:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_ru:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_zh_CN:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:commons-collections:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:commons-discovery:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:commons-logging:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:compc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:copylocale:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:fcsh:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:fdb:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:flex-compiler-oem:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:flex-fontkit:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:flex-messaging-common:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:fxgutils:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:license:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_da:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_de:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_es:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_fi:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_fr:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_it:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_ja:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_ko:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_nb:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_nl:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_pt:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_ru:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_sv:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_zh_CN:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_zh_TW:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:rideau:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:saxon9:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:smali:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:swfdump:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:swfutils:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:velocity-dep-1.4-flex:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xalan:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_de:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_fr:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_ja:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_ko:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_ru:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_zh_CN:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesPatch:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xmlParserAPIs:jar:4.5.1.21328:compile [DEBUG] Created new class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 [DEBUG] Importing foreign packages into class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-maven-plugin:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-threadlocaltoolkit-wrapper:jar:4.0-RC2 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.11 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.6 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-internal-compiler-iface:jar:4.0-RC2 [DEBUG] Included: org.apache.ws.jaxme:jaxmejs:jar:0.5.2 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-shim:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:2.9.4 [DEBUG] Included: aopalliance:aopalliance:jar:1.0 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-reflect:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-inject:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-locators:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-binders:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-scanners:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-converters:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-metadata:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-converters:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-locators:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-binders:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-scanners:jar:2.1.1 [DEBUG] Included: com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:digest:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:optimizer:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:asdoc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328 [DEBUG] Included: org.hamcrest:hamcrest-library:jar:1.1 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-configurator:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-api:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-graniteds-2.2.0:jar:4.0-RC2 [DEBUG] Included: org.graniteds:granite-generator:jar:2.2.0.RC2 [DEBUG] Included: org.graniteds:granite-generator-share:jar:2.2.0.RC2 [DEBUG] Included: org.codehaus.groovy:groovy-all:jar:1.6.2 [DEBUG] Included: org.apache.ant:ant:jar:1.7.1 [DEBUG] Included: org.apache.ant:ant-launcher:jar:1.7.1 [DEBUG] Included: jline:jline:jar:0.9.94 [DEBUG] Included: javax.persistence:persistence-api:jar:1.0 [DEBUG] Included: antlr:antlr:jar:2.7.7 [DEBUG] Included: javax.jdo:jdo2-api:jar:2.3-ea [DEBUG] Included: javax.transaction:jta:jar:1.1 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-constraints:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-coverage-reporter:jar:4.0-RC2 [DEBUG] Included: net.sourceforge.cobertura:cobertura:jar:1.9.4 [DEBUG] Included: oro:oro:jar:2.0.8 [DEBUG] Included: asm:asm:jar:3.0 [DEBUG] Included: asm:asm-tree:jar:3.0 [DEBUG] Included: log4j:log4j:jar:1.2.9 [DEBUG] Included: emma:emma:jar:2.0.5312 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-mojo:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-util:jar:4.0-RC2 [DEBUG] Included: dom4j:dom4j:jar:1.6.1 [DEBUG] Included: xml-apis:xml-apis:jar:1.0.b2 [DEBUG] Included: jaxen:jaxen:jar:1.1 [DEBUG] Included: jdom:jdom:jar:1.0 [DEBUG] Included: xerces:xercesImpl:jar:2.6.2 [DEBUG] Included: xom:xom:jar:1.0 [DEBUG] Included: xerces:xmlParserAPIs:jar:2.6.2 [DEBUG] Included: xalan:xalan:jar:2.6.0 [DEBUG] Included: com.ibm.icu:icu4j:jar:2.6.1 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0 [DEBUG] Included: commons-lang:commons-lang:jar:2.4 [DEBUG] Included: commons-io:commons-io:jar:1.4 [DEBUG] Included: commons-httpclient:commons-httpclient:jar:3.1 [DEBUG] Included: commons-logging:commons-logging:jar:1.0.4 [DEBUG] Included: commons-codec:commons-codec:jar:1.3 [DEBUG] Included: org.apache.maven.plugins:maven-source-plugin:jar:2.1.1 [DEBUG] Included: org.apache.maven:maven-archiver:jar:2.4 [DEBUG] Included: com.uwyn:jhighlight:jar:1.0 [DEBUG] Included: javax.servlet:servlet-api:jar:2.3 [DEBUG] Included: org.aspectj:aspectjrt:jar:1.6.10 [DEBUG] Included: eu.cedarsoft.utils:zip:jar:1.1 [DEBUG] Included: eu.cedarsoft:guice-annotations:jar:1.0 [DEBUG] Included: com.intellij:annotations:jar:6.0.3 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-tester:jar:4.0-RC2 [DEBUG] Included: net.sf.saxon:saxon-dom:jar:9.0 [DEBUG] Included: com.googlecode.lambdaj:lambdaj:jar:2.1 [DEBUG] Included: org.objenesis:objenesis:jar:1.2 [DEBUG] Included: cglib:cglib-nodep:jar:2.2 [DEBUG] Included: org.mockito:mockito-core:jar:1.8.5 [DEBUG] Included: org.hamcrest:hamcrest-core:jar:1.1 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:1.2 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:1.0.1 [DEBUG] Included: com.googlecode.apparat:apparat-core:jar:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-matryoshka-quiet:pom:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-lzma-decoder:swc:1.0-RC9 [DEBUG] Included: com.adobe.flex.framework:playerglobal:swc:10.0:4.1.0.16076 [DEBUG] Included: com.adobe.flex.framework:flex:swc:4.1.0.16076 [DEBUG] Included: com.googlecode.apparat:apparat-matryoshka-preloader:pom:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-log:jar:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-lzma-encoder:jar:1.0-RC9 [DEBUG] Included: org.scala-lang:scala-library:jar:2.8.1 [DEBUG] Included: com.googlecode.apparat:apparat-maven-plugin:jar:1.0-RC9 [DEBUG] Included: com.adobe.flex:compiler:pom:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:adt:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:afe:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:aglj40:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:asc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:baksmali:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik-all-flex:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_de:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_fr:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_ja:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_ko:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_ru:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_zh_CN:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:commons-collections:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:commons-discovery:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:commons-logging:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:compc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:copylocale:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:fcsh:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:fdb:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:flex-compiler-oem:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:flex-fontkit:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:flex-messaging-common:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:fxgutils:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:license:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_da:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_de:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_es:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_fi:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_fr:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_it:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_ja:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_ko:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_nb:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_nl:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_pt:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_ru:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_sv:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_zh_CN:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_zh_TW:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:rideau:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:saxon9:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:smali:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:swfdump:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:swfutils:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:velocity-dep-1.4-flex:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xalan:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_de:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_fr:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_ja:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_ko:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_ru:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_zh_CN:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesPatch:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xmlParserAPIs:jar:4.5.1.21328 [DEBUG] Extension realms for project com.myapp.plugin:myapp-ui:swf:1.0: [ClassRealm[extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2, parent: sun.misc.Launcher$AppClassLoader@4e25154f]] [DEBUG] Created new class realm project>com.myapp.plugin:myapp-ui:1.0 [DEBUG] Populating class realm project>com.myapp.plugin:myapp-ui:1.0 [DEBUG] Looking up lifecyle mappings for packaging swf from ClassRealm[project>com.myapp.plugin:myapp-ui:1.0, parent: ClassRealm[maven.api, parent: null]] [ERROR] Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase at org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer.getPluginsBoundByDefaultToAllLifecycles(DefaultLifecyclePluginAnalyzer.java:119) at org.apache.maven.model.plugin.DefaultLifecycleBindingsInjector.injectLifecycleBindings(DefaultLifecycleBindingsInjector.java:64) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:451) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411) at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419) at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410) at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83) at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ... 11 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

    Apache's JIRA Issue Tracker | 11 months ago | Meytal Genah
    org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhas e
  2. 0

    Our app uses flex mojo. We upgraded from Maven 3.3.3 to Maven 3.3.9 and when building we get: [ERROR] Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhas e at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase at org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer.getPluginsBoundByDefaultToAllLifecycles(DefaultLifecyclePluginAnalyzer.java:119) at org.apache.maven.model.plugin.DefaultLifecycleBindingsInjector.injectLifecycleBindings(DefaultLifecycleBindingsInjector.java:64) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:451) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411) at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419) at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410) at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83) at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ... 11 more I didn’t see anyone encountering the same problem. Maybe it is related to the fix of https://issues.apache.org/jira/browse/MNG-5805. Also, according to the stack trace, the invalid casting is in this line: LifecyclePhase goals = goalsForLifecyclePhase.getValue(); this is the content of the pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.myapp.plugin</groupId> <artifactId>GUI</artifactId> <version>trunk</version> </parent> <artifactId>myapp-war</artifactId> <version>1.0</version> <packaging>war</packaging> <name>Plugin GUI WAR</name> <build> <finalName>myapp-ui</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>create-empty-directory</id> <phase>default:process-classes</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${basedir}/target/classes" /> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.2</version> <configuration> <archive> <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile> </archive> <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <executions> <execution> <id>bundle-manifest</id> <phase>default:process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> <configuration> <supportedProjectTypes> <supportedProjectType>war</supportedProjectType> </supportedProjectTypes> <instructions> <Web-ContextPath>${web-contextPath}</Web-ContextPath> <Embed-Transitive>true</Embed-Transitive> <Import-Package>com.vmware.vise.messaging.remoting,com.vmware.vise.messaging.endpoints,,javax.servlet,javax.servlet.http,flex.management,flex.messaging,flex.messaging.client,flex.messaging.config,flex.messaging.endpoints,flex.messaging.io,flex.messaging.io.amf,flex.messaging.io.amf.translator,flex.messaging.messages,flex.messaging.services,flex.messaging.services.remoting.adapters,net.sf.cglib.core,net.sf.cglib.proxy,net.sf.cglib.reflect,org.osgi.framework,org.aopalliance.aop,org.springframework.aop,org.springframework.aop.framework,org.springframework.beans.factory.config,org.springframework.flex.config,org.springframework.flex.config.json,org.springframework.flex.config.xml,org.springframework.flex.core,org.springframework.flex.messaging,org.springframework.flex.remoting,org.springframework.flex.servlet,org.springframework.web.context,org.eclipse.virgo.web.dm,org.springframework.web.servlet,org.springframework.web.servlet.handler </Import-Package> </instructions> </configuration> </plugin> <!--plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <executions> <execution> <id>copy-flex</id> <goals> <goal>copy-flex-resources</goal> </goals> </execution> </executions> </plugin--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-dependencies</id> <phase>prepare-package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <stripVersion>true</stripVersion> <includeTypes>swf</includeTypes> <outputDirectory>${project.build.directory}/myapp-ui</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.17</version> </plugin> </plugins> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId> org.apache.felix </groupId> <artifactId> maven-bundle-plugin </artifactId> <versionRange> [2.3.7,) </versionRange> <goals> <goal>manifest</goal> </goals> </pluginExecutionFilter> <action> <execute> <runOnIncremental>false</runOnIncremental> </execute > </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId> org.apache.maven.plugins </groupId> <artifactId> maven-antrun-plugin </artifactId> <versionRange> [1.7,) </versionRange> <goals> <goal>run</goal> </goals> </pluginExecutionFilter> <action> <execute> <runOnIncremental>false</runOnIncremental> </execute > </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId> org.sonatype.flexmojos </groupId> <artifactId> flexmojos-maven-plugin </artifactId> <versionRange> [4.0-RC2,) </versionRange> <goals> <goal> copy-flex-resources </goal> </goals> </pluginExecutionFilter> <action> <ignore> <runOnIncremental>false</runOnIncremental> </ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> <dependencies> <dependency> <groupId>com.myapp.plugin</groupId> <artifactId>myapp-ui</artifactId> <version>1.0</version> <type>swf</type> </dependency> <dependency> <groupId>com.myapp.plugin</groupId> <artifactId>myapp-ui</artifactId> <version>1.0</version> <type>swf</type> <classifier>en_US</classifier> </dependency> </dependencies> </project> This is the full debug log: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T18:41:47+02:00) Maven home: C:\Program Files\Apache\apache-maven-3.3.9 Java version: 1.8.0_51, vendor: Oracle Corporation Java home: C:\SDK\Java\jdk1.8.0_51\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether.* < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.slf4j.* < plexus.core [DEBUG] Imported: org.slf4j.helpers.* < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from C:\Program Files\Apache\apache-maven-3.3.9\conf\settings.xml [DEBUG] Reading user settings from C:\Users\meytal\.m2\settings.xml [DEBUG] Reading global toolchains from C:\Program Files\Apache\apache-maven-3.3.9\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\meytal\.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\meytal\.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\meytal\.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project com.myapp:myapp:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:transportLib:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:storageGrid:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:storageGridLib:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:myapp-plugin:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:plugin-client:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp:myapp-plugin-service:jar:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project com.myapp.plugin:GUI:pom:trunk: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=396, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=173, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=28, ConflictResolver.conflictItemCount=316, DefaultDependencyCollector.collectTime=703, DefaultDependencyCollector.transformTime=36} [DEBUG] org.sonatype.flexmojos:flexmojos-maven-plugin:jar:4.0-RC2: [DEBUG] org.sonatype.flexmojos:flexmojos-threadlocaltoolkit-wrapper:jar:4.0-RC2:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-model:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.0.3:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:2.1.1:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:2.1.1:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4:compile [DEBUG] org.apache.maven:maven-core:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-settings:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0.3:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-impl:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.11:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-internal-compiler-iface:jar:4.0-RC2:compile [DEBUG] org.apache.ws.jaxme:jaxmejs:jar:0.5.2:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-shim:jar:2.1.1:compile [DEBUG] javax.inject:javax.inject:jar:1:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:2.9.4:compile [DEBUG] aopalliance:aopalliance:jar:1.0:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-reflect:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-inject:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-locators:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-binders:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-scanners:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-bean-converters:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-metadata:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-converters:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-locators:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-binders:jar:2.1.1:compile [DEBUG] org.sonatype.sisu.inject:guice-plexus-scanners:jar:2.1.1:compile [DEBUG] com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:digest:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:optimizer:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:asdoc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328:compile [DEBUG] org.hamcrest:hamcrest-library:jar:1.1:compile [DEBUG] org.sonatype.flexmojos:flexmojos-configurator:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-api:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-graniteds-2.2.0:jar:4.0-RC2:compile [DEBUG] org.graniteds:granite-generator:jar:2.2.0.RC2:compile [DEBUG] org.graniteds:granite-generator-share:jar:2.2.0.RC2:compile [DEBUG] org.codehaus.groovy:groovy-all:jar:1.6.2:compile [DEBUG] org.apache.ant:ant:jar:1.7.1:compile [DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile [DEBUG] jline:jline:jar:0.9.94:compile [DEBUG] javax.persistence:persistence-api:jar:1.0:compile [DEBUG] antlr:antlr:jar:2.7.7:compile [DEBUG] javax.jdo:jdo2-api:jar:2.3-ea:compile [DEBUG] javax.transaction:jta:jar:1.1:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-constraints:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-coverage-reporter:jar:4.0-RC2:compile [DEBUG] net.sourceforge.cobertura:cobertura:jar:1.9.4:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] asm:asm:jar:3.0:compile [DEBUG] asm:asm-tree:jar:3.0:compile [DEBUG] log4j:log4j:jar:1.2.9:compile [DEBUG] emma:emma:jar:2.0.5312:compile [DEBUG] org.sonatype.flexmojos:flexmojos-generator-mojo:jar:4.0-RC2:compile [DEBUG] org.sonatype.flexmojos:flexmojos-util:jar:4.0-RC2:compile [DEBUG] dom4j:dom4j:jar:1.6.1:compile [DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile [DEBUG] jaxen:jaxen:jar:1.1:compile [DEBUG] jdom:jdom:jar:1.0:compile [DEBUG] xerces:xercesImpl:jar:2.6.2:compile [DEBUG] xom:xom:jar:1.0:compile [DEBUG] xerces:xmlParserAPIs:jar:2.6.2:compile [DEBUG] xalan:xalan:jar:2.6.0:compile [DEBUG] com.ibm.icu:icu4j:jar:2.6.1:compile [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile [DEBUG] commons-lang:commons-lang:jar:2.4:compile [DEBUG] commons-io:commons-io:jar:1.4:compile [DEBUG] commons-httpclient:commons-httpclient:jar:3.1:compile [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile [DEBUG] commons-codec:commons-codec:jar:1.3:compile [DEBUG] org.apache.maven.plugins:maven-source-plugin:jar:2.1.1:compile [DEBUG] org.apache.maven:maven-archiver:jar:2.4:compile [DEBUG] com.uwyn:jhighlight:jar:1.0:compile [DEBUG] javax.servlet:servlet-api:jar:2.3:compile [DEBUG] org.aspectj:aspectjrt:jar:1.6.10:compile [DEBUG] eu.cedarsoft.utils:zip:jar:1.1:compile [DEBUG] eu.cedarsoft:guice-annotations:jar:1.0:compile [DEBUG] com.intellij:annotations:jar:6.0.3:compile [DEBUG] org.sonatype.flexmojos:flexmojos-tester:jar:4.0-RC2:compile [DEBUG] net.sf.saxon:saxon-dom:jar:9.0:compile [DEBUG] com.googlecode.lambdaj:lambdaj:jar:2.1:compile [DEBUG] org.objenesis:objenesis:jar:1.2:compile [DEBUG] cglib:cglib-nodep:jar:2.2:compile [DEBUG] org.mockito:mockito-core:jar:1.8.5:compile [DEBUG] org.hamcrest:hamcrest-core:jar:1.1:compile [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.2:compile [DEBUG] org.codehaus.plexus:plexus-io:jar:1.0.1:compile [DEBUG] com.googlecode.apparat:apparat-core:jar:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-matryoshka-quiet:pom:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-lzma-decoder:swc:1.0-RC9:compile [DEBUG] com.adobe.flex.framework:playerglobal:swc:10.0:4.1.0.16076:compile [DEBUG] com.adobe.flex.framework:flex:swc:4.1.0.16076:compile [DEBUG] com.googlecode.apparat:apparat-matryoshka-preloader:pom:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-log:jar:1.0-RC9:compile [DEBUG] com.googlecode.apparat:apparat-lzma-encoder:jar:1.0-RC9:compile [DEBUG] org.scala-lang:scala-library:jar:2.8.1:compile [DEBUG] com.googlecode.apparat:apparat-maven-plugin:jar:1.0-RC9:compile [DEBUG] com.adobe.flex:compiler:pom:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:adt:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:afe:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:aglj40:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:asc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:baksmali:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik-all-flex:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_de:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_fr:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_ja:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_ko:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_ru:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:batik_zh_CN:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:commons-collections:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:commons-discovery:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:commons-logging:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:compc:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:copylocale:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:fcsh:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:fdb:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:flex-compiler-oem:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:flex-fontkit:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:flex-messaging-common:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:fxgutils:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:license:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_da:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_de:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_es:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_fi:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_fr:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_it:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_ja:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_ko:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_nb:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_nl:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_pt:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_ru:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_sv:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_zh_CN:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:mxmlc_zh_TW:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:rideau:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:saxon9:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:smali:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:swfdump:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:swfutils:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:velocity-dep-1.4-flex:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xalan:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_de:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_fr:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_ja:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_ko:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_ru:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesImpl_zh_CN:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xercesPatch:jar:4.5.1.21328:compile [DEBUG] com.adobe.flex.compiler:xmlParserAPIs:jar:4.5.1.21328:compile [DEBUG] Created new class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 [DEBUG] Importing foreign packages into class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-maven-plugin:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-threadlocaltoolkit-wrapper:jar:4.0-RC2 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.11 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.6 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-internal-compiler-iface:jar:4.0-RC2 [DEBUG] Included: org.apache.ws.jaxme:jaxmejs:jar:0.5.2 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-shim:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:2.9.4 [DEBUG] Included: aopalliance:aopalliance:jar:1.0 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-reflect:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-inject:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-locators:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-binders:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-scanners:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-bean-converters:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-metadata:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-converters:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-locators:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-binders:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu.inject:guice-plexus-scanners:jar:2.1.1 [DEBUG] Included: com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:digest:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:optimizer:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:asdoc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328 [DEBUG] Included: org.hamcrest:hamcrest-library:jar:1.1 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-configurator:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-api:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-graniteds-2.2.0:jar:4.0-RC2 [DEBUG] Included: org.graniteds:granite-generator:jar:2.2.0.RC2 [DEBUG] Included: org.graniteds:granite-generator-share:jar:2.2.0.RC2 [DEBUG] Included: org.codehaus.groovy:groovy-all:jar:1.6.2 [DEBUG] Included: org.apache.ant:ant:jar:1.7.1 [DEBUG] Included: org.apache.ant:ant-launcher:jar:1.7.1 [DEBUG] Included: jline:jline:jar:0.9.94 [DEBUG] Included: javax.persistence:persistence-api:jar:1.0 [DEBUG] Included: antlr:antlr:jar:2.7.7 [DEBUG] Included: javax.jdo:jdo2-api:jar:2.3-ea [DEBUG] Included: javax.transaction:jta:jar:1.1 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-constraints:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-coverage-reporter:jar:4.0-RC2 [DEBUG] Included: net.sourceforge.cobertura:cobertura:jar:1.9.4 [DEBUG] Included: oro:oro:jar:2.0.8 [DEBUG] Included: asm:asm:jar:3.0 [DEBUG] Included: asm:asm-tree:jar:3.0 [DEBUG] Included: log4j:log4j:jar:1.2.9 [DEBUG] Included: emma:emma:jar:2.0.5312 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-generator-mojo:jar:4.0-RC2 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-util:jar:4.0-RC2 [DEBUG] Included: dom4j:dom4j:jar:1.6.1 [DEBUG] Included: xml-apis:xml-apis:jar:1.0.b2 [DEBUG] Included: jaxen:jaxen:jar:1.1 [DEBUG] Included: jdom:jdom:jar:1.0 [DEBUG] Included: xerces:xercesImpl:jar:2.6.2 [DEBUG] Included: xom:xom:jar:1.0 [DEBUG] Included: xerces:xmlParserAPIs:jar:2.6.2 [DEBUG] Included: xalan:xalan:jar:2.6.0 [DEBUG] Included: com.ibm.icu:icu4j:jar:2.6.1 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0 [DEBUG] Included: commons-lang:commons-lang:jar:2.4 [DEBUG] Included: commons-io:commons-io:jar:1.4 [DEBUG] Included: commons-httpclient:commons-httpclient:jar:3.1 [DEBUG] Included: commons-logging:commons-logging:jar:1.0.4 [DEBUG] Included: commons-codec:commons-codec:jar:1.3 [DEBUG] Included: org.apache.maven.plugins:maven-source-plugin:jar:2.1.1 [DEBUG] Included: org.apache.maven:maven-archiver:jar:2.4 [DEBUG] Included: com.uwyn:jhighlight:jar:1.0 [DEBUG] Included: javax.servlet:servlet-api:jar:2.3 [DEBUG] Included: org.aspectj:aspectjrt:jar:1.6.10 [DEBUG] Included: eu.cedarsoft.utils:zip:jar:1.1 [DEBUG] Included: eu.cedarsoft:guice-annotations:jar:1.0 [DEBUG] Included: com.intellij:annotations:jar:6.0.3 [DEBUG] Included: org.sonatype.flexmojos:flexmojos-tester:jar:4.0-RC2 [DEBUG] Included: net.sf.saxon:saxon-dom:jar:9.0 [DEBUG] Included: com.googlecode.lambdaj:lambdaj:jar:2.1 [DEBUG] Included: org.objenesis:objenesis:jar:1.2 [DEBUG] Included: cglib:cglib-nodep:jar:2.2 [DEBUG] Included: org.mockito:mockito-core:jar:1.8.5 [DEBUG] Included: org.hamcrest:hamcrest-core:jar:1.1 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:1.2 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:1.0.1 [DEBUG] Included: com.googlecode.apparat:apparat-core:jar:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-matryoshka-quiet:pom:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-lzma-decoder:swc:1.0-RC9 [DEBUG] Included: com.adobe.flex.framework:playerglobal:swc:10.0:4.1.0.16076 [DEBUG] Included: com.adobe.flex.framework:flex:swc:4.1.0.16076 [DEBUG] Included: com.googlecode.apparat:apparat-matryoshka-preloader:pom:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-log:jar:1.0-RC9 [DEBUG] Included: com.googlecode.apparat:apparat-lzma-encoder:jar:1.0-RC9 [DEBUG] Included: org.scala-lang:scala-library:jar:2.8.1 [DEBUG] Included: com.googlecode.apparat:apparat-maven-plugin:jar:1.0-RC9 [DEBUG] Included: com.adobe.flex:compiler:pom:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:adt:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:afe:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:aglj40:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:asc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:baksmali:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik-all-flex:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_de:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_fr:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_ja:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_ko:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_ru:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:batik_zh_CN:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:commons-collections:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:commons-discovery:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:commons-logging:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:compc:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:copylocale:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:fcsh:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:fdb:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:flex-compiler-oem:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:flex-fontkit:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:flex-messaging-common:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:fxgutils:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:license:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_da:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_de:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_es:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_fi:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_fr:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_it:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_ja:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_ko:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_nb:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_nl:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_pt:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_ru:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_sv:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_zh_CN:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:mxmlc_zh_TW:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:rideau:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:saxon9:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:smali:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:swfdump:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:swfutils:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:velocity-dep-1.4-flex:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xalan:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_de:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_fr:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_ja:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_ko:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_ru:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesImpl_zh_CN:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xercesPatch:jar:4.5.1.21328 [DEBUG] Included: com.adobe.flex.compiler:xmlParserAPIs:jar:4.5.1.21328 [DEBUG] Extension realms for project com.myapp.plugin:myapp-ui:swf:1.0: [ClassRealm[extension>org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2, parent: sun.misc.Launcher$AppClassLoader@4e25154f]] [DEBUG] Created new class realm project>com.myapp.plugin:myapp-ui:1.0 [DEBUG] Populating class realm project>com.myapp.plugin:myapp-ui:1.0 [DEBUG] Looking up lifecyle mappings for packaging swf from ClassRealm[project>com.myapp.plugin:myapp-ui:1.0, parent: ClassRealm[maven.api, parent: null]] [ERROR] Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase at org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer.getPluginsBoundByDefaultToAllLifecycles(DefaultLifecyclePluginAnalyzer.java:119) at org.apache.maven.model.plugin.DefaultLifecycleBindingsInjector.injectLifecycleBindings(DefaultLifecycleBindingsInjector.java:64) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:451) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411) at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419) at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410) at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83) at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ... 11 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

    Apache's JIRA Issue Tracker | 11 months ago | Meytal Genah
    org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhas e
  3. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 1

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to org.apache.maven.lifecycle.mapping.LifecyclePhase

      at org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer.getPluginsBoundByDefaultToAllLifecycles()
    2. Maven Core
      DefaultLifecycleBindingsInjector.injectLifecycleBindings
      1. org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer.getPluginsBoundByDefaultToAllLifecycles(DefaultLifecyclePluginAnalyzer.java:119)
      2. org.apache.maven.model.plugin.DefaultLifecycleBindingsInjector.injectLifecycleBindings(DefaultLifecycleBindingsInjector.java:64)
      2 frames
    3. Maven Model Builder
      DefaultModelBuilder.build
      1. org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:451)
      2. org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421)
      2 frames
    4. Maven
      DefaultProjectBuilder.build
      1. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620)
      2. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626)
      3. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626)
      4. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626)
      5. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:626)
      6. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411)
      6 frames
    5. org.apache.maven
      DefaultGraphBuilder.build
      1. org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
      2. org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
      3. org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
      3 frames
    6. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
      2. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
      3. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      4. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      4 frames
    7. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames