For the record, here is a sample snippet that helped Ivan solve his
issue:
…
<properties>
<flex.sdk.version>4.1.0.16076</flex.sdk.version>
<flex.sdk.textLayout.version>1.1.0.604</
flex.sdk.textLayout.version>
<flex.pmd.version>1.1</flex.pmd.version>
</properties>
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
<testSourceDirectory>src/test/flex</testSourceDirectory>
<finalName>Main</finalName>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<!-- FYI: The <version> is specified in the parent pom.xml using
<pluginManagement>. -->
<extensions>true</extensions>
<configuration>
<configurationReport>true</configurationReport>
<sourceFile>${project.build.finalName}.mxml</sourceFile>
<locales>
<locale>en_US</locale>
</locales>
<headlessServer>true</headlessServer>
<!-- Use Adobe-signed framework Runtime Shared Libraries
(RSLs). -->
<policyFileUrls>
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</
url>
</policyFileUrls>
<rslUrls>
<url>http://fpdownload.adobe.com/pub/{extension}/flex/$
{flex.sdk.version}/{artifactId}_{version}.{extension}</url>
</rslUrls>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Dynamically load the Adobe signed RSL framework instead of
merging into SWF. -->
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>textLayout</artifactId>
<version>${flex.sdk.textLayout.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>spark</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>sparkskins</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>rpc</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>datavisualization</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
<!-- Flex framework resource bundles -->
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
<!-- Include unit test dependencies. -->
<dependency>
<groupId>com.adobe.flexunit</groupId>
<artifactId>flexunit</artifactId>
<version>4.0-rc-1</version>
<type>swc</type>
<scope>test</scope>
</dependency>
</dependencies>
…
On Aug 20, 7:59 am, Ivan Suhinin <[email protected]> wrote:
> Hi
>
> I've got Maven 2.2.1, I have moved flex-framework dependency as low as
> possible and I still get this error. Any ideas?
>
> Ivan Suhinin
--
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/