Solution below.
Velo, thanks for the patience. I'd been out of Maven-world for a
couple of months so your response hung me while I paged in my
mindmap :-)
For future reference by others without their Mvn heads on, I ended up
with the following (in our case, in a <pluginManagement> section in
our top-level POM that all sub-projects inc. both libs, modules,
client and AIR projects inherit from). As noted, I enabled for all
uses of flexmojos since it doesn't seem to harm non-SWC projects:
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flexmojos.version}</version>
<extensions>true</extensions>
<executions>
<!--
RSL SWF building.
Perhaps too broad (generates warning on non-SWC projects) but
no harm.
-->
<execution>
<id>Build RSL SWFs</id>
<goals>
<goal>create-rsl</goal>
</goals>
</execution>
</executions>
<configuration>
<!--
...
Lots of non-RSL config elided
...
-->
<!-- RSL options -->
<computeDigests>true</computeDigests>
<updateSwcDigest>true</updateSwcDigest>
<optimizeRsl>true</optimizeRsl>
<!-- + disabled some bits of Apparat that gave some of our bits
problems -->
</configuration>
</plugin>
</plugins>
HTH, R.
On Jan 15, 5:08 pm, Marvin Froeder <[email protected]> wrote:
> Run the goal I sent you the link.
>
> On Sat, Jan 15, 2011 at 3:07 PM, Rupert Key <[email protected]> wrote:
> > I wanted to know how to enable auto-generation of RSL SWFs when building
> > libraries?
> > i.e. How to get 4.0-beta-1 era behaviour from compile-swc
>
> > On 15/01/11 15:54, velo wrote:
>
> >> Not sure what you wanna know? You wanna know how to run maven goals?
>
> >> On Jan 15, 8:17 am, Rupert Key<[email protected]> wrote:
>
> >>> heh, yes that's a doc redirect. Was hoping for something a tiiiiny bit
> >>> more specific :-)
> >>> (I've read the docs but have obviously missed the trick)
>
> >>> Details:
> >>> We have packaging swc and /were/ getting our RSL swf version in the repo
> >>> -- still do with beta-1. I guess I can do an explicit call to create-rsl
> >>> but I assume it's not best practise. So the question is...
>
> >>> how to enable auto-generation of RSL SWFs when building libraries?
>
> >>> thanks, R.
>
> >>> On 15 Jan 2011, at 04:09, Marvin Froeder<[email protected]> wrote:
>
> >>> http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS.
> >>>> ..
> >>>> On Fri, Jan 14, 2011 at 10:07 PM, Rupert<[email protected]> wrote:
> >>>> Hi, Velo
> >>>> Re. your response to James Ward: "it no longer does" create-rsl by
> >>>> default...
> >>>> How does one get FM to run create-rsl now? :-)
> >>>> Sorry, if I've missed something obvious. Doc redirects welcome ;-)
> >>>> R.
> >>>> On Jan 1, 6:27 pm, velo<[email protected]> wrote:
>
> >>>>> It no longer does that on the latest SNAPSHOT, buuuuut, you can check
> >>>>> maven docs to see how to skip that.
> >>>>> On 29 dic 2010, 15:29, James Ward<[email protected]> wrote:
>
> >>>>>> On a SWC project when I do a mvn install it automatically runs the
> >>>>>> create-rsl goal. But I don't need an RSL. How do I prevent it from
> >>>>>> running this goal? Thanks!
> >>>>>> -James
>
> >>>>> --
> >>>> 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]<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]<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]<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/