http://flexmojos.sonatype.org/faq.html#9
On 26 dez, 07:16, peja <[email protected]> wrote: > I guess, by dependency you mean the Flex SDK - I am using 4.0.0.10485 > in the master pom: > > <?xml version="1.0"?> > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > > <groupId>com.bizsphere.bizsphere.salesweb</groupId> > <artifactId>masterpom</artifactId> > <version>0.1.0-SNAPSHOT</version> > <packaging>pom</packaging> > <name>masterpom</name> > > <properties> > <flex.sdk.version>4.0.0.10485</flex.sdk.version> > <flex.debug>true</flex.debug> > <flex.linkReport>true</flex.linkReport> > <flex.configurationReport>false</flex.configurationReport> > <project.build.sourceEncoding>UTF-8</ > project.build.sourceEncoding> > <maven.check.skip>true</maven.check.skip> > <localeChain>de</localeChain> > <site>t-systems</site> > </properties> > > <repositories> > <repository> > <id>bizsphere-repo</id> > <url>http://mvnproxy.bizsphere.com:8081/artifactory/repo</ > url> > </repository> > </repositories> > > <pluginRepositories> > <pluginRepository> > <id>bizsphere-repo</id> > <url>http://mvnproxy.bizsphere.com:8081/artifactory/repo</ > url> > </pluginRepository> > </pluginRepositories> > > <distributionManagement> > <repository> > <id>bizsphere-repo</id> > <name>bizsphere-releases-local</name> > <url>http://mvnproxy.bizsphere.com:8081/artifactory/ > bizsphere-releases-local</url> > </repository> > <snapshotRepository> > <id>bizsphere-repo</id> > <name>bizsphere-snapshots-local</name> > <url>http://mvnproxy.bizsphere.com:8081/artifactory/ > bizsphere-snapshots-local</url> > </snapshotRepository> > </distributionManagement> > > <scm> > <connection>scm:git:ssh://[email protected]/bizsphere- > salesweb.git</connection> > </scm> > > <modules> > <module>localization</module> > <module>common</module> > <module>modules/search</module> > <module>modules/content</module> > <module>modules/discover</module> > <module>app</module> > <!--module>air</module--> > <module>webapp</module> > </modules> > > <build> > <sourceDirectory>src/main/flex</sourceDirectory> > <testSourceDirectory>src/test/flex</testSourceDirectory> > > <pluginManagement> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-resources-plugin</artifactId> > <version>2.3</version> > </plugin> > </plugins> > </pluginManagement> > > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.4.2</version> > <extensions>true</extensions> > <configuration> > <classifier>${site}</classifier> > <keepAs3Metadatas> > <keepAs3Metadata>Required</keepAs3Metadata> > <keepAs3Metadata>Autowired</keepAs3Metadata> > <keepAs3Metadata>Core</keepAs3Metadata> > <keepAs3Metadata>UI</keepAs3Metadata> > <keepAs3Metadata>View</keepAs3Metadata> > </keepAs3Metadatas> > <warnings> > <noConstructor>false</noConstructor> > <deprecatedPropertyError>false</ > deprecatedPropertyError> > <deprecatedFunctionError>false</ > deprecatedFunctionError> > </warnings> > <debug>${flex.debug}</debug> > <linkReport>${flex.linkReport}</linkReport> > <configurationReport>${flex.configurationReport}</ > configurationReport> > </configuration> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.compiler</groupId> > <artifactId>flex-fontkit</artifactId> > <version>${flex.sdk.version}</version> > <type>jar</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.compiler</groupId> > <artifactId>afe</artifactId> > <version>${flex.sdk.version}</version> > <type>jar</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.compiler</groupId> > <artifactId>aglj40</artifactId> > <version>${flex.sdk.version}</version> > <type>jar</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.compiler</groupId> > <artifactId>rideau</artifactId> > <version>${flex.sdk.version}</version> > <type>jar</type> > </dependency> > </dependencies> > </plugin> > <plugin> > <groupId>de.jacobsen.maven-plugins</groupId> > <artifactId>flexhelper-maven-plugin</artifactId> > <version>0.6.5</version> > </plugin> > <plugin> > <groupId>com.adobe.ac</groupId> > <artifactId>flex-pmd-maven-plugin</artifactId> > <version>1.0</version> > </plugin> > </plugins> > </build> > > <dependencyManagement> > <dependencies> > <!-- Flex SDK --> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>framework</artifactId> > <version>${flex.sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <!-- AIR Framework --> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>air-framework</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>com.adobe.flex.sdk</groupId> > <artifactId>adt</artifactId> > <version>${flex.sdk.version}</version> > <type>jar</type> > </dependency> > <!-- External --> > <dependency> > <groupId>org.springextensions.actionscript</groupId> > <artifactId>spring-actionscript-core</artifactId> > <version>0.8.1</version> > <type>swc</type> > </dependency> > <dependency> > <groupId>org.as3commons</groupId> > <artifactId>as3commons-lang</artifactId> > <version>1.0</version> > <type>swc</type> > </dependency> > <dependency> > <groupId>org.as3commons</groupId> > <artifactId>as3commons-logging</artifactId> > <version>1.1</version> > <type>swc</type> > </dependency> > <dependency> > <groupId>org.as3commons</groupId> > <artifactId>as3commons-reflect</artifactId> > <version>1.1</version> > <type>swc</type> > </dependency> > <dependency> > <groupId>org.osflash</groupId> > <artifactId>thunderbolt</artifactId> > <version>2.2</version> > <type>swc</type> > </dependency> > <dependency> > <groupId>com.adobe.flexunit</groupId> > <artifactId>flexunit</artifactId> > <version>4.0b</version> > <type>swc</type> > <scope>test</scope> > </dependency> > <dependency> > <groupId>caurina.transitions</groupId> > <artifactId>tweener</artifactId> > <version>1.33.74</version> > <type>swc</type> > </dependency> > </dependencies> > </dependencyManagement> > > </project> > > The <flex-config> xml snippet is part of the IntelliJ build (with Flex > SDK 4.0.0.10845) just to point out the compiler parameters - and it > works. > Any idea? > > Thanks, > Peter > > On Dec 22, 8:20 pm, velo <[email protected]> wrote: > > > If you don't change the dependencies, flexmojos will build your > > project using flex 3.2.0. > > > VELO > > > On Dec 22, 3:42 pm, peja <[email protected]> wrote: > > > > I have a multi module Flex 4.0.0.10845 project which builds an runs > > > fine under my IDE (Flash Builder 4 and IntellijJ IDEA 9). When I build > > > it with Flex Mojos (3.4.2/3.5), though, I get a weird runtime message > > > from Flash Player Debug: > > > > TypeError: Error #2007: Parameter justificationStyle darf nicht 'null' > > > sein. > > > at flash.text.engine::EastAsianJustifier/set justificationStyle() > > > at spark.components::Label/createTextLines()[E:\dev > > > \gumbo_beta2\frameworks\projects\spark\src\spark\components\Label.as: > > > 792] > > > at > > ... > > mais » -- 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?hl=en?hl=en http://blog.flex-mojos.info/
