Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5958

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

    Details

      Description

      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

        Issue Links

          Activity

          Hide
          mcculls Stuart McCulloch added a comment -

          The issue appears to be that org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 has its own implementation of org/apache/maven/lifecycle/mapping/LifecycleMapping.java and this has been affected by the changes in https://issues.apache.org/jira/browse/MNG-5805

          While binary compatibility was restored for getPhases it wasn't for setPhases, which means that flexmojos-maven-plugin is pushing a map of Strings directly into the internal lifecyclePhases map which is now declared as Map<String,LifecyclePhase>. Unfortunately this mismatch isn't detected during the push because of generic type erasure, it's only when Maven trues to retrieve one of the values from the map and treats it as a LifecyclePhase that an exception occurs.

          The following patch should restore binary compatibility for the setPhases method:

          diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java b/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java
          index d2b6d6c..c14cf94 100644
          --- a/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java
          +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java
          @@ -106,8 +106,13 @@ public void setLifecyclePhases( Map<String, LifecyclePhase> lifecyclePhases )
               }
           
               @Deprecated
          -    public void setPhases( Map<String, LifecyclePhase> phases )
          +    public void setPhases( Map<String, String> phases )
               {
          -        setLifecyclePhases( phases );
          +        Map<String, LifecyclePhase> lphases = new LinkedHashMap<>();
          +        for ( Map.Entry<String, String> e: phases.entrySet() )
          +        {
          +            lphases.put( e.getKey(), new LifecyclePhase( e.getValue() ) );
          +        }
          +        setLifecyclePhases( lphases );
               }
           }
          
          Show
          mcculls Stuart McCulloch added a comment - The issue appears to be that org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2 has its own implementation of org/apache/maven/lifecycle/mapping/LifecycleMapping.java and this has been affected by the changes in https://issues.apache.org/jira/browse/MNG-5805 While binary compatibility was restored for getPhases it wasn't for setPhases, which means that flexmojos-maven-plugin is pushing a map of Strings directly into the internal lifecyclePhases map which is now declared as Map<String,LifecyclePhase>. Unfortunately this mismatch isn't detected during the push because of generic type erasure, it's only when Maven trues to retrieve one of the values from the map and treats it as a LifecyclePhase that an exception occurs. The following patch should restore binary compatibility for the setPhases method: diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java b/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java index d2b6d6c..c14cf94 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java @@ -106,8 +106,13 @@ public void setLifecyclePhases( Map< String , LifecyclePhase> lifecyclePhases ) } @Deprecated - public void setPhases( Map< String , LifecyclePhase> phases ) + public void setPhases( Map< String , String > phases ) { - setLifecyclePhases( phases ); + Map< String , LifecyclePhase> lphases = new LinkedHashMap<>(); + for ( Map.Entry< String , String > e: phases.entrySet() ) + { + lphases.put( e.getKey(), new LifecyclePhase( e.getValue() ) ); + } + setLifecyclePhases( lphases ); } }
          Hide
          mcculls Stuart McCulloch added a comment -

          PS. the following minimal pom.xml recreates the issue - with the above patch the exception no longer occurs:

          <?xml version="1.0" encoding="UTF-8"?>
          <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>
          
            <groupId>org.example</groupId>
            <artifactId>mng-958</artifactId>
            <version>1.0</version>
          
            <packaging>swf</packaging>
          
            <build>
              <plugins>
                <plugin>
                  <groupId>org.sonatype.flexmojos</groupId>
                  <artifactId>flexmojos-maven-plugin</artifactId>
                  <version>4.0-RC2</version>
                  <extensions>true</extensions>
                </plugin>
              </plugins>
            </build>
          
          </project>
          
          Show
          mcculls Stuart McCulloch added a comment - PS. the following minimal pom.xml recreates the issue - with the above patch the exception no longer occurs: <?xml version= "1.0" encoding= "UTF-8" ?> <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> <groupId>org.example</groupId> <artifactId>mng-958</artifactId> <version>1.0</version> <packaging>swf</packaging> <build> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>4.0-RC2</version> <extensions> true </extensions> </plugin> </plugins> </build> </project>
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user mcculls opened a pull request:

          https://github.com/apache/maven/pull/77

          MNG-5958 restore binary compatibility of Lifecycle.setPhases

          https://issues.apache.org/jira/browse/MNG-5958

          While MNG-5805 restored binary compatibility of Lifecycle.getPhases it didn't do the same for Lifecycle.setPhases. This breaks plugins like flexmojos-maven-plugin which have their own lifecycle mapping implementations.

          The following pom.xml demonstrates the issue:
          ```
          <?xml version="1.0" encoding="UTF-8"?>
          <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>

          <groupId>org.example</groupId>
          <artifactId>mng-958</artifactId>
          <version>1.0</version>

          <packaging>swf</packaging>

          <build>
          <plugins>
          <plugin>
          <groupId>org.sonatype.flexmojos</groupId>
          <artifactId>flexmojos-maven-plugin</artifactId>
          <version>4.0-RC2</version>
          <extensions>true</extensions>
          </plugin>
          </plugins>
          </build>

          </project>
          ```
          Using "mvn validate" with Maven 3.3.9 you get the following exception:
          ```
          [INFO] Scanning for projects...
          [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: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] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [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
          ```
          With Maven 3.3.3 this exception doesn't occur.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/mcculls/maven MNG-5958-restore-lifecycle-setphases-compatibility

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/maven/pull/77.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #77


          commit c09717ebf6c69142fd0b8c09dc59585b77b49a47
          Author: Stuart McCulloch <mcculls@gmail.com>
          Date: 2016-01-06T11:23:06Z

          MNG-5958 restore binary compatibility of Lifecycle.setPhases

          While MNG-5805 restored binary compatibility of Lifecycle.getPhases
          it didn't do the same for Lifecycle.setPhases. This breaks plugins
          like flexmojos-maven-plugin which have their own lifecycle mapping
          implementations.


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user mcculls opened a pull request: https://github.com/apache/maven/pull/77 MNG-5958 restore binary compatibility of Lifecycle.setPhases https://issues.apache.org/jira/browse/MNG-5958 While MNG-5805 restored binary compatibility of Lifecycle.getPhases it didn't do the same for Lifecycle.setPhases. This breaks plugins like flexmojos-maven-plugin which have their own lifecycle mapping implementations. The following pom.xml demonstrates the issue: ``` <?xml version="1.0" encoding="UTF-8"?> <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> <groupId>org.example</groupId> <artifactId>mng-958</artifactId> <version>1.0</version> <packaging>swf</packaging> <build> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>4.0-RC2</version> <extensions>true</extensions> </plugin> </plugins> </build> </project> ``` Using "mvn validate" with Maven 3.3.9 you get the following exception: ``` [INFO] Scanning for projects... [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: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] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [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 ``` With Maven 3.3.3 this exception doesn't occur. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mcculls/maven MNG-5958 -restore-lifecycle-setphases-compatibility Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven/pull/77.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #77 commit c09717ebf6c69142fd0b8c09dc59585b77b49a47 Author: Stuart McCulloch <mcculls@gmail.com> Date: 2016-01-06T11:23:06Z MNG-5958 restore binary compatibility of Lifecycle.setPhases While MNG-5805 restored binary compatibility of Lifecycle.getPhases it didn't do the same for Lifecycle.setPhases. This breaks plugins like flexmojos-maven-plugin which have their own lifecycle mapping implementations.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user atanasenko commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169321926

          +1
          Turns out people do use this method..
          Stuart, thanks for fixing!

          Show
          githubbot ASF GitHub Bot added a comment - Github user atanasenko commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169321926 +1 Turns out people do use this method.. Stuart, thanks for fixing!
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169331471

          @jvanzyl This looks like a safe merge. I would pull if you don't mind.

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169331471 @jvanzyl This looks like a safe merge. I would pull if you don't mind.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169331588

          @mcculls It would be great if you could an IT to the Core IT Suite. A negative and positive one.

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169331588 @mcculls It would be great if you could an IT to the Core IT Suite. A negative and positive one.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user atanasenko commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169332865

          @michael-o, @mcculls I can also assist with tests

          Show
          githubbot ASF GitHub Bot added a comment - Github user atanasenko commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169332865 @michael-o, @mcculls I can also assist with tests
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169349132

          @atanasenko Давай, спасибо!

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169349132 @atanasenko Давай, спасибо!
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user mcculls commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169349800

          @atanasenko thanks, that would be helpful

          Show
          githubbot ASF GitHub Bot added a comment - Github user mcculls commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169349800 @atanasenko thanks, that would be helpful
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user jvanzyl commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169376675

          @michael-o +1, thanks very much!

          Show
          githubbot ASF GitHub Bot added a comment - Github user jvanzyl commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169376675 @michael-o +1, thanks very much!
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169481891

          Great, I will wait for the ITs and try both and merge.

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169481891 Great, I will wait for the ITs and try both and merge.
          Hide
          meytalG Meytal Genah added a comment -

          Thank you for the fast reply and fix!

          Show
          meytalG Meytal Genah added a comment - Thank you for the fast reply and fix!
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user atanasenko opened a pull request:

          https://github.com/apache/maven-integration-testing/pull/13

          MNG-5958 restore binary compatibility of Lifecycle.setPhases

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/atanasenko/maven-integration-testing mng5958

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/maven-integration-testing/pull/13.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #13


          commit 636385e7fa80d6da8cc27a63867268059f2ed4e5
          Author: Anton Tanasenko <atg.sleepless@gmail.com>
          Date: 2016-01-07T02:01:28Z

          MNG-5958 restore binary compatibility of Lifecycle.setPhases


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user atanasenko opened a pull request: https://github.com/apache/maven-integration-testing/pull/13 MNG-5958 restore binary compatibility of Lifecycle.setPhases You can merge this pull request into a Git repository by running: $ git pull https://github.com/atanasenko/maven-integration-testing mng5958 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-integration-testing/pull/13.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #13 commit 636385e7fa80d6da8cc27a63867268059f2ed4e5 Author: Anton Tanasenko <atg.sleepless@gmail.com> Date: 2016-01-07T02:01:28Z MNG-5958 restore binary compatibility of Lifecycle.setPhases
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user atanasenko commented on the pull request:

          https://github.com/apache/maven/pull/77#issuecomment-169636108

          This change actually breaks MNG-5805 test since plexus can no longer call setPhases with Lifecycle map. However, I think changing the functionality (and test) to use <lifecyclePhases> is safe since this feature was not announced much and nobody's using it. I haven't got to using it either, so..

          I've created a pull request with positive/negative ITs for this issue as well as a change to MNG-5805 IT:
          https://github.com/apache/maven-integration-testing/pull/13

          Show
          githubbot ASF GitHub Bot added a comment - Github user atanasenko commented on the pull request: https://github.com/apache/maven/pull/77#issuecomment-169636108 This change actually breaks MNG-5805 test since plexus can no longer call setPhases with Lifecycle map. However, I think changing the functionality (and test) to use <lifecyclePhases> is safe since this feature was not announced much and nobody's using it. I haven't got to using it either, so.. I've created a pull request with positive/negative ITs for this issue as well as a change to MNG-5805 IT: https://github.com/apache/maven-integration-testing/pull/13
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-169641948

          Thank you. I will have a look and run it.

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-169641948 Thank you. I will have a look and run it.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user atanasenko commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-169820952

          btw, I'm also seeing a failure in test for MNG-4919, which seems to be caused by MNG-5359

          Show
          githubbot ASF GitHub Bot added a comment - Github user atanasenko commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-169820952 btw, I'm also seeing a failure in test for MNG-4919 , which seems to be caused by MNG-5359
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-169988105

          Just trying to run the ITs without your patch first.

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-169988105 Just trying to run the ITs without your patch first.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170016837

          Seems like I can't run the tests in a locked down environment, regardless of a Nexus instance and am HTTP proxy. Artifact resolution always points to `file:target/null`

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170016837 Seems like I can't run the tests in a locked down environment, regardless of a Nexus instance and am HTTP proxy. Artifact resolution always points to ` file:target/null `
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user atanasenko commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170025305

          I've had troubles running tests when following official guidelines [1].
          But changing 'mvn clean test ...' to 'mvn clean install ...' helped.
          [1] https://maven.apache.org/core-its/core-it-suite/

          Show
          githubbot ASF GitHub Bot added a comment - Github user atanasenko commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170025305 I've had troubles running tests when following official guidelines [1] . But changing 'mvn clean test ...' to 'mvn clean install ...' helped. [1] https://maven.apache.org/core-its/core-it-suite/
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170228875

          The Its do not work if you are behind a repo manager and in an locked down environment, regardless of the tips on the site.

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170228875 The Its do not work if you are behind a repo manager and in an locked down environment, regardless of the tips on the site.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user jvanzyl commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170241627

          Once all the files are in the bootstrap that you might need I've never had an issue. I'll double check on Monday, but last week I ran the ITs on a machine with only access to our Nexus proxy. I've basically had the same local setup (across various versions of OSX) for 8 years so I may well have something here that you don't have. But I haven't had any accessibility problems for a long time.

          Show
          githubbot ASF GitHub Bot added a comment - Github user jvanzyl commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170241627 Once all the files are in the bootstrap that you might need I've never had an issue. I'll double check on Monday, but last week I ran the ITs on a machine with only access to our Nexus proxy. I've basically had the same local setup (across various versions of OSX) for 8 years so I may well have something here that you don't have. But I haven't had any accessibility problems for a long time.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user michael-o commented on the pull request:

          https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170257051

          That is strange, I ran the ITs from my Windows and FreeBSD machine at work. Both failed with `maven.it.central` pointing to our Nexus instance. On my home machine it didn't work either unless I have removed the mirror from my local `settings.xml`.

          Show
          githubbot ASF GitHub Bot added a comment - Github user michael-o commented on the pull request: https://github.com/apache/maven-integration-testing/pull/13#issuecomment-170257051 That is strange, I ran the ITs from my Windows and FreeBSD machine at work. Both failed with `maven.it.central` pointing to our Nexus instance. On my home machine it didn't work either unless I have removed the mirror from my local `settings.xml`.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/maven/pull/77

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/maven/pull/77
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/maven-integration-testing/pull/13

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/maven-integration-testing/pull/13
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1215 (See https://builds.apache.org/job/maven-3.x/1215/)
          MNG-5958 restore binary compatibility of Lifecycle.setPhases (schulte: rev 5cf2b135ca49b3be77ced86d0b44b990b702acab)

          • maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1215 (See https://builds.apache.org/job/maven-3.x/1215/ ) MNG-5958 restore binary compatibility of Lifecycle.setPhases (schulte: rev 5cf2b135ca49b3be77ced86d0b44b990b702acab) maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java
          Hide
          stephenc Stephen Connolly added a comment -

          Maven 3.4.0 has been dropped. See this thread for more details.

          This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.

          Show
          stephenc Stephen Connolly added a comment - Maven 3.4.0 has been dropped. See this thread for more details. This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user atanasenko opened a pull request:

          https://github.com/apache/maven-integration-testing/pull/18

          MNG-5958 restore binary compatibility of Lifecycle.setPhases

          Modify tests for MNG-5805

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/atanasenko/maven-integration-testing MNG-5958

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/maven-integration-testing/pull/18.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #18


          commit 2bed491dee89050473a99e06e3e4e5794f492c7f
          Author: Anton Tanasenko <atg.sleepless@gmail.com>
          Date: 2017-01-15T23:01:28Z

          MNG-5958 restore binary compatibility of Lifecycle.setPhases

          Modify tests for MNG-5805


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user atanasenko opened a pull request: https://github.com/apache/maven-integration-testing/pull/18 MNG-5958 restore binary compatibility of Lifecycle.setPhases Modify tests for MNG-5805 You can merge this pull request into a Git repository by running: $ git pull https://github.com/atanasenko/maven-integration-testing MNG-5958 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-integration-testing/pull/18.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18 commit 2bed491dee89050473a99e06e3e4e5794f492c7f Author: Anton Tanasenko <atg.sleepless@gmail.com> Date: 2017-01-15T23:01:28Z MNG-5958 restore binary compatibility of Lifecycle.setPhases Modify tests for MNG-5805
          Hide
          schulte77 Christian Schulte added a comment -

          The changes to the core integration testing repository have been discussed on dev@. See the following threads.

          [IT MNG-5958]: Please review integration test for MNG-5958
          [IT MNG-5958 - Take 2]: Please review integration test for MNG-5958

          Show
          schulte77 Christian Schulte added a comment - The changes to the core integration testing repository have been discussed on dev@. See the following threads. [IT MNG-5958]: Please review integration test for MNG-5958 [IT MNG-5958 - Take 2]: Please review integration test for MNG-5958
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1514 (See https://builds.apache.org/job/maven-3.x/1514/)
          MNG-5958 restore binary compatibility of Lifecycle.setPhases (schulte: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=6b31c4a556f51cd1c2064fe773550c0acf14d307)

          • (edit) maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1514 (See https://builds.apache.org/job/maven-3.x/1514/ ) MNG-5958 restore binary compatibility of Lifecycle.setPhases (schulte: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=6b31c4a556f51cd1c2064fe773550c0acf14d307 ) (edit) maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/maven-integration-testing/pull/18

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/maven-integration-testing/pull/18
          Hide
          hudson Hudson added a comment -

          Build unstable in Jenkins: Maven TLP (wip) » maven » pre-reset-master #3

          See https://builds.apache.org/job/maven-wip/job/maven/job/pre-reset-master/3/

          Show
          hudson Hudson added a comment - Build unstable in Jenkins: Maven TLP (wip) » maven » pre-reset-master #3 See https://builds.apache.org/job/maven-wip/job/maven/job/pre-reset-master/3/

            People

            • Assignee:
              schulte77 Christian Schulte
              Reporter:
              meytalG Meytal Genah
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development