optimize goal (FM3)

Since FlexMojos 4.x this goal has been renamed to create-rsl

This goal is used to produce RSL from your Flex library. Optimizer mojo extract library.swf from the current SWC, them, run adobe optimizer and digest. After that, the digest data is updated on the original SWC.

The usage is very simple. Just need to add this:

<build>
    <plugins>
      <plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>optimize</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

Once that is activated, maven will install 2 artifacts on maven repo: the SWC and the optimized SWF. The SWC can be used as any other SWC. The SWF will be used when RSLs are required.

A sample is available here.

Known Issues

type key summary
Loading...
Refresh