Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36B9E10F24 for ; Thu, 2 May 2013 23:20:32 +0000 (UTC) Received: (qmail 47685 invoked by uid 500); 2 May 2013 23:20:31 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 47657 invoked by uid 500); 2 May 2013 23:20:31 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 47649 invoked by uid 99); 2 May 2013 23:20:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 23:20:31 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of webdoublefx@hotmail.com designates 157.55.0.214 as permitted sender) Received: from [157.55.0.214] (HELO dub0-omc1-s15.dub0.hotmail.com) (157.55.0.214) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 23:20:26 +0000 Received: from DUB118-DS5 ([157.55.0.237]) by dub0-omc1-s15.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 May 2013 16:20:05 -0700 X-TMN: [n+0hKTCm6Aad2TH7IzEDo5ubdwe4dLXX] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: From: =?iso-8859-1?Q?Fr=E9d=E9ric_THOMAS?= To: References: <5182DB3B.6040404@gmail.com> <3B222F2E298C7C45ACC98C05DCA6BECD230E02A103@ECCR13PUBLIC.exchange.local> In-Reply-To: <3B222F2E298C7C45ACC98C05DCA6BECD230E02A103@ECCR13PUBLIC.exchange.local> Subject: Re: AW: AW: AW: how to setup and use maven-flex-plugin Date: Fri, 3 May 2013 01:20:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-OriginalArrivalTime: 02 May 2013 23:20:05.0145 (UTC) FILETIME=[941FA090:01CE478B] X-Virus-Checked: Checked by ClamAV on apache.org Chris, Just did the test too and can reproduce as well, it can't find flex sdk 4.5.1.21328A in my old snapshot version of FM6 and the same than Dan for the release one. I didn't catch it before because I've got all the mavenized SDKs in usual my repo. So, Dan, good catch :) Thanks, -Fred -----Message d'origine----- From: christofer.dutz@c-ware.de Sent: Friday, May 03, 2013 12:31 AM To: users@flex.apache.org Subject: AW: AW: AW: how to setup and use maven-flex-plugin Hi Dan, I can reproduce this problem and I'll have a look into it as soon as I am able to spare some time ... eventually this weekend. Chris -----Urspr�ngliche Nachricht----- Von: Dan Rollo [mailto:danrollo@gmail.com] Gesendet: Donnerstag, 2. Mai 2013 23:32 An: users@flex.apache.org Betreff: AW: AW: AW: how to setup and use maven-flex-plugin Hi Chris and Fred, I've banked my simple test project in github here: git@github.com:bhamail/flexmojos-test.git I don't see anything in this project that could possibly include 4.6 artifacts (and the maven error says the FM plugin is trying to resolve those old artifacts). But I'm a total flex noob. Does anyone have a FDK 4.9.1 ONLY env to try building this in? The output of dependency:tree in my "hacked environment" is below (but it is possibly different in an env with real FDK 4.6 artifacts?). ("hacked environment" has some 4.9.1 artifacts republished as 4.6 to workaround FM resolve errors). [INFO] ------------------------------------------------------------------------ [INFO] Building lib-model Flex 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ lib-model --- [INFO] com.myco.model:lib-model:swc:1.0.0-SNAPSHOT [INFO] +- com.adobe.flex.framework:flex-framework:pom:4.9.1.1447119:compile [INFO] | +- com.adobe.flex.framework:common-framework:pom:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:sparkskins:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:spark_dmv:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:apache:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:mx:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:spark:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:rpc:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:textLayout:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:experimental:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:osmf:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:charts:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:flash-integration:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:authoringsupport:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:core:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:advancedgrids:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:framework:swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:framework:zip:configs:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:apache:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:mx:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:spark:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:rpc:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:textLayout:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:experimental:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:charts:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:flash-integration:rb.swc:4.9.1.1447119:compile [INFO] | | +- com.adobe.flex.framework:advancedgrids:rb.swc:4.9.1.1447119:compile [INFO] | | \- com.adobe.flex.framework:framework:rb.swc:4.9.1.1447119:compile [INFO] | \- com.adobe.flash.framework:playerglobal:swc:11.1:compile [INFO] +- com.adobe.flash.framework:playerglobal:rb.swc:11.4:external (scope not updated to compile) [INFO] \- org.flexunit:flexunit:swc:flex4:4.1.0:test [INFO] ------------------------------------------------------------------------ If you run dependency:tree in your env, do you get the same result? Maybe I'm one of the first to run FM with FDK 4.9.1 without already having FDK 4.6 available? - the joys of being a noob? :) Thanks, Dan -------------------------------- I just had a look at the pom of flexmojos-maven-plugin and could not find a reference to the framework:pom artifact except it being mentioned in the dependencyManagement section. I did have a look at the dependencies of the mojo though and could see that the only thing having a dependency on the framework:pom was the com.adobe.flex:compiler:pom ... I added this dependency in there to allow checking the correct version of the flex core libs. But as you are overriding this and in com.adobe.flex:compiler:pom: 4.9.1.1447119 But having a look at your pom I just saw the error. You are adding the dependencies to the plugin classpath and not the artifact classpath. So just remove all of the "swc" and "swc.rb" dependencies from the plugin that it just contains the compiler:pom dependency. Chris