Here you go, mvn dependency:tree output. I have trimmed some stuff from the bottom, but if I remove those dependencies our root swc project still comes out on top:
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ pl-console- flex-ui --- [INFO] com.thep.console:pl-console-flex-ui:swf:1.1.2-SNAPSHOT [INFO] +- com.thep.console:pl-console-flex-shell-core-interfaces:swc: 1.1.2-SNAPSHOT:rsl (scope not updated to compile) [INFO] +- com.thep.flex:pl-flex-logger:swc:2.1.0:compile [INFO] | +- net.thep.logging:logbook:swc:1.4.01:compile [INFO] | \- thep.logging:localconnection-target:swc:1.4.01:compile [INFO] +- com.adobe.flex.framework:framework:swc:3.5.0.12683:caching (scope not updated to compile) [INFO] +- com.adobe.flex.framework:framework:rb.swc:en_US: 3.5.0.12683:compile [INFO] +- com.adobe.flex.framework:rpc:swc:3.5.0.12683:caching (scope not updated to compile) [INFO] +- com.adobe.flex.framework:rpc:rb.swc:en_US: 3.5.0.12683:compile [INFO] +- com.adobe.flex.framework:flex-framework:pom: 3.5.0.12683:compile [INFO] | +- com.adobe.flex.framework:framework:zip:configs: 3.5.0.12683:compile [INFO] | +- com.adobe.flex.framework:playerglobal:swc: 9:3.5.0.12683:compile [INFO] | +- com.adobe.flex.framework:framework:rb.swc: 3.5.0.12683:compile [INFO] | \- com.adobe.flex.framework:rpc:rb.swc:3.5.0.12683:compile [INFO] +- com.adobe.flex.framework:flex:swc:3.5.0.12683:compile [INFO] +- com.adobe.flex.framework:utilities:swc:3.5.0.12683:compile [INFO] +- com.adobe.flex.sdk:datavisualization:swc:3.5.0.12683:caching [INFO] +- com.adobe.flex.sdk:datavisualization:rb.swc:en_US: 3.5.0.12683:compile [INFO] +- com.thep.flex:pl-flex-common:swc:2.2.0-SNAPSHOT:compile [INFO] +- com.adobe.flex.framework:playerglobal:swc: 10:3.5.0.12683:external [INFO] +- com.thep.console:pl-console-flex-shell-core-api:swc:1.1.2- SNAPSHOT:rsl (scope not updated to compile) [INFO] +- com.thep.console:pl-console-flex-shell-core:swc:1.1.2- SNAPSHOT:compile [INFO] | \- com.adobe.flex.framework:framework_textLayout:swc: 4.0.0.10485:runtime [INFO] +- com.thep.console:pl-console-flex-components:swc:1.1.2- SNAPSHOT:compile [INFO] | \- com.arc90.flexlib:collapsible-panel:swc:1.0:compile [INFO] +- com.thep.console:pl-console-flex-module-shell-frame-ui:swc: 1.1.2-SNAPSHOT:compile [INFO] | \- com.thep.console:pl-console-flex-module-frame-data:swc: 1.1.2-SNAPSHOT:compile [INFO] +- com.thep.flex:pl-flex-test:swc:2.1.0:test [INFO] \- com.adobe.flexunit:flexunit:swc:0.90:test [INFO] ------------------------------------------------------------------------ On Apr 27, 11:52 am, Marvin Froeder <[email protected]> wrote: > Please send me mvn dependency:tree > > VELO > > On Tue, Apr 27, 2010 at 3:03 PM, alpduhuez <[email protected]> wrote: > > I am unfortunately running into this same issue as well. One of my > > swcs it being placed 1st in the RSL list before the flex framework > > swcs & thusly blows up. I've put a log statement inside > > AbstractMavenFlexCompilerConfiguration.getDependencies() to see the > > order of artifacts, and my swc is 1st in the list @ that point before > > any filtering. > > > I've double checked the order of my dependencies from the parent pom > > and the project pom, but the swc in question is after all the > > frameworks. The artifact in question is: > > > <dependency> > > <groupId>com.thep.console</groupId> > > > <artifactId>pl-console-flex-shell-core-interfaces</artifactId> > > <version>${console.app.version}</version> > > <type>swc</type> > > <scope>rsl</scope> > > </dependency> > > > !!! actual build output !!! > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/ > > theplatform/console/pl-console-flex-shell-core-interfaces/1.1.2- > > SNAPSHOT/pl-console-flex-shell-core-interfaces-1.1.2-SNAPSHOT.swc,flex/ > > pl-console-flex-shell-core-interfaces_1.1.2-SNAPSHOT.swf,,flex/pl- > > console-flex-shell-core-interfaces_1.1.2-SNAPSHOT.swf > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/ > > adobe/flex/framework/framework/3.5.0.12683/ > > framework-3.5.0.12683.swc,flex/framework_3.5.0.12683.swz,,flex/ > > framework_3.5.0.12683.swf > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/ > > adobe/flex/framework/rpc/3.5.0.12683/rpc-3.5.0.12683.swc,flex/ > > rpc_3.5.0.12683.swz,,flex/rpc_3.5.0.12683.swf > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/ > > adobe/flex/sdk/datavisualization/3.5.0.12683/ > > datavisualization-3.5.0.12683.swc,flex/ > > datavisualization_3.5.0.12683.swz,,flex/ > > datavisualization_3.5.0.12683.swf > > -runtime-shared-library-path=/Users/brandon.lonac/.m2/repository/com/ > > theplatform/console/pl-console-flex-shell-core-api/1.1.2-SNAPSHOT/pl- > > console-flex-shell-core-api-1.1.2-SNAPSHOT.swc,flex/pl-console-flex- > > shell-core-api_1.1.2-SNAPSHOT.swf,,flex/pl-console-flex-shell-core- > > api_1.1.2-SNAPSHOT.swf > > > Here is the order of my dependencies: > > > --= root pom w/ plugin dependencies =-- > > <plugin> > > <groupId>org.sonatype.flexmojos</groupId> > > <artifactId>flexmojos-maven-plugin</artifactId> > > <version>${flex.mojos.version}</version> > > <extensions>true</extensions> > > <dependencies> > > <dependency> > > <groupId>com.adobe.flex</groupId> > > <artifactId>compiler</artifactId> > > <version>${flex.version}</version> > > <type>pom</type> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex</groupId> > > <artifactId>license</artifactId> > > <version>${flex.version}</version> > > </dependency> > > <dependency> > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-flex3-compatibility-layer</artifactId> > > <version>${flex.mojos.version}</version> > > </dependency> > > </dependencies> > > </plugin> > > > --= flex sdk dependencies = -- > > <dependencies> > > <!-- Flex SDK dependencies --> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>playerglobal</artifactId> > > <version>${flex.version}</version> > > <type>swc</type> > > <scope>external</scope> > > <classifier>10</classifier> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>framework</artifactId> > > <version>${flex.version}</version> > > <type>swc</type> > > <scope>caching</scope> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>framework</artifactId> > > <version>${flex.version}</version> > > <type>rb.swc</type> > > <classifier>en_US</classifier> > > <!--<scope>rsl</scope>--> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>rpc</artifactId> > > <version>${flex.version}</version> > > <type>swc</type> > > <scope>caching</scope> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>rpc</artifactId> > > <version>${flex.version}</version> > > <type>rb.swc</type> > > <classifier>en_US</classifier> > > <!--<scope>rsl</scope>--> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>flex-framework</artifactId> > > <version>${flex.version}</version> > > <type>pom</type> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>flex</artifactId> > > <version>${flex.version}</version> > > <type>swc</type> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>utilities</artifactId> > > <version>${flex.version}</version> > > <type>swc</type> > > <!--<scope>rsl</scope>--> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.sdk</groupId> > > <artifactId>datavisualization</artifactId> > > <version>${flex.version}</version> > > <type>swc</type> > > <scope>caching</scope> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.sdk</groupId> > > <artifactId>datavisualization</artifactId> > > <version>${flex.version}</version> > > <type>rb.swc</type> > > <classifier>en_US</classifier> > > <!--<scope>rsl</scope>--> > > </dependency> > > </dependencies> > > > !!!! Project POM Dependencies !!!! > > <dependencies> > > <dependency> > > <groupId>com.thep.console</groupId> > > > <artifactId>pl-console-flex-shell-core-interfaces</artifactId> > > <version>${console.app.version}</version> > > <type>swc</type> > > <scope>rsl</scope> > > </dependency> > > <dependency> > > <groupId>com.thep.console</groupId> > > <artifactId>pl-console-flex-shell-core-api</artifactId> > > <version>${console.app.version}</version> > > <type>swc</type> > > <scope>rsl</scope> > > </dependency> > > <dependency> > > <groupId>com.thep.console</groupId> > > <artifactId>pl-console-flex-shell-core</artifactId> > > <version>${console.app.version}</version> > > <type>swc</type> > > <!--<scope>rsl</scope>--> > > </dependency> > > <dependency> > > <groupId>com.thep.console</groupId> > > <artifactId>pl-console-flex-components</artifactId> > > <version>${console.app.version}</version> > > <type>swc</type> > > <!--<scope>rsl</scope>--> > > </dependency> > > <dependency> > > <groupId>flexlib</groupId> > > <artifactId>pl-flexlib</artifactId> > > <version>0.2.4</version> > > <type>swc</type> > > </dependency> > > </dependencies> > > > On Apr 23, 6:49 pm, Marvin Froeder <[email protected]> wrote: > > > AFIK, once maven loads the plugin, it will ignore futer dependencies > > > configuration. But I can be absolutely wrong =D > > > > I would say to test maven 3.... > > > > Sent from DROID > > > > Em 23/04/2010 22:46, "Miguel Bautista" <[email protected] > > >escreveu: > > > > Okay, it is working now... > > > > To fix it I had to change the dependency for the plugin: > > > > <plugin> > > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > <version>${flex.mojo.version}</version> > > > ..... > > > <dependencies> > > > <dependency> > > > <groupId>com.adobe.flex</groupId> > > > <artifactId>compiler</artifactId> > > > <version>${flex.sdk.version}</version> > > > <type>pom</type> > > > </dependency> > > > <dependency> > > > <groupId>com.adobe.flex.compiler</groupId> > > > <artifactId>asdoc</artifactId> > > > <version>${flex.sdk.version}</version> > > > <type>zip</type> > > > <classifier>template</classifier> > > > </dependency> > > > <dependency> > > > <groupId>com.adobe.flex</groupId> > > > <artifactId>license</artifactId> > > > <version>${flex.license.version}</version> > > > </dependency> > > > </dependencies> > > > </plugin> > > > > I had done this before but I did > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
