prafulljha / maven-replacer-plugin

Automatically exported from code.google.com/p/maven-replacer-plugin
MIT License
0 stars 0 forks source link

Alterative way for specifying includes and excludes #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
instead of 

                        <includes>
                            <include>target/**/replace-me.*</include>
                        </includes>
                        <excludes>
                            <exclude>target/**/do-not-replace-me.*</exclude>
                        </excludes>

it would be nice if you could specify includes and excludes in such a
format as an alternative way:

              <includes>[ comma separated list of file filters ]</includes>
              <excludes>[ comma separated list of file filters ]</excludes>

this is for example how the maven-dependency-plugin does it.

this format is especially useful if your includes and excludes pattern is
defined by a ${property}

Original issue reported on code.google.com by deru...@gmail.com on 6 Mar 2010 at 10:28

GoogleCodeExporter commented 9 years ago
This should be easy enough.
I will investigate and let you know.

Original comment by baker.st...@gmail.com on 7 Mar 2010 at 3:56

GoogleCodeExporter commented 9 years ago
This will be implemented as:
<includedFiles>file1, file2, **/*file3</includedFiles>
<excludedFiles>file4, file5, **/*file6</excludedFiles>

(That is, the same ant supported formats can exist).
This will allow the mix of both types of file includes/excludes.

Original comment by baker.st...@gmail.com on 28 Mar 2010 at 11:16

GoogleCodeExporter commented 9 years ago
Completed coding and testing.
Will be out in next release, however, the configuration is slightly different 
to the 
above due to some unforeseen maven plugin settings.
Will be in the format:
<filesToInclude>file1, file2, etc</filesToInclude>
<filesToExclude>file1, file2, etc</filesToExclude>

Original comment by baker.st...@gmail.com on 1 Apr 2010 at 8:14

GoogleCodeExporter commented 9 years ago
1.3.1 has been released into the google hosted repo, and I am waiting for it to 
be 
added to the maven central repo, 
see: http://jira.codehaus.org/browse/MAVENUPLOAD-2767

In the meantime, you can point your maven settings at the google repo by 
following 
the instructions in the InstallationGuide.

I will update the project documentation soon.
Thanks,
Steven

Original comment by baker.st...@gmail.com on 17 Apr 2010 at 12:10

GoogleCodeExporter commented 9 years ago
1.3.1 is now within the central maven repository. Y can now remove any 
references to 
this projects release repository.

Original comment by baker.st...@gmail.com on 7 May 2010 at 2:26

GoogleCodeExporter commented 9 years ago
Just issue clean up.

Original comment by baker.st...@gmail.com on 17 Sep 2012 at 12:41