Thanks for the quick response.

Unfortunately, our build is huge and upgrading to Maven 3.0.3 is a huge undertaking. We want to get to FM 4.x this year, but I need to get the release plugin working much sooner than we can upgrade and retest the entire build.

What is causing this?

Are there any hacks with any other plugins that may stop this from deploying twice, perhaps by intercepting it?

Are there any settings we can tweak?

We'd love to be able to use the maven release plugin.

I greatly appreciate your help!
Steven

On 1/10/2012 1:53 AM, Marvin Froeder wrote:
FM4 fixes that if I'm not mistaken...

On Jan 9, 4:35 pm, Steven Boscarine<[email protected]>  wrote:
(sorry for the repost - I accidentally sent before completing the
title)

Hello All,
Our build is attempting to upload localized swf’s twice and it is
breaking the maven release plugin (mvn 2.2.1).  Our plugin config is
pasted below.  Does anyone have any ideas on how to get our build to
only upload once so we can run mvn release:prepare release:perform?
The build only attempts to upload the non-localized versions once, so
if I comment out the localizations, it releases successfully.
Thanks,
Steven
<plugin>
         <groupId>org.sonatype.flexmojos</groupId>
         <artifactId>flexmojos-maven-plugin</artifactId>
         <version>3.8</version>
         <dependencies>
                 <dependency>
                         <groupId>com.adobe.flex</groupId>
                         <artifactId>compiler</artifactId>
                         <version>${flex.sdk.version}</version>
                         <type>pom</type>
                 </dependency>
         </dependencies>
         <executions>
                 <execution>
                         <goals>
                                 <goal>wrapper</goal>
                         </goals>
                 </execution>
         </executions>
         <extensions>true</extensions>
         <configuration>
                 <accessible>true</accessible>
                 <allowSourcePathOverlap>true</allowSourcePathOverlap>
                 <compiledLocales>
                         <locale>en_US</locale>
                 </compiledLocales>
                 <configurationReport>true</configurationReport>
                 <debug>${enableFlashDebug}</debug>
                 <defaultBackgroundColor>EEEEEE</
defaultBackgroundColor>
                 <generateHtmlWrapper>true</generateHtmlWrapper>
                 <includeResourceBundles>
                         <bundle>rules</bundle>
                         <bundle>customapp</bundle>
                         <bundle>error</bundle>
                         <bundle>sharedResources</bundle>
                 </includeResourceBundles>
                 <resourceBundlePath>${project.basedir}/src/main/
resources/locales/
{locale}</resourceBundlePath>
                 <runtimeLocaleOutputPath>/{contextRoot}/locales/
{artifactId}-
{locale}.swf</runtimeLocaleOutputPath>
                 <!-- When I comment out this section, I can perform a
release.  When
it is enabled, it tries to upload the localized swf's twice -->
                 <runtimeLocales>
                         <locale>es_ES</locale>
                         <locale>en_GB</locale>
                         <locale>fr_FR</locale>
                         <locale>de_DE</locale>
                         <locale>ja_JP</locale>
                 </runtimeLocales>
                 <targetPlayer>10.0.1</targetPlayer>
                 <verboseStacktraces>${enableFlashVerboseStacktraces}
</
verboseStacktraces>
         </configuration>
</plugin>

--
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