Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
[MSHARED-188] DefaultMavenFileFilter modifies the MavenProject that c…
Browse files Browse the repository at this point in the history
…omes in through a parameter

o Create a copy of the MavenProject's filters before making modifications

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1072594 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dennisl committed Feb 20, 2011
1 parent 9f9d2a5 commit 5001274
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -211,7 +211,7 @@ public List getDefaultFilterWrappers( final AbstractMavenFilteringRequest req )
{
if ( request.isInjectProjectBuildFilters() )
{
List buildFilters = request.getMavenProject().getBuild().getFilters();
List buildFilters = new ArrayList( request.getMavenProject().getBuild().getFilters() );
buildFilters.removeAll( request.getFileFilters() );

loadProperties( filterProperties, buildFilters, baseProps );
Expand Down

0 comments on commit 5001274

Please sign in to comment.