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