Thanks for reminding me that as well, I forgot, that's a long time I don't
use the old mavenized SDKs :-)

@Avi, the best way if you want to use FM6.x anyway, is to mavenize the SDKs
you want to use with.

-Fred

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] 
Envoyé : mardi 3 septembre 2013 15:51
À : [email protected]
Objet : AW: AW: AW: how to setup and use maven-flex-plugin

Hi,

one Thing I changed in FM6 and in the Mavenizer, is that the FlashPlayer is
no longer directly coupled. In old FDK Versions Velo provided the
player-Version was included. I wanted to have the Player loosely coupled and
therefore I recall that you have to add a dependency to the playerglobal or
airglobal in the Version you want to the Project. So you should Import the
playerglobal in Version "${flex.target.player.version}" without any
classifier and completely remove the flash.classifier variable.

Chris

________________________________________
Von: Frédéric THOMAS [[email protected]]
Gesendet: Dienstag, 3. September 2013 15:42
An: [email protected]
Betreff: RE: AW: AW: how to setup and use maven-flex-plugin

Sorry for the formatting btw, pay attention to use the right version of the
flex sdk you're using, etc..
I took that from an old project made for FM 3.8 Flex 4.5.0.17855

It is possible you won't have the exact same dependencies for your version
depending as well of what you need.

-----Message d'origine-----
De : Frédéric THOMAS [mailto:[email protected]] Envoyé : mardi 3
septembre 2013 15:34 À : [email protected] Objet : RE: AW: AW: how to
setup and use maven-flex-plugin

Ah ok, so, I guess, either you mavenize the SDK with the mavenizer and then
use this one or you add each individual dependency under the dependency tag
of your module.

Ex:


        <flex.version>4.1.0.16076A</flex.version>
        <flex.theme.version>4.5.0.18623</flex.theme.version>
                <!-- <flex.version>4.5.1.21328</flex.version> -->
                <flex.data.version>4.1.0.16076A</flex.data.version>
 
<flex.automation.version>4.1.0.16076A</flex.automation.version>
                <flash.classifier>10.2</flash.classifier>
                <flex.sdk.classifier>en_US</flex.sdk.classifier>
 
<flex.target.player.version>10.1.0</flex.target.player.version>

                        <!-- Adobe -->
            <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>halo</artifactId>
                <classifier>theme</classifier>
                <version>${flex.theme.version}</version>
               <type>swc</type>
               <scope>theme</scope>
           </dependency>
            <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>spark</artifactId>
                <version>${flex.theme.version}</version>
                <classifier>theme</classifier>
                <type>css</type>
                <scope>theme</scope>
            </dependency>

                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>playerglobal</artifactId>
                                <version>${flex.version}</version>
                                <classifier>${flash.classifier}</classifier>
                                <type>swc</type>
                        </dependency>

                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>flex-framework</artifactId>
                                <version>${flex.version}</version>
                                <type>pom</type>
                                <exclusions>
                                        <exclusion>
 
<groupId>com.adobe.flex.framework</groupId>
 
<artifactId>playerglobal</artifactId>
                                        </exclusion>
                                        <exclusion>
 
<groupId>com.adobe.flex.framework</groupId>
 
<artifactId>flash-integration</artifactId>
                                        </exclusion>
                                        <exclusion>
 
<groupId>com.adobe.flex.framework</groupId>
 
<artifactId>utilities</artifactId>
                                        </exclusion>
                                </exclusions>
                        </dependency>

                        <!-- Automation -->
                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>automation_spark</artifactId>
 
<version>${flex.automation.version}</version>
                                <type>swc</type>
                        </dependency>
                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>automation</artifactId>
 
<version>${flex.automation.version}</version>
                                <type>rb.swc</type>
                        </dependency>
                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>automation</artifactId>
 
<version>${flex.automation.version}</version>
                                <type>swc</type>
                        </dependency>
                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>automation_agent</artifactId>
 
<version>${flex.automation.version}</version>
                                <type>rb.swc</type>
                        </dependency>
                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>automation_agent</artifactId>
 
<version>${flex.automation.version}</version>
                                <type>swc</type>
                        </dependency>
                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>automation_dmv</artifactId>
 
<version>${flex.automation.version}</version>
                                <type>swc</type>
                        </dependency>


                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>datavisualization</artifactId>
                                <version>${flex.data.version}</version>
                                <type>swc</type>
                        </dependency>

                        <dependency>
                                <groupId>com.adobe.flex.framework</groupId>
                                <artifactId>datavisualization</artifactId>
                                <version>${flex.data.version}</version>
                                <!--
<classifier>${flex.sdk.classifier}</classifier> -->
                                <type>rb.swc</type>
                        </dependency>

-----Message d'origine-----
De : akessner [mailto:[email protected]] Envoyé : mardi 3 septembre 2013
15:08 À : [email protected] Objet : Re: AW: AW: how to setup and use
maven-flex-plugin

Right, sorry I wasn't clear I had done that.
It seems that part of the problem is that I'm only able to find 4.1sdk
online to download which has an A in the version name... so whats in my
local repo is actually 4.1.0.16076A

So I have framework-4.1.0.16076A.pom   but I am missing and maven can
not find fraemwork-4.1.0.16076.pom

Why oh why do so many of our users still have flash player 10.3?  argh!
brought to you by the letters A, V, and I and the number 47


On Tue, Sep 3, 2013 at 3:47 PM, Frédéric THOMAS [via Apache Flex Users]
<[email protected]> wrote:
> You should remove the compiler dependency from the general 
> dependencies of your module but keep it in the dependencies of the FM 
> plugin as I indicated to you before.
>
> -----Message d'origine-----
> De : akessner [mailto:[hidden email]]
> Envoyé : mardi 3 septembre 2013 14:31
> À : [hidden email]
> Objet : Re: AW: AW: how to setup and use maven-flex-plugin
>
> My bad, it actually doesn't have that pom...   I can create it
> manually, but any ideas why it's missing?
> brought to you by the letters A, V, and I and the number 47
>
>
> On Tue, Sep 3, 2013 at 3:26 PM, Avi Kessner <[hidden email]> wrote:
>
>> Maven is alternating between giving me the error that it can't find 
>> the player global and that it can't find framework:pom:...
>>
>> [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: Failed to resolve 
>> artifact com.adobe.flex:framework:pom:4.1.0.16248 -> [Help 1] [ERROR]
>>
>> However, I see these things in my repository...
>> brought to you by the letters A, V, and I and the number 47
>>
>>
>> On Tue, Sep 3, 2013 at 3:12 PM, Avi Kessner <[hidden email]> wrote:
>>> This is sending me into an infinite loop :) I've added the compiler 
>>> to the dependency inside the plugin.  But now I'm getting new 
>>> errors.
>>> brought to you by the letters A, V, and I and the number 47
>>>
>>>
>>> On Tue, Sep 3, 2013 at 2:59 PM, Frédéric THOMAS [via Apache Flex 
>>> Users] <[hidden email]> wrote:
>>>> Just answered here
>>>>
>>>> http://apache-flex-users.2333346.n4.nabble.com/how-to-setup-and-use
>>>> -maven-flex-plugin-td1491i20.html#a2518
>>>>
>>>> ________________________________
>>>> 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-tp1491p2519.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-ma
> ven-flex-plugin-tp1491p2524.html Sent from the Apache Flex Users 
> mailing list archive at Nabble.com.
>
>
> ________________________________
> 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-ma
> ven-flex-plugin-tp1491p2525.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-fl
ex-plugin-tp1491p2526.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to