Thanks Chris! I appreciate your help and look forward to the documentation.
Lyn Wall | UI Architect | KBM Group | (Tel) 713 995 2392 | (Mob) 281 377 6356 | [email protected] -----Original Message----- From: Christofer Dutz [mailto:[email protected]] Sent: Wednesday, April 22, 2015 12:10 PM To: [email protected] Subject: AW: Problem Compiling with FlexMojos 7.0.1 Hi Lyn, well I have to admit that I have been working hard on the sdk-converter in the last few days. So a lot has changed here. I was also planning on finally starting to write the new documentation. So I think instead of writing this down in response to your post, I'll write down the stuff in the wiki and post a link here ... Chris ________________________________________ Von: Wall, Lyn <[email protected]> Gesendet: Mittwoch, 22. April 2015 17:59 An: [email protected] Betreff: RE: Problem Compiling with FlexMojos 7.0.1 Thank you for your response. I ran the Mavenizer and it added the build number automatically. Is there a way to prevent it from doing that? I was unable to find com.adobe.fontkit, so I added flex-fontkit instead. I am not getting a transcoding error. Would this be correct? <dependency> <groupId>org.apache.flex.compiler</groupId> <artifactId>flex-fontkit</artifactId> <version>${flex.version}</version> <type>jar</type> </dependency> I'm trying to make sure I understand the issue with the lifecycle mapping section and followed your suggestions. Here is my updated POM. I'm still getting the same errors. I <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.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.company.project</groupId> <artifactId>MyProjectMain</artifactId> <version>4.0.1-SNAPSHOT</version> <packaging>swf</packaging> <properties> <flexmojos.version>7.0.1</flexmojos.version> <flex.version>4.14.1.20150325</flex.version> <flash.version>16.0</flash.version> </properties> <build> <sourceDirectory>src/main/flex</sourceDirectory> <plugins> <plugin> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <extensions>true</extensions> <dependencies> <dependency> <groupId>org.apache.flex</groupId> <artifactId>compiler</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> <dependency> <groupId>org.apache.flex.compiler</groupId> <artifactId>flex-fontkit</artifactId> <type>jar</type> <version>${flex.version}</version> </dependency> </dependencies> </plugin> </plugins> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <sourceFile>MyProjectMain.mxml</sourceFile> <includeStylesheets> <stylesheet> <path>MyProjectStyles.css</path> </stylesheet> </includeStylesheets> <fonts> <managers> <manager>flash.fonts.AFEFontManager</manager> <manager>flash.fonts.CFFFontManager</manager> </managers> </fonts> <compiledLocales> <locale>en_US</locale> </compiledLocales> <runtimeLocales> <locale>en_US</locale> </runtimeLocales> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>net.flexmojos.oss</groupId> <artifactId> flexmojos-maven-plugin </artifactId> <versionRange>[7.0.0,)</versionRange> <goals> <goal>test-compile</goal> <goal>compile-swf</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> <dependencies> <dependency> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId> <version>${flexmojos.version}</version> </dependency> <dependency> <groupId>org.apache.flex.compiler</groupId> <artifactId>flex-fontkit</artifactId> <type>jar</type> <version>${flex.version}</version> </dependency> </dependencies> </configuration> </plugin> </plugins> </pluginManagement> </build> <dependencies> <dependency> <groupId>org.apache.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> <dependency> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> </dependency> <dependency> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId> <version>${flexmojos.version}</version> </dependency> <dependency> <groupId>com.adobe.flash.framework</groupId> <artifactId>playerglobal</artifactId> <version>${flash.version}</version> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flash</groupId> <artifactId>playerglobal</artifactId> <version>${flash.version}</version> <type>pom</type> </dependency> <dependency> <groupId>org.apache.flex.compiler</groupId> <artifactId>flex-fontkit</artifactId> <type>jar</type> <version>${flex.version}</version> </dependency> <dependency> <groupId>com.company.project</groupId> <artifactId>MyProjectComponents</artifactId> <version>4.0.1-SNAPSHOT</version> <type>swc</type> </dependency> <dependency> <groupId>com.company.project</groupId> <artifactId>MyProjectTheme</artifactId> <version>4.0.1-SNAPSHOT</version> <type>swc</type> </dependency> </dependencies> </project> Lyn Wall | UI Architect | KBM Group | (Tel) 713 995 2392 | (Mob) 281 377 6356 | [email protected] -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-Compiling-with-FlexMojos-7-0-1-tp10141.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
