Frédéric THOMAS created FLEX-34839:
--------------------------------------

             Summary: the initAir method fails
                 Key: FLEX-34839
                 URL: https://issues.apache.org/jira/browse/FLEX-34839
             Project: Apache Flex
          Issue Type: Bug
          Components: Utils: Mavenizer
    Affects Versions: Mavenizer 1.0
            Reporter: Frédéric THOMAS
            Assignee: Frédéric THOMAS
             Fix For: Mavenizer 1.0


When used from FlexMojos 7.1.x, it fails:

[INFO] ===========================================================
[INFO]  - Installing Adobe AIR SDK 14.0
The Adobe SDK license agreement applies to the Adobe AIR SDK. Do you want to 
install the Adobe AIR SDK? Adobe AIR SDK License: 
http://www.adobe.com/products/air/sdk-eula.html
Do you accept (Yes/No)? Yes
[WARNING] Failed to notify spy 
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy: Caught 
exception while downloading and converting artifact.
[WARNING] The POM for com.adobe.air:compiler:pom:14.0 is missing, no dependency 
information available
[INFO] ===========================================================
[INFO]  - Installing Adobe AIR SDK 14.0
The Adobe SDK license agreement applies to the Adobe AIR SDK. Do you want to 
install the Adobe AIR SDK? Adobe AIR SDK License: 
http://www.adobe.com/products/air/sdk-eula.html
Do you accept (Yes/No)? y
[WARNING] Failed to notify spy 
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy: Caught 
exception while downloading and converting artifact.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------


The error behind this one is:

org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: 
You need to specify the platformType parameter for AIR SDKs.

The initAir function needs to call the downloadRetriever.retrieve() function 
with the current platform as parameter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to