Now, compare your dependency list with faq 2.... On Thu, Jul 15, 2010 at 9:17 AM, Wilson <[email protected]> wrote:
> On Jul 15, 12:49 pm, Marvin Froeder <[email protected]> wrote: > > http://flexmojos.sonatype.org/faq.html#2 > > Maven 2.0.9 - Check > Plugin configured to override compiler version - Check > > I've cleaned up and simplified my POM - still running with flex > version 4.1.0.16248. > > First thing I encounter is: > Exception: Player/Air Global dependency not found. > So I add in exclusions for playerglobal and add the dependency > elsewhere. > Now I'm back to: > Could not resolve <s:Application> to a component > implementation. > > My dependency list consists of: > > ------------------------------------- > %<------------------------------------ > <dependencies> > <dependency> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.7.1</version> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>framework</artifactId> > <version>${flex.version}</version> > <type>pom</type> > <exclusions> > <exclusion> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>playerglobal</artifactId> > </exclusion> > </exclusions> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>framework</artifactId> > <version>${flex.version}</version> > <type>swc</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>playerglobal</artifactId> > <version>${flex.version}</version> > <classifier>10.1</classifier> > <type>swc</type> > </dependency> > </dependencies> > ------------------------------------- > %<------------------------------------ > > And the plugin is configured as: > > ------------------------------------- > %<------------------------------------ > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.7.1</version> > <extensions>true</extensions> > <configuration> > <output>${basedir}/../Prototype/src/main/webapp/$ > {project.build.finalName}/${project.build.finalName}.swf</output> > > <services>${basedir}/../Prototype/src/main/webapp/WEB-INF/flex/ > services-config.xml</services> > <contextRoot>/Prototype</contextRoot> > <debug>true</debug> > </configuration> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${flex.version}</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.compiler</groupId> > <artifactId>asdoc</artifactId> > <version>${flex.version}</version> > <classifier>template</classifier> > <type>zip</type> > </dependency> > </dependencies> > </plugin> > ------------------------------------- > %<------------------------------------ > > Thanks for your quick replies! > > Regards, > Paul > > -- > 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%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- 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/
