You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Matthew Inger (JIRA)" <ji...@codehaus.org> on 2005/09/28 15:43:10 UTC
[jira] Created: (MNG-1039) The "artifact:dependencies" task has no way to filter based on dependency type (ie. jar, tld, etc...)
The "artifact:dependencies" task has no way to filter based on dependency type (ie. jar, tld, etc...)
-----------------------------------------------------------------------------------------------------
Key: MNG-1039
URL: http://jira.codehaus.org/browse/MNG-1039
Project: Maven 2
Type: Improvement
Components: maven-artifact-ant
Versions: 2.0-beta-1
Reporter: Matthew Inger
Attachments: DependenciesTask.java.diff, TypeArtifactFilter.java
Currently the only filter that can be applied to the "artifact:dependencies" task is the scope.
It would be useful to be able to filter the artifact type, so that you can retrieve related sets
of dependencies, such as TLD files for inclusion into a .war file.
I am going to attach a new file "TypeArtifactFilter.java" along with a diff file for DependenciesTask.java
which will add this functionality to the task.
Both of these belong in the org.apache.maven.artifact.ant package (though TypeArtifactFilter could
potentially reside in the "artifact" component)
I'm not really sure how testcases are done for the tasks, but i can look into it. it's a relatively simple
change and something that's easy to check for.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1039) The "artifact:dependencies" task has no way to filter based on dependency type (ie. jar, tld, etc...)
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1039?page=all ]
Brett Porter closed MNG-1039:
-----------------------------
Resolution: Fixed
applied with some modifications (though an empty And filter let everything through as desired, that's probably not how it should behave so I didn't want to rely on that).
> The "artifact:dependencies" task has no way to filter based on dependency type (ie. jar, tld, etc...)
> -----------------------------------------------------------------------------------------------------
>
> Key: MNG-1039
> URL: http://jira.codehaus.org/browse/MNG-1039
> Project: Maven 2
> Type: Improvement
> Components: maven-artifact-ant
> Versions: 2.0-beta-1
> Reporter: Matthew Inger
> Assignee: Brett Porter
> Fix For: 2.0-beta-3
> Attachments: DependenciesTask.java.diff, TypeArtifactFilter.java
>
>
> Currently the only filter that can be applied to the "artifact:dependencies" task is the scope.
> It would be useful to be able to filter the artifact type, so that you can retrieve related sets
> of dependencies, such as TLD files for inclusion into a .war file.
> I am going to attach a new file "TypeArtifactFilter.java" along with a diff file for DependenciesTask.java
> which will add this functionality to the task.
> Both of these belong in the org.apache.maven.artifact.ant package (though TypeArtifactFilter could
> potentially reside in the "artifact" component)
> I'm not really sure how testcases are done for the tasks, but i can look into it. it's a relatively simple
> change and something that's easy to check for.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1039) The "artifact:dependencies" task has no way to filter based on dependency type (ie. jar, tld, etc...)
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1039?page=all ]
Brett Porter updated MNG-1039:
------------------------------
Fix Version: 2.0-beta-3
> The "artifact:dependencies" task has no way to filter based on dependency type (ie. jar, tld, etc...)
> -----------------------------------------------------------------------------------------------------
>
> Key: MNG-1039
> URL: http://jira.codehaus.org/browse/MNG-1039
> Project: Maven 2
> Type: Improvement
> Components: maven-artifact-ant
> Versions: 2.0-beta-1
> Reporter: Matthew Inger
> Assignee: Brett Porter
> Fix For: 2.0-beta-3
> Attachments: DependenciesTask.java.diff, TypeArtifactFilter.java
>
>
> Currently the only filter that can be applied to the "artifact:dependencies" task is the scope.
> It would be useful to be able to filter the artifact type, so that you can retrieve related sets
> of dependencies, such as TLD files for inclusion into a .war file.
> I am going to attach a new file "TypeArtifactFilter.java" along with a diff file for DependenciesTask.java
> which will add this functionality to the task.
> Both of these belong in the org.apache.maven.artifact.ant package (though TypeArtifactFilter could
> potentially reside in the "artifact" component)
> I'm not really sure how testcases are done for the tasks, but i can look into it. it's a relatively simple
> change and something that's easy to check for.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org