Sorry, my bad. If I remove that, I have to use the following plugin
settings, but the result is the same,
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flexmojos.version}</version>
<extensions>true</extensions>
<configuration>
<output>${target.bin.dir}/${target.swf.name}</
output>
<sourceFile>${source.mxml.name}</sourceFile>
<configFile>${config.dir}/
configurationClassesCompilerConfig.xml</configFile>
<rslUrls>
<url>{artifactId}-{version}.{extension}</url>
</rslUrls>
</configuration>
<executions>
<execution>
<id>flexmojos-wrapper-execution</id>
<phase>generate-resources</phase>
<goals>
<goal>wrapper</goal>
</goals>
<configuration>
<htmlName>${target.name}</htmlName>
<outputDirectory>${target.bin.dir}</
outputDirectory>
<parameters>
<swf>${target.name}</swf>
<application>${target.name}</
application>
<version_major>$
{flashplayer.version.major}</version_major>
<version_minor>$
{flashplayer.version.minor}</version_minor>
<version_revision>$
{flashplayer.version.revision}</version_revision>
</parameters>
<templateURI>embed:express-installation-
with-history</templateURI>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>clean-after-flexmojo-wrapper-execution</
id>
<phase>generate-resources</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<excludeDefaultDirectories>true</
excludeDefaultDirectories>
<filesets>
<fileset>
<directory>${target.bin.dir}</
directory>
<includes>
<include>template.zip</
include>
</includes>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources-after-flexmojo-wrapper-
execution</id>
<phase>process-resources</phase>
<goals>
<goal>resources</goal>
</goals>
<configuration>
<outputDirectory>${target.bin.dir}</
outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
Thanks,
John
On Aug 20, 12:04 pm, John <[email protected]> wrote:
> Copied from the following wiki.
>
> https://docs.sonatype.org/display/FLEXMOJOS/Package+AIR+Application
>
> If I remove it, the result is the same.
>
> Thanks,
>
> John
> On Aug 20, 11:51 am, velo <[email protected]> wrote:
>
> > Why is that?
>
> > > <parent>
> > > <groupId>org.sonatype.flexmojos</groupId>
> > > <artifactId>flexmojos-flex-super-pom</artifactId>
> > > <!--artifactId>flexmojos-air-super-pom</artifactId-->
> > > <version>3.2.0</version>
> > > </parent>
>
> > VELO
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---