Skip to content

Commit

Permalink
Use maven filtering 3.3.2-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Feb 26, 2024
1 parent 013933f commit 620a5b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ under the License.
<project.build.outputTimestamp>2023-05-08T18:49:15Z</project.build.outputTimestamp>

<!-- Used by site documentation as well, do not remove -->
<mavenFilteringVersion>3.3.1</mavenFilteringVersion>
<mavenFilteringVersion>3.3.2-SNAPSHOT</mavenFilteringVersion>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
import org.apache.maven.shared.artifact.filter.collection.GroupIdFilter;
import org.apache.maven.shared.artifact.filter.collection.ProjectTransitivityFilter;
import org.apache.maven.shared.artifact.filter.collection.ScopeFilter;
import org.apache.maven.shared.filtering.FilteringUtils;
import org.apache.maven.shared.filtering.MavenFileFilter;
import org.apache.maven.shared.filtering.MavenFileFilterRequest;
import org.apache.maven.shared.filtering.MavenFilteringException;
Expand Down Expand Up @@ -639,7 +640,7 @@ protected boolean copyResourceIfExists(File file, String relFileName, VelocityCo
throw new MojoExecutionException("Error filtering resource: " + source, e);
}
} else {
FileUtils.copyFile(source, file);
FilteringUtils.copyFile(source, file, null, null);
}

// exclude the original (so eclipse doesn't complain about duplicate resources)
Expand Down

0 comments on commit 620a5b9

Please sign in to comment.