Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Mavenizer 1.0
-
None
Description
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.