The use of the non-standard scopes is not currently a valid use case,
so I'd say it's flexmojos with the bug here. It may work for now but
who knows what those scopes could do to other tools.

On Fri, Nov 5, 2010 at 1:27 PM, Rafael Adson Barbosa Barros
<mi...@rafaeladson.com> wrote:
> Hi,
>
> I'm trying to use maven-dependencies-plugin along with flexmojos (
> https://github.com/Flexmojos/flexmojos).
> What I want to do is use maven-dependencies-plugin to copy some dependencies
> to the destination. However, as the project is flex (and not java), I'm
> having problems managing it since I have to manage some
> dependencies that are defined in the external scope.
>
> Searching in the maven-dependencies-plugin code base I found:
>
> if ( !Artifact.SCOPE_COMPILE.equals( includeScope ) &&
> !Artifact.SCOPE_TEST.equals( includeScope )
>                && !Artifact.SCOPE_PROVIDED.equals( includeScope ) &&
> !Artifact.SCOPE_RUNTIME.equals( includeScope )
>                && !Artifact.SCOPE_SYSTEM.equals( includeScope ) )
>        throw new ArtifactFilterException( "Invalid Scope in includeScope: "
> + includeScope );
>
> in the class org.apache.maven.shared.artifact.filter.collection.ScopeFilter,
> that is not allowing me to use the plugin the way I want to.
>
> My question then is this: the plugin only supports today scopes that are
> adequate for the java programming language. Should it not be
> language-independent
> (thus removing the presented code)? If it should be dependent on java, is
> there some way that I can use the plugin to do what I want to do?
>
> Thanks,
> Rafael.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to