I was using exclusion in my pom.xml (look at my previous message in
the thread).  flexmojos immediately would fail immediately complaining
of conflicting sdk's if I didn't.   Some of the 3.5 references were
removed from the compile command but not all.

as3commons-lang was only one of a handful of dependencies that dragged
in 3.5.  I gave them all new pom's that had no dependencies which
mimics the developer's FlashBuilder setup and everything works fine
now.

On Oct 3, 11:25 am, Marvin Froeder <[email protected]> wrote:
> Hrmmm, why didn't you use exclusions to drag 3.5.0 out? Replacing pom.xml
> will come after you in the future.
>
> VELO
>
> On Mon, Oct 3, 2011 at 3:23 PM, Javier Delgadillo
> <[email protected]>wrote:
>
>
>
>
>
>
>
> > I wound up creating my own pom.xml for the 3rd party dependencies that
> > were dragging 3.5.0 dependencies and it all builds fine now.
>
> > Thanks for your help.
>
> > -Javier
>
> > On Sep 30, 4:26 pm, Javier Delgadillo <[email protected]>
> > wrote:
> > > Another question.  When I run mvn dependency:tree, I only see flex-
> > > framework 4.5.0.20967 dependencies, but when I look in the config file
> > > generated by flexmojos, I still see references to framework 3.5 swc
> > > files.  Does flexmojos not replace the version specified by my
> > > dependencies with the version I specified in my pom.xml?  How can I
> > > force flexmojos to ignore those dependencies (other than rolling my
> > > own pom.xml files for 3rd party swc files)?
>
> > > >mvn dependency:tree
>
> > > [INFO] Scanning for projects...
> > > [INFO]
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Building
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO]
> > > [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ app ---
> > > ...
> > > [INFO] +- com.adobe.flex.framework:flex-framework:pom:
> > > 4.5.0.20967:compile
> > > [INFO] |  +- com.adobe.flex.framework:common-framework:pom:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:advancedgrids:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:authoringsupport:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:charts:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:core:swc:4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:flash-integration:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:framework:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:mx:swc:4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:osmf:swc:4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:rpc:swc:4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:spark:swc:4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:sparkskins:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:spark_dmv:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:textLayout:swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:framework:zip:configs:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:advancedgrids:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:charts:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:framework:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:mx:rb.swc:4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:osmf:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:rpc:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:spark:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  +- com.adobe.flex.framework:textLayout:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  |  \- com.adobe.flex.framework:flash-integration:rb.swc:
> > > 4.5.0.20967:compile
> > > [INFO] |  +- com.adobe.flex.framework:playerglobal:swc:
> > > 10.2:4.5.0.20967:compile
> > > [INFO] |  \- com.adobe.flex.framework:playerglobal:rb.swc:
> > > 4.5.0.20967:compile
> > > ...
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] BUILD SUCCESS
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 1.811s
> > > [INFO] Finished at: Fri Sep 30 16:10:23 PDT 2011
> > > [INFO] Final Memory: 9M/23M
> > > [INFO]
> > > ------------------------------------------------------------------------
>
> > > The config file generated by flexmojos:
> > >  <!-- compiler.library-path: list of SWC files or directories that
> > > contain SWC files-->
> > > ...
> > >       <library-path>
> > >          <path-element>C:\.m2\repository\com\adobe\flex\framework
> > > \framework\3.5.0.12683\framework-3.5.0.12683.swc</path-element>
> > >       </library-path>
> > >       <library-path>
> > >          <path-element>C:\javi4211\.m2\repository\com\adobe\flex
> > > \framework\rpc\3.5.0.12683\rpc-3.5.0.12683.swc</path-element>
> > >       </library-path>
> > > ...
> > >       <library-path>
> > >          <path-element>C:\.m2\repository\com\adobe\flex\framework
> > > \framework\3.5.0.12683\framework-3.5.0.12683-en_US.rb.swc</path-
> > > element>
> > >       </library-path>
> > >       <library-path>
> > >          <path-element>C:\.m2\repository\com\adobe\flex\framework\rpc
> > > \3.5.0.12683\rpc-3.5.0.12683-en_US.rb.swc</path-element>
> > >       </library-path>
> > > ...
>
> > --
> > 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/

-- 
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/

Reply via email to