I have a project made up of 3 modules: domain, flex, and war.  We want
to deploy build and test the code, then deploy the war to a tomcat
container using Maven from a command line.  We have everything working
except for the generation of the html file(s).  I am also not sure
that I am copying the resources correctly.  What we have to do in
order to deploy is "point" our flex project (in eclipse) to to web
project/src/main/webapp directory, so that the output of the flex
compile goes directly into the source directory of the web project.
Obviously, this is not the right way to do this.  Below is the snippet
of the web project's pom.xml file.  Is there something obvious that I
have ommitted?  I was attempting to use this web page as a guide.  It
is entirely possible that I am misinterpreting some of the
descriptions https://docs.sonatype.org/display/FLEXMOJOS/Html+Wrapper+Mojo.
I was expecting to find Main.html (and some other files) in the
generated war file.



        <build>
                <!-- WAR filename -->
                <finalName>odextrading</finalName>

                <plugins>

                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>3.8</version>
                                <executions>
                                        <execution>
                                                <goals>
                                                        
<goal>copy-flex-resources</goal>
                                                        <goal>wrapper</goal>
                                                </goals>
                                        </execution>
                                </executions>

                                <configuration>
                                    <wrapperArtifact>
                                        <groupId>com.odex.odexTrading</groupId>
                                        <artifactId>odex-flex</artifactId>
                                    </wrapperArtifact>

                                    <templatInclusions>
                                        <String>**/*.html</String>
                                        <String>**/*.js</String>
                                        <String>WEB-INF/**/*</String>
                                    </templatInclusions>
                                </configuration>
                        </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

http://flexmojos.sonatype.org/

Reply via email to