properties-maven-plugin icon indicating copy to clipboard operation
properties-maven-plugin copied to clipboard

identify files by wildcard

Open lbreuss opened this issue 9 years ago • 2 comments

The goal read-project-properties shall provide the possibility to identify files by wildcard.

The solution could work similar to the maven-resources-plugin, include / exclude parameters. E.g.

    <resources>
      <resource>
        <directory>${basedir}/src/main/config/my-properties</directory>
        <includes>
          <include>**/*.properties</include>
        </includes>
      </resource>
      ...
    </resources>

(Is there a better name than "resources"? Mojo Noob asks: Could we re-use / overload the "files" parameter?)

lbreuss avatar Sep 15 '15 23:09 lbreuss

Would you like to provide a patch ?

khmarbaise avatar Oct 01 '15 18:10 khmarbaise

Hello @lbreuss ! That has been implemented in the following fork of the this plugin. Soon it will be published in maven central. I will put the link here once it will be published

mipo256 avatar May 13 '23 07:05 mipo256