Hi, that is how my POM is configured and I still get the error. Here's my POM.xml:
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http:// maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>CBInsight</artifactId> <groupId>com.barcap.converts</groupId> <version>1.0-SNAPSHOT</version> </parent> <groupId>com.barcap.converts</groupId> <artifactId>cbinsight-ria</artifactId> <version>1.0-SNAPSHOT</version> <packaging>swf</packaging> <name>CBInsight Flex Components Build</name> <url>http://maven.apache.org</url> <build> <sourceDirectory>src</sourceDirectory> <defaultGoal>install</defaultGoal> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>3.5.0</version> <extensions>true</extensions> <configuration> <sourceFile>/emea/NewIssuesMain.mxml</sourceFile> <contextRoot>ECV-FLEX</contextRoot> </configuration> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>3.3.0.4852</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flex.compiler</groupId> <artifactId>asdoc</artifactId> <version>3.3.0.4852</version> <classifier>template</classifier> <type>zip</type> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-config</id> <goals> <goal>unpack-dependencies</goal> </goals> <phase>generate-resources</phase> <configuration> <outputDirectory>${project.build.directory}/generated- resources</outputDirectory> <includeArtifacIds>cbinsight-config</includeArtifacIds> <includeGroupIds>${project.groupId}</includeGroupIds> <excludeTransitive>true</excludeTransitive> </configuration> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>${basedir}/src/main/resources</directory> </resource> <resource> <directory>${basedir}/target/generated-resources</directory> <filtering>true</filtering> </resource> </resources> </build> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>cbinsight-config</artifactId> <version>1.0-SNAPSHOT</version> <classifier>resources</classifier> <type>zip</type> <scope>provided</scope> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>3.3.0.4852</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>datavisualization</artifactId> <version>3.3.0.4852</version> <type>swc</type> </dependency> </dependencies> </project> Any other suggestions? Thanks in advance, Murray On Mar 19, 5:47 pm, Marvin Froeder <[email protected]> wrote: > Take a look > athttps://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-Q.Howtogetflexmoj... > > Specially at the warning. > > VELO > > On Fri, Mar 19, 2010 at 1:52 PM, Murray Furtado < > > > > [email protected]> wrote: > > Hi, > > > I get the following exception when compiling with the flexmojo Maven 2 > > plugin (v 3.5) > > > java.lang.NoClassDefFoundError: flex2/linker/SimpleMovie > > > Here are my flex dependencies: > > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>flex-framework</artifactId> > > <version>3.3.0.4852</version> > > <type>pom</type> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>datavisualization</artifactId> > > <version>3.3.0.4852</version> > > <type>swc</type> > > </dependency> > > > This wasn't a problem when compiling with the 3.2 SDK... I've also > > tried compiling with the 3.5 sdk which gives the same error. > > > I can't find anything on the web about this issue. Can you help me? > > > Many thanks, > > > Murray > > > -- > > 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]<flex-mojos%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/flex-mojos?hl=en?hl=en > > >http://flexmojos.sonatype.org/ > > > To unsubscribe from this group, send email to flex-mojos+ > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > ME" as the subject.- Hide quoted text - > > - Show quoted text - -- 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?hl=en?hl=en http://flexmojos.sonatype.org/ To unsubscribe from this group, send email to flex-mojos+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
