In Flex, we have 5 scopes.... Merged (Like compile) External (Like provided) Include (Do compile + copy all class from this dependency into my output file) Runtime (Like provided) Caching (Like provided)
I use different names to allow me call the right parameter on the compiler. I can't use all as provided because the compilation parameter not is the same. I don't know if you know Adobe Flex, is a little hard to explain without a big intro. VELO On Fri, Mar 14, 2008 at 4:50 PM, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > Why would you actually need other scopes? Don't think of scope, think > of use-cases: > > 1. Need for both compile and in the deployed system > 2. Need only for compile. > 3. Need only in the deployed system > 4. Provided locally for compile > 5. Need only during testing > > What other scenarios would your other language have need for? These > are the scenarios that are handled by the maven dependency scopes. > > Christian. > > > > On 14-Mar-08, at 10:45 , Brian E. Fox wrote: > > > Nope, the scopes are coded into the core and most of the plugins since > > it's a core concept. > > > > -----Original Message----- > > From: VELO [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 14, 2008 9:42 AM > > To: Maven Developers List > > Subject: Re: Custom scopes > > > > And there is any where to say: "Hey maven, I wanna change your scopes, > > I wanna this scopes"? > > > > > > VELO > > > > On Fri, Mar 14, 2008 at 10:13 AM, Christian Edward Gruber > > <[EMAIL PROTECTED]> wrote: > >> "System" scope doesn't exist in Java either. It's not a Java thing, > >> but a Maven thing, and it just means that the dependency is provided > >> at compile time by a local direct path, and that the ultimate runtime > >> will provide the dependency. > >> > >> Christian. > >> > >> > >> > >> On 14-Mar-08, at 07:25 , VELO wrote: > >> > >>> Hi guys, > >>> > >>> I'm developing a maven compiler mojo to another language (not Java, > >>> but I prefer don't reveal, at least not now). > >>> > >>> That language have more scopes (total 6). One (COMPILE) is Java > > like. > >>> But the others have different naming: > >>> RUNTIME on Java there is called EXTERNAL > >>> PROVIDED on Java looks like to RUNTIME on this language > >>> SYSTEM doesn't exist > >>> > >>> I wanna the same Java Scopes, but I wanna to use another name > >>> convention. > >>> > >>> How can I create my custom scope and insert they into the maven > >>> dependency mechanism? I need to do that because I have 2 types of > >>> transitive dependencies and 3 non transitive. > >>> > >>> Any one can help me? > >>> > >>> > >>> VELO > >>> > >>> > > --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]