Hrmm, I do expect to get this fixed when maven 3.1 is out.... probably by then maven will better support custom scopes or custom properties on dependencies.
On Jul 22, 5:54 pm, Jay Proulx <[email protected]> wrote: > Maybe there might be a way to honour the scope of a parent POM if one isn't > provided? I've only been working with maven for a couple of weeks, so I'm > not sure if this is realistic inheritance. > > Jay Proulx > > [email protected] > > http://blog.pollensoft.com > > http://twitter.com/pollensoft > > http://ca.linkedin.com/in/jayproulx > > From: [email protected] [mailto:[email protected]] On > Behalf Of Marvin Froeder > Sent: Thursday, July 22, 2010 4:41 PM > To: [email protected] > Subject: Re: [flex-mojos] Externalizing flex-framework > > Provided is a java scope and it has nothing to do with external... well may > be something... but still java thing. For flex use merged, internal, > external, rsl, caching and test. > > May be on maven 3.1 we will deal with that differently, but for now there > is no alternative :( > > Sent from DROID > > Em 22/07/2010 17:23, "Jay Proulx" <[email protected]>escreveu: > > Hey all, > > I'm trying to externalize the flex-framework libraries in a SWC project that > will be loaded into a parent SWF project (which will have them compiled in). > > I've checked out the following 2 links, but haven't found what I'm looking > for: > > http://groups.google.com/group/flex-mojos/browse_thread/thread/972bfa... > a23/5ccbfb0a58696208?lnk=gst > <http://groups.google.com/group/flex-mojos/browse_thread/thread/972bfa... > 3a23/5ccbfb0a58696208?lnk=gst&q=scope+external+OR+provided+#5ccbfb0a58696208 > > > &q=scope+external+OR+provided+#5ccbfb0a58696208 > > https://docs.sonatype.org/display/FLEXMOJOS/Adding+libraries+to+compi... > > A SWC dependency with an external scope works just fine with flexmojos, but > if you have a POM dependency with a provided scope, it doesn't get included > at all. Theoretically, "provided" and "external" are equivalent. Is this a > bug or is there another proper way to do this? (i.e. not manually > re-mapping every flex-framework swc dependency as external in a super-pom). > > Jay Proulx > > [email protected] > > http://blog.pollensoft.com > > http://twitter.com/pollensoft > > http://ca.linkedin.com/in/jayproulx > > -- > 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] > <mailto:flex-mojos%[email protected]> > For more options, visit this group athttp://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 athttp://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/
