Yes, I'm a user.... and I spend some time editing the code =D

I use since 1.0 (not sure, before code.google site)

I need to extends RSL support, because that I'm studing, changing and
asking here =D


VELO

On Fri, Mar 14, 2008 at 10:25 PM, Christian Edward Gruber
<[EMAIL PROTECTED]> wrote:
> This is slightly determined by teh plugin.  Maven doesn't really
>  clarify this point.  I think the latter is probably the more accurate.
>
>  They're slightly related, though, because, for example, a type will
>  have a default implicit scope based on its meaning.   A .ear is a
>  packaging type, for example, so the way dependencies are handled if
>  you depended on a .ear would be different (potentailly) than the way
>  you would handle things if it were a .jar.  Scope provides hints, but
>  not all scopes are applicable to all situations.  For example, the
>  runtime scope or provided scope is mostly meaningless to a .swc,
>  because .swcs are statically linked into .swfs. (simplification, but
>  just to make the point.)
>
>  Anyway, have you tried the maven-flex-plugin?  Ping me offline and
>  I'll help you set it up.
>
>  Christian.
>
>
>
>  On 14-Mar-08, at 18:37 , VELO wrote:
>
>  > So, is possible =D
>  >
>  > Let me do a question.
>  >
>  > I can't do configurations like this to scopes, right?!
>  >
>  > Well, a dependency has 2 attributes.  Scope and type.
>  >
>  > In my original thought is:
>  > type is related to dependency's type;
>  > scope is related to dependency's usage.
>  >
>  > Are this thought wrong?
>  >
>  > What mean the type?  When I say <type>swc</type>:
>  > I say this dependency kind is a SWC?  Or
>  > I say this dependency is used like a SWC?
>  >
>  > I always think on the type related to kind and the scope related to
>  > usage.
>  >
>  > Can anyone give some light on this?
>  >
>  >
>  > VELO
>  >
>  >
>  > On Fri, Mar 14, 2008 at 6:03 PM, Shane Isbell
>  > <[EMAIL PROTECTED]> wrote:
>  >> That's the default behavior of Maven: extension = type. You can the
>  >> mapping
>  >> through an entry in a components.xml file.  For example,
>  >>
>  >>    <component>
>  >>      <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
>  >>      <role-hint>dotnet:gac</role-hint>
>  >>
>  >> <
>  >> implementation
>  >> >org.apache.maven.artifact.handler.DefaultArtifactHandler</
>  >> implementation>
>  >>       <configuration>
>  >>        <extension>dll</extension>
>  >>        <type>dotnet:gac</type>
>  >>        <addedToClasspath>true</addedToClasspath>
>  >>      </configuration>
>  >>     </component>
>  >>
>  >>
>  >>
>  >> On Fri, Mar 14, 2008 at 2:00 PM, VELO <[EMAIL PROTECTED]> wrote:
>  >>
>  >>> Just a question from a noobie.
>  >>>
>  >>> If I change the type, I'm pointing to a different file or to the
>  >>> same?
>  >>> I always think in the type as the extension.
>  >>> <type>swc</type>  means aFile.swc
>  >>>
>  >>> Right? Wrong? +-?
>  >>>
>  >>>
>  >>> VELO
>  >>>
>  >>>
>  >>>
>  >>>
>  >>> On Fri, Mar 14, 2008 at 5:55 PM, Shane Isbell <[EMAIL PROTECTED]
>  >>> >
>  >> wrote:
>  >>>> Multiple artifact types can all match to the same artifact. By
>  >>>> using the
>  >>>> dependency/type you can change behavior, like whether it is
>  >>>> transitive
>  >> or if
>  >>>> it should be linked or compiled, etc. There is no need to muck
>  >>>> around
>  >> with
>  >>>> scopes.
>  >>>>
>  >>>> Shane
>  >>>>
>  >>>>
>  >>>>
>  >>>> On Fri, Mar 14, 2008 at 1:46 PM, Christian Edward Gruber
>  >>>> <[EMAIL PROTECTED]> wrote:
>  >>>>
>  >>>>> I agree, I just hadn't yet thought through how to handle
>  >>>>> deployment.
>  >>>>> Especially since a .swc is a .swf with a manifest file in a zip
>  >>>>> file,
>  >>>>> it doesn't entirely map to the maven artifact concept of one-
>  >>>>> artifact-
>  >>>>> per-project.  Maybe as a classifier... Hmmm.
>  >>>>>
>  >>>>> Anyway, we should  take this flex-specific stuff off the maven dev
>  >>>>> list unless there's actual questions about maven mechanics.
>  >>>>>
>  >>>>> Christian.
>  >>>>>
>  >>>>>
>  >>>>>
>  >>>>>
>  >>>>>
>  >>>>> On 14-Mar-08, at 16:42 , VELO wrote:
>  >>>>>
>  >>>>>> But to compile, you need the SWC.
>  >>>>>>
>  >>>>>> Your dependency is the SWC, or am I wrong?
>  >>>>>>
>  >>>>>> The artifiact doesn't change.  I can use the same SWC as
>  >>>>>> external or
>  >>>>>> as runtime or as merged....
>  >>>>>>
>  >>>>>> So, I don't believe changing type is the right decision.
>  >>>>>>
>  >>>>>> VELO
>  >>>>>>
>  >>>>>>
>  >>>>>> On Fri, Mar 14, 2008 at 5:17 PM, Christian Edward Gruber
>  >>>>>> <[EMAIL PROTECTED]> wrote:
>  >>>>>>> Yeah - I may do that too with the flex thing because a .swf is
>  >>>>>>> the
>  >>>>>>> normal web-deployable, but a particular dynamic linking approach
>  >>>>>>> (called Remote Shared Libraries) uses .swf files as
>  >>>>>>> libraries.  I
>  >> may
>  >>>>>>> force it by using a swf-rsl packaging type, but I haven't
>  >> completely
>  >>>>>>> figured that out.
>  >>>>>>>
>  >>>>>>> Christian.
>  >>>>>>>
>  >>>>>>>
>  >>>>>>>
>  >>>>>>> On 14-Mar-08, at 16:14 , Shane Isbell wrote:
>  >>>>>>>
>  >>>>>>>> I'm not sure the specifics of VELOs problem but I have run into
>  >> some
>  >>>>>>>> issues
>  >>>>>>>> with NMaven for .NET support. There may be cases (like
>  >>>>>>>> netmodules,
>  >>>>>>>> or
>  >>>>>>>> linking of assemblies) where you don't want transitive
>  >> dependencies,
>  >>>>>>>> they
>  >>>>>>>> need to be direct. So it is up to the plugins to decide if
>  >>>>>>>> artifactType[x]:compile is transtive or not. It is the same
>  >>>>>>>> scope
>  >>>>>>>> but the
>  >>>>>>>> behavior is different depending on artifact type.
>  >>>>>>>>
>  >>>>>>>> There are also issues such as the Global Assembly Cache. In
>  >>>>>>>> this
>  >>>>>>>> case, I use
>  >>>>>>>> a provided scope but when the plugins see an artifact
>  >>>>>>>> dependency
>  >>>>>>>> with
>  >>>>>>>> dotnet:gac_msil type, they know to treat it differently.
>  >>>>>>>>
>  >>>>>>>> So the key is not to change scopes but to change the artifact
>  >>>>>>>> type
>  >>>>>>>> of the
>  >>>>>>>> dependency to handle different behavior of the scope.
>  >>>>>>>>
>  >>>>>>>> Shane
>  >>>>>>>> On Fri, Mar 14, 2008 at 12: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]
>  >>>>>>>>>
>  >>>>>>>>>
>  >>>>>>>
>  >>>>>>>
>  >>>>>
>  >>>>>
>  >>>>> ---------------------------------------------------------------------
>  >>>>> 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]

Reply via email to