Ryan,

Everything looks ok from what I can see.  Do you happen to be running this
within eclipse?  If so, run it on the command-line (clean) and tell me if
that works.  I've found that m2e has issues with war wrapping in Galileo
(3.5) but not Ganymede (3.4).

If not, the only other thing I could guess is that I've never tested with
the configuration in the execution.  Try moving it directly into the plugin
and see if that works.  If so, that could be either a bug on my part or
maven's.

--David

On Thu, Aug 27, 2009 at 12:42 PM, ryan6608 <[email protected]> wrote:

>
> I'm having trouble with 3.3.0 and create-wrapper:wrapper.  With 3.0.0
> I used to use this which works (I hope the formatting works since
> there's no preview available):
>
> <build>
>        <plugins>
>                <plugin>
>                        <groupId>org.sonatype.flexmojos</groupId>
>                        <artifactId>flexmojos-maven-plugin</artifactId>
>                        <version>3.0.0</version>
>
>                        <executions>
>                                <execution>
>                                        <id>copy-resources</id>
>
>                                        <goals>
>
>  <goal>copy-flex-resources</goal>
>                                        </goals>
>
>                                        <configuration>
>
>  <stripVersion>true</stripVersion>
>                                        </configuration>
>                                </execution>
>
>                                <execution>
>                                        <id>create-wrapper</id>
>
>                                        <goals>
>                                                <goal>wrapper</goal>
>                                        </goals>
>
>                                        <configuration>
>                                                <htmlName>index</htmlName>
>
>  <outputDirectory>${project.build.directory}/html-wrapper</
> outputDirectory>
>                                                <parameters>
>                                                        <title>ITMA Flex
> UI</title>
>
>  <application>itma-flex-ui</application>
>
>  <swf>itma-flex-ui</swf>
>                                                        <width>100%</width>
>
>  <height>100%</height>
>                                                </parameters>
>                                        </configuration>
>                                </execution>
>                        </executions>
>                </plugin>
>
>                <plugin>
>                        <groupId>org.apache.maven.plugins</groupId>
>                        <artifactId>maven-war-plugin</artifactId>
>                        <configuration>
>                                <webResources>
>                                        <!-- Specifies the resources created
> by the wrapper execution. --
> >
>                                        <resource>
>
>  <directory>${project.build.directory}/html-wrapper</directory>
>
>                                                <includes>
>
>  <include>*.html</include>
>
>  <include>*.js</include>
>
>  <include>*.swf</include>
>                                                </includes>
>                                        </resource>
>                                </webResources>
>                        </configuration>
>                </plugin>
>        </plugins>
> </build>
>
> I've tried to update to 3.3.0, but it doesn't generate an html file.
> The ${project.build.dir}/war/work/*-template dirs only contain
> web.xml, nothing else.  My .war ends up having the correct .swf file,
> but no html wrapper.  I'm using the following updated configuration.
> I can't figure out what I'm doing wrong:
>
> <build>
>        <plugins>
>                <plugin>
>                        <groupId>org.sonatype.flexmojos</groupId>
>                        <artifactId>flexmojos-maven-plugin</artifactId>
>                        <version>3.3.0</version>
>
>                        <executions>
>                                <execution>
>                                        <id>copy-resources</id>
>
>                                        <goals>
>
>  <goal>copy-flex-resources</goal>
>                                        </goals>
>                                </execution>
>
>                                <execution>
>                                        <id>create-wrapper</id>
>
>                                        <goals>
>                                                <goal>wrapper</goal>
>                                        </goals>
>
>                                        <configuration>
>                                                <wrapperArtifact>
>
>  <groupId>${project.groupId}</groupId>
>
>  <artifactId>itma-flex-ui</artifactId>
>                                                </wrapperArtifact>
>                                        </configuration>
>                                </execution>
>                        </executions>
>                </plugin>
>
>                <plugin>
>                        <groupId>org.apache.maven.plugins</groupId>
>                        <artifactId>maven-war-plugin</artifactId>
>
>                        <!-- No Custom Config -->
>                </plugin>
>        </plugins>
> </build>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to