Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The mavenizer generates air and flex artifacts separate from the flex artifacts. In the olf FDK structure you had to specify the flashplayer using a classifier: 

Code Block
languagexml
titleOld style
<dependency>
  <groupId>com.adobe.flex.framework</groupId>
  <artifactId>playerglobal</artifactId>
  <version>3.4.0.9271</version>
  <classifier>10</classifier>
  <type>swc</type>
</dependency>

This is now done this way: 

Code Block
languagexml
titleNew style
<dependency>
  <groupId>com.adobe.flash.framework</groupId>
  <artifactId>playerglobal</artifactId>
  <version>10.0</version>
  <type>swc</type>
</dependency> 

...

The Flex SDK comes with a bundled Air SDK. The libs of the SDK are accompanied with special Flex AIR libs. The Mavenizer generated the SDK libs to the group-id "com.adobe.air.framework" and the Flex-Air libs to "com.adobe.flex.framework.air". This makes configuring the dependencies for Air application a little more complicated, but allows to select the target Air SDK version separately from the version of Flex SDK. This should make it easier to use new Air SDK versions that were not yet bundled with a Flex SDK.

Code Block
languagexml
titleNew style
<build>
  <sourceDirectory>src/main/flex</sourceDirectory>
  <plugins>
    <plugin>
      <groupId>net.flexmojos.oss</groupId>
      <artifactId>flexmojos-maven-plugin</artifactId>
      <version>6.0.0</version>
      <extensions>true</extensions>
      <dependencies>
        <dependency>
          <groupId>com.adobe.flex</groupId>
          <artifactId>compiler</artifactId>
          <version>${flex.version}</version>
          <type>pom</type>
        </dependency>
        <dependency>
          <groupId>com.adobe.air</groupId>
          <artifactId>compiler</artifactId>
          <version>${air.version}</version>
          <type>pom</type>
        </dependency>
      </dependencies>
    </plugin>
  </plugins>
</build>

...
 
<dependency>
  <groupId>com.adobe.air.framework</groupId>
  <artifactId>common-framework</artifactId>
  <version>${air.version}</version>
  <type>pom</type>
</dependency>
<dependency>
  <groupId>com.adobe.flex.framework.air</groupId>
  <artifactId>air-framework</artifactId>
  <version>${flex.version}</version>
  <type>pom</type>
</dependency>

...

If this was the way you previously added your theme prior to FM 6:

Code Block
languagexml
titleOld style
<dependency>
    <groupId>com.adobe.flex.framework</groupId>
    <artifactId>halo</artifactId>
    <type>swc</type>
    <classifier>theme</classifier>
    <scope>theme</scope>
    <version>${flex-framework.version}</version>
</dependency>

You now need to change this to:

Code Block
languagexml
titleNew style
<dependency>
    <groupId>com.adobe.flex.framework.themes</groupId>
    <artifactId>halo</artifactId>
    <type>swc</type>
    <scope>theme</scope>
    <version>${flex-framework.version}</version>
</dependency>

...