You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Chaffee (JIRA)" <ji...@codehaus.org> on 2006/05/02 01:32:41 UTC

[jira] Updated: (MASSEMBLY-90) add a DependencySet filter based on type

     [ http://jira.codehaus.org/browse/MASSEMBLY-90?page=all ]

Jason Chaffee updated MASSEMBLY-90:
-----------------------------------

    Attachment: AssemblyTypeArtifactFilter.java
                AssemblyClassifierArtifactFilter.java
                AbstractAssemblyMojo.java

> add a DependencySet filter based on type
> ----------------------------------------
>
>          Key: MASSEMBLY-90
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-90
>      Project: Maven 2.x Assembly Plugin
>         Type: Improvement

>     Reporter: Jason Chaffee
>  Attachments: AbstractAssemblyMojo.java, AbstractAssemblyMojo.java, AssemblyClassifierArtifactFilter.java, AssemblyTypeArtifactFilter.java, AssemblyTypeArtifactFilter.java
>
>
> It would be nice to create a distribution bundle that contains both jars and webapps.  These would be built by different projects and then an assembly project would list these in the pom.  However, there is no way to filter the dependencies based on their type.  This would be be a pretty easy thing to add.  I have attached a new class, AssemblyTypeArtifactFilter and the required change to AbstractAsseblyMojo.  The DependencySet class needs to be modified as well to add the type field, but I was not able to find it in the maven repository.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira