Hi Frederic, Oh yeah ... right ... forgot about that (y/n/yes/no) stuff :-) Are you eventually working on a Linux CI server? Think in that case we would have to sort of gracefully fall back to some default (win or mac) or make it possible to manually override the type.
But I have to admit that I should test a little more with AIR as I have mainly tested with Flash projects. Yes you are on the right branch and track. Chris ________________________________________ Von: Frédéric THOMAS <webdoubl...@hotmail.com> Gesendet: Dienstag, 12. Mai 2015 11:24 An: dev@flex.apache.org Betreff: RE: AW: [FlexMojo] build Hi Chris, I had only few time to try to debug it last night and seen things that don't correspond to what you are saying, so I wonder if I'm on the right branch. > > Actually try typing "yes" and not just 'y' > > But it shouldn't have accepted 'y' are you eventually using an outdated > > version of the maven extension? Debugging the code, I've seen the loop on the query Yes / No Y/N upper lower, I'm on the develop branch, am I right to be ? It seems to me the initAir function FlexEventSpy failed with "org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: You need to specify the platformType parameter for AIR SDKs." because the DownloadRetreiver.retreive() is called without the platformType Can you confirm I'm on the right branch and it is up to date and check you've got the same code [1] before I go further in debugging ? Thanks, Frédéric THOMAS [1] protected void initAir(String version) throws MavenExecutionException { logger.info("==========================================================="); logger.info(" - Installing Adobe AIR SDK " + version); try { File localRepoBaseDir = new File(mavenSession.getLocalRepository().getBasedir()); DownloadRetriever downloadRetriever = new DownloadRetriever(); File sdkRoot = downloadRetriever.retrieve(SdkType.AIR, version); AirConverter converter = new AirConverter(sdkRoot, localRepoBaseDir); converter.convert(); } catch (Throwable ce) { throw new MavenExecutionException( "Caught exception while downloading and converting artifact.", ce); } logger.info(" - Finished installing Adobe AIR SDK " + version); } > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: AW: [FlexMojo] build > Date: Mon, 11 May 2015 10:31:13 +0100 > > Hi Chris, > > I updated the utility repo, re-installed and copied the extension but nothing > changed, will try to find the time to dig into tonigth and eventually come > back to you. > > Thanks, > Frédéric THOMAS > > > From: christofer.d...@c-ware.de > > To: dev@flex.apache.org > > Subject: AW: [FlexMojo] build > > Date: Sun, 10 May 2015 00:42:58 +0000 > > > > Actually try typing "yes" and not just 'y' > > But it shouldn't have accepted 'y' are you eventually using an outdated > > version of the maven extension? > > > > Chris > > > > Gesendet mit meinem HTC > > > > ----- Reply message ----- > > Von: "Frédéric THOMAS" <webdoubl...@hotmail.com> > > An: "dev@flex.apache.org" <dev@flex.apache.org> > > Betreff: [FlexMojo] build > > Datum: Sa., Mai 9, 2015 22:54 > > > > Hi, > > > > I'm trying to build FM 7.1.0 SNAPSHOT with maven 3.3.1 / profile minimal > > and got this, any idea ? > > > > Downloading: > > http://repository.sonatype.org/content/groups/flexgroup/net/flexmojos/oss/flexmojos-parent/7.1.0-SNAPSHOT/maven-metadata.xml > > [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] > > ------------------------------------------------------------------------ > > [INFO] Total time: 45.335 s > > [INFO] Finished at: 2015-05-09T21:52:05+01:00 > > [INFO] Final Memory: 28M/222M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal on project flexmojos-maven-plugin: Could not > > resolve dependencies for project > > net.flexmojos.oss:flexmojos-maven-plugin:maven-plugin:7.1.0-SNAPSHOT: > > Failure to find com.adobe.air:compiler:pom:14.0 in > > http://repository.sonatype.org/content/groups/flexgroup/ was cached in the > > local repository, resolution will not be reattempted until the update > > interval of rso has elapsed or updates are forced -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > > switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > > > > Process finished with exit code 1 > > > > > > Frédéric THOMAS >