Yes you have. But I think you should move the flex framework dependency with type pom in a parent pom to avoid having identical dependencies with different scope in your pom. If you don't have a parent pom, I think you should copy the content of framework pom in yours and add scope caching for framework and rpc, or reorder the dependencies to have scope caching one last (I guess maven uses the last dependency definition if it finds 2 identical?)
On 14 fév, 13:10, Roberto Lo Giacco <[email protected]> wrote: > Just to recap and be sure I understood you, the following is the correct way > to describe flex 3.5 framework RSL in a SWF project > > <!-- flex framework rsls --> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>framework</artifactId> > <version>${flex.sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>rpc</artifactId> > <version>${flex.sdk.version}</version> > <type>swc</type> > <scope>caching</scope> > </dependency> > > <!-- flex framework --> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>${flex.sdk.version}</version> > <type>pom</type> > </dependency> > > While for SWC projects only the last dependency is needed. > > Have I understood you? > > On Sun, Feb 13, 2011 at 22:50, Maxime Lem <[email protected]> wrote: > > I managed to make RSL for flex framework work. > > You have to add scope caching for these dependencies : > > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>framework</artifactId> > > <version>${flex.compiler.version}</version> > > <type>swc</type> > > <scope>caching</scope> > > </dependency> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>rpc</artifactId> > > <version>${flex.compiler.version}</version> > > <type>swc</type> > > <scope>caching</scope> > > </dependency> > > > The mistake I made previously that prevented framework rsl from > > working was to add scope caching to the dependency > > com.adobe.flex.framework:flex-framework::pom. > > Either you declare this dependency and override scope for the 2 upper > > dependencies, or you copy the content of this pom in yours, and add > > scope caching to framework and rpc. > > This works only for swf packaging projects (don't use it on your > > common lib.swc) > > > -- > > 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/
