*Description*: Goal to copy flex artifacts into war projects. This isn't a war project, you must have a war project to place it.
VELO On Jul 23, 7:40 pm, mattmadhavan <[email protected]> wrote: > Marvin > The following is the xml snippet I have! Can you be a little more > explicit or may be update my pom? > > Any help will be upreciated! > > Thanks > Matt > > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.6.1</version> > <extensions>true</extensions> > <executions> > <execution> > <goals> > <goal>wrapper</goal> > <goal>flexbuilder</goal> > <goal>copy-flex-resources</goal> > </goals> > </execution> > </executions> > <configuration> > <output>${basedir}/../testdrive/src/main/webapp/$ > {project.build.finalName}/${project.build.finalName}.swf</output> > <webappDirectory>${basedir}/../testdrive/src/main/ > webapp/${project.build.finalName}/</webappDirectory> > <services>${basedir}/../testdrive/src/main/webapp/WEB- > INF/flex/services-config.xml</services> > <contextRoot>/testdrive</contextRoot> > <locales> > <locale>en_US</locale> > </locales> > <targetPlayer>10.0.0</targetPlayer> > > </configuration> > > On Jul 23, 12:54 pm, Marvin Froeder <[email protected]> wrote: > > > flexmojos:copy-flex-resources > > > *Full name*: > > > org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0:copy-flex-resources > > > *Description*: > > Goal to copy flex artifacts into war projects. > > > On Fri, Jul 23, 2010 at 2:06 PM, mattmadhavan <[email protected]>wrote: > > > > Hello, > > > I've been struggling with this problem for a while. I wan the flex > > > resources like html wrapper etc to be copied to the webapp location > > > just like the ones generated by the FlexBuilder. I have no luck! I'm > > > using the correct goal, specifying the webappdolder etc but no luck > > > > Can some one give me a hand? The following is my POM! > > > > <code> > > > <?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> > > > > <parent> > > > <groupId>org.springframework.flex.samples</groupId> > > > <artifactId>spring-flex-testdrive</artifactId> > > > <version>1.0.3.RELEASE</version> > > > </parent> > > > > <artifactId>collaboration</artifactId> > > > <packaging>swf</packaging> > > > > <name>Collaboration Sample</name> > > > > <build> > > > <finalName>collaboration</finalName> > > > <sourceDirectory>src/main/flex</sourceDirectory> > > > <testSourceDirectory>src/test/flex</testSourceDirectory> > > > <plugins> > > > <plugin> > > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > <version>3.6.1</version> > > > <extensions>true</extensions> > > > <executions> > > > <execution> > > > <goals> > > > <goal>wrapper</goal> > > > <goal>flexbuilder</goal> > > > <goal>copy-flex-resources</goal> > > > </goals> > > > </execution> > > > </executions> > > > <configuration> > > > <output>${basedir}/../testdrive/src/main/webapp/$ > > > {project.build.finalName}/${project.build.finalName}.swf</output> > > > <webappDirectory>${basedir}/../testdrive/src/main/ > > > webapp/${project.build.finalName}/</webappDirectory> > > > <services>${basedir}/../testdrive/src/main/webapp/WEB- > > > INF/flex/services-config.xml</services> > > > <contextRoot>/testdrive</contextRoot> > > > <locales> > > > <locale>en_US</locale> > > > </locales> > > > <targetPlayer>10.0.0</targetPlayer> > > > > </configuration> > > > <dependencies> > > > <dependency> > > > <groupId>com.adobe.flex</groupId> > > > <artifactId>compiler</artifactId> > > > <version>4.0.0.14159</version> > > > <type>pom</type> > > > </dependency> > > > </dependencies> > > > > </plugin> > > > </plugins> > > > </build> > > > > <dependencies> > > > <dependency> > > > <groupId>com.adobe.flex.framework</groupId> > > > <artifactId>flex-framework</artifactId> > > > <version>4.0.0.14159</version> > > > <type>pom</type> > > > </dependency> > > > > <!-- flexmojos Unit testing support --> > > > <!-- > > > <dependency> <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-unittest-support</artifactId> > > > <version>3.2.0</version> <type>swc</type> <scope>test</scope> > > > </dependency> > > > --> > > > </dependencies> > > > </project> > > > </code> > > > > -- > > > 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/
