Ok, getting closer...
Now I'm getting this error:
ERROR] Failed to execute goal
net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:compile-swf
(default-compile-swf) on project helloWorld3:
java.lang.reflect.InvocationTargetException: Global artifact is not
available. Make sure to add 'playerglobal' or 'airglobal' to this
project. -> [Help 1]
[ERROR]
Even though I have this...
<configuration>
<storepass/>
<debug>true</debug>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>${flex.version}</version>
<classifier>10.1</classifier>
<type>swc</type>
</dependency>
</dependencies>
And/OR this:
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>${flex.version}</version>
<classifier>10.1</classifier>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>${flex.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.adobe.flexunit</groupId>
<artifactId>flexunit</artifactId>
<version>0.85</version>
<type>swc</type>
<scope>test</scope>
</dependency>
</dependencies>
I've tried adding playerglobal to both sections, one section, and
neither sections :(
I really appreciate this help. I've been working on this for too many
days now. Can't wait till we are able to get the whole maven stack
working for Flex quickly and easily :)
brought to you by the letters A, V, and I
and the number 47
On Tue, Sep 3, 2013 at 2:32 PM, Frédéric THOMAS [via Apache Flex
Users] <[email protected]> wrote:
> Try to add a compiler dependency right after the configuration tag:
>
> <configuration>
> ...
> </configuration>
>
> <dependencies>
> <dependency>
> <groupId>com.adobe.flex</groupId>
> <artifactId>compiler</artifactId>
> <version>${flex.version}</version>
> <type>pom</type>
> </dependency>
> </dependencies>
>
> akessner wrote
> Forgot to subscribe before sending the message, so I'm replying to force it
> through :)
>
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/how-to-setup-and-use-maven-flex-plugin-tp1491p2518.html
> To unsubscribe from how to setup and use maven-flex-plugin, click here.
> NAML
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/how-to-setup-and-use-maven-flex-plugin-tp1491p2522.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.