flex-mojos

Complex Maven2 with Flex4 Setup

五迷三道 提交于 2020-01-04 02:43:08
问题 I have been struggling to get Maven2 to cooperate with me, and was wondering if anyone out there had any ideas on how to get this working.... I am working on a Flash project, and we are considering switching from our hybrid Flex4/FlashCS4 to a pure Flex4 solution. We would like to use the Maven2 build system, so that our developers do not have to manually download, install, and configure Flex4 on their machines. I have managed to create a single-module project using Maven2 with Flex4 (I am

How to define a new kind of scope in Maven?

点点圈 提交于 2019-12-11 16:15:57
问题 In order tell the Flexmojo Maven plugin that your project should use a particular theme, it is necessary to add a scope "theme" dependency to your project like this: <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>spark</artifactId> <version>4.1.0.16076</version> <type>swc</type> <scope>theme</scope> </dependency> This works fine, but produces the following scary looking warning: [WARNING] Some problems were encountered while building the effective model for com.mycorp

Get “Error: unable to resolve '/assets/images/**.png' for transcoding” while building on FlexMojos 4.0-RC2 and Flex SDK 4.5.1.21328

懵懂的女人 提交于 2019-12-11 02:14:24
问题 I get the this "Error: unable to resolve '/assets/images/**.png' for transcoding" while building on FlexMojos 4.0-RC2 and Flex SDK 4.5.1.21328. Code is like below [Embed(source='/assets/images/lot_dimensions_bg_4digit.png')] SDK version <flex.sdk.version>4.5.1.21328</flex.sdk.version> Flex Mojos version <flex-mojos.version>4.0-beta-7</flex-mojos.version> Thanks for any help. 回答1: You need to specifically add a dependency for flexmojos-threadlocaltoolkit-wrapper before the compiler dependency.

How to run maven plugin before dependency check

旧时模样 提交于 2019-12-06 23:36:26
问题 I want to run maven-install-plugin before dependency check. How can I do that? The plugin configuration: <artifactId>maven-install-plugin</artifactId> <executions> <execution> <id>install-library</id> <phase>process-resources</phase> <goals> <goal>install-file</goal> </goals> <configuration> <groupId>my.assets</groupId> <artifactId>myAsset</artifactId> <version>0.1-SNAPSHOT</version> <packaging>swc</packaging> <file>libs/asset.swc</file> </configuration> </execution> </executions> 回答1: I