I used the link as you gave as a reference and am getting an error on the
WAR (SWC and SWF successfully compile):
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<executions>
<execution>
<id>copy-swf-resources</id>
<goals>
<goal>copy-flex-resources</goal>
</goals>
</execution>
</executions>
<configuration>
<webappDirectory>${basedir}/src/main/webapp</webappDirectory>
</configuration>
</plugin>
ERROR:
[INFO] Flexmojos 3.7.1
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
Downloading:
http://our-nexus.example.com/content/groups/our-nexus/com/adobe/flex/framewo
rk/flex/3.5.0.12683/flex-3.5.0.12683.swf
[INFO] Unable to find resource
'com.adobe.flex.framework:flex:swf:3.5.0.12683' in repository
flexmojos-repository
(http://repository.sonatype.org/content/groups/flexgroup/)
Downloading: http://our-nexus.example.com
/content/groups/our-nexus/com/adobe/flex/framework/flex/3.5.0.12683/flex-3.5
.0.12683.swf
[INFO] Unable to find resource
'com.adobe.flex.framework:flex:swf:3.5.0.12683' in repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.adobe.flex.framework
-DartifactId=flex -Dversion=3.5.0.12683 -Dpackaging=swf -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework
-DartifactId=flex -Dversion=3.5.0.12683 -Dpackaging=swf -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
com.adobe.flex.framework:flex:swf:3.5.0.12683
from the specified remote repositories:
our-nexus-snapshots
(http://our-nexus.example.com/content/groups/our-nexus-snapshots),
our-nexus (http://our-nexus.example.com/content/groups/our-nexus/)
From: [email protected] [mailto:[email protected]] On
Behalf Of Marvin Froeder
Sent: Friday, August 20, 2010 9:31 AM
To: [email protected]
Subject: Re: [flex-mojos] Maven Filtering Resource Bundle in SWF
http://repository.sonatype.org/content/sites/flexmojos-site/3.7.1/copy-flex-
resources-mojo.html
On Fri, Aug 20, 2010 at 10:07 AM, Will Hoover <[email protected]>
wrote:
Isn't that the purpose of "copy-flex-resources"?
From: [email protected] [mailto:[email protected]] On
Behalf Of Marvin Froeder
Sent: Thursday, August 19, 2010 3:15 PM
To: [email protected]
Subject: Re: [flex-mojos] Maven Filtering Resource Bundle in SWF
That makes no sense.... each module is isolated.
On Thu, Aug 19, 2010 at 4:09 PM, Will Hoover <[email protected]> wrote:
I will have to check that out... thanks! What about src/main/resources? If
they exist in a SWC module would they be copied to the SWF/WAR modules?
From: [email protected] [mailto:[email protected]] On
Behalf Of Marvin Froeder
Sent: Thursday, August 19, 2010 2:21 PM
To: [email protected]
Subject: Re: [flex-mojos] Maven Filtering Resource Bundle in SWF
I think someone tried to fix that for flemojos 3.8-SNAPSHOT, but not sure if
it was a valid patch. You may wanna try it.
VELO
On Thu, Aug 19, 2010 at 2:40 PM, Will Hoover <[email protected]> wrote:
I'm using 3.7.1
From: [email protected] [mailto:[email protected]] On
Behalf Of Marvin Froeder
Sent: Thursday, August 19, 2010 1:36 PM
To: [email protected]
Subject: Re: [flex-mojos] Maven Filtering Resource Bundle in SWF
what flexmojos version?
On Thu, Aug 19, 2010 at 2:30 PM, Will Hoover <[email protected]> wrote:
Is it possible to use a Maven filter on a SWF resource bundle like the
following?
<resource>
<directory>${basedir}/src/main/locales</directory>
<filtering>true</filtering>
</resource>
where there is a bundle that has:
myapp.artifact.version=${project.version}
--
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]
<mailto:flex-mojos%[email protected]>
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
--
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]
<mailto:flex-mojos%[email protected]>
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
--
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]
<mailto:flex-mojos%[email protected]>
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
--
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]
<mailto:flex-mojos%[email protected]>
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
--
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]
<mailto:flex-mojos%[email protected]>
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
--
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]
<mailto:flex-mojos%[email protected]>
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
--
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]
<mailto:flex-mojos%[email protected]>
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
--
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/
--
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/