Skip to content

Latest commit

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

regex-copy-plugin

Build Status

Description

The maven resource plugins lacks the possibility of renaming the resources during the copy process. This plugin aims at fixing this by providing a versatile renaming system. In a nutshell a regular expression will be used to match the source resources and the groups from this regular expression will be used to build the destination.

Configuration

<plugin>
<artifactId>regex-copy-maven-plugin</artifactId>
<configuration>
<sourceDirectory>src/main/java</sourceDirectory>
<destinationDirectory>target/test-harness/regex-copy</destinationDirectory>
<source>(net/ggtools/maven)/(.+)\.java</source>
<destination>{2}/Test.java</destination>
</configuration>
</plugin>

About

A Maven copy plugin on steroids

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages