title: flexmojo support in maven 3.2.5
body: <p>I am using maven 3.0.5 and i am trying to upgrade it to maven 3.2.5. everything goes fine other than 
  flexmojos.</p>
  
  <p>when i build using maven 3.0.5 - the application builds fine whereas the 3.2.5 verison gives me the below error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:copy-flex-resources 
  </code></pre>
  
  <p>(default) on project ngi-web: Execution default of goal 
  org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:copy-flex-resources failed: 
  An API incompatibility was encountered while executing 
  org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:copy-flex-resources: 
  java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;</p>
  
  <p>to resolve this, i updated the flexmojo version to 6.0.0 but still i get error as below </p>
  
  <pre><code>[ERROR] Plugin net.flexmojos.oss:flexmojos-maven-plugin:6.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for net.flexmojos.oss:flexmojos-maven-plugin:jar:6.0.0: Could not find artifact com.adobe.flex:framework:pom:4.6.0.23201 in all-repos (http://repo.cdiapps.com/repo) -&gt; [Help 1]
  </code></pre>
  
  <p>[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.</p>
  
  <p>does flexmojo 4.0-RC2 works only with maven 3.0.5?  can someone help me on this? </p>
  
  <p>here is the flexmojo configuration in pom.xml file:</p>
  
  <pre><code>  &lt;flexVersion&gt;4.5.1.21328&lt;/flexVersion&gt;
      &lt;flexUnitVersion&gt;4.0-rc-1&lt;/flexUnitVersion&gt;
      &lt;flexMojosVersion&gt;4.0-RC2&lt;/flexMojosVersion&gt;
     &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.6&lt;/source&gt;
                  &lt;target&gt;1.6&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;encoding&gt;UTF-8&lt;/encoding&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.sonatype.flexmojos&lt;/groupId&gt;
              &lt;artifactId&gt;flexmojos-maven-plugin&lt;/artifactId&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;com.adobe.flex&lt;/groupId&gt;
                      &lt;artifactId&gt;compiler&lt;/artifactId&gt;
                      &lt;version&gt;${flexVersion}&lt;/version&gt;
                      &lt;type&gt;pom&lt;/type&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;com.adobe.flex.compiler&lt;/groupId&gt;
                      &lt;artifactId&gt;asdoc&lt;/artifactId&gt;
                      &lt;version&gt;${flexVersion}&lt;/version&gt;
                      &lt;classifier&gt;template&lt;/classifier&gt;
                      &lt;type&gt;zip&lt;/type&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;version&gt;${flexMojosVersion}&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;copy-flex-resources&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                  &lt;webappDirectory&gt;${basedir}/src/main/webapp/static&lt;/webappDirectory&gt;
                  &lt;storepass/&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>