I know that this has been reported before (most recently in
http://groups.google.com/group/flex-mojos/browse_thread/thread/93f0679463138c5f/c523681a80f2facb),
but I have the same problem.

# mvn -v
Apache Maven 3.0.1 (r1038046; 2010-11-23 05:58:32-0500)
Java version: 1.6.0_20
Java home: /usr/java/jdk1.6.0_20/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.9-42.elsmp" arch: "i386" Family: "unix"

flexmojos-maven-plugin version: 3.8 (also same error with 3.7.1)
Flex framework version: 4.1.0.16076

Error:
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:3.8:sign-air (default) on project my-air: Execution default of
goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:sign-air
failed: A required class was missing while executing
org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:sign-air: org/apache/
maven/artifact/transform/SnapshotTransformation

I know that this somehow works for other folks, but the issue seems to
me to be the difference between maven 2.2 and 3.0.  In 2.2, $M2_HOME/
lib/maven-2.2.1-uber.jar contains the class
org.apache.maven.artifact.transform.SnapshotTransformation.  However,
in 3.0, the file $M2_HOME/lib/maven-compat-3.0.1.jar contains
SnapshotTransform, but it's in the
org.apache.maven.repository.legacy.resolver.transform package.

The class (as mentioned in the other thread) is also in maven-artifact-
manager-2.2.1.jar (I did try specifying it as a dependency to the
flexmojos-maven-plugin plugin, but that didn't work either :)).

Any thoughts on this?  Like the other post, if I revert to maven 2.2,
I don't get this error...

Thanks
Andrew

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to