[ https://jira.codehaus.org/browse/MRESOURCES-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte moved MNG-5274 to MRESOURCES-163: ------------------------------------------------ Complexity: (was: Intermediate) Component/s: (was: General) Affects Version/s: (was: 3.0.4) (was: 3.0.3) (was: 3.0.2) (was: 3.0.1) (was: 3.0) 2.5 Key: MRESOURCES-163 (was: MNG-5274) Project: Maven 2.x Resources Plugin (was: Maven 2 & 3) > Filtering: check if there are any placeholders that were not substituted > ------------------------------------------------------------------------ > > Key: MRESOURCES-163 > URL: https://jira.codehaus.org/browse/MRESOURCES-163 > Project: Maven 2.x Resources Plugin > Issue Type: New Feature > Affects Versions: 2.5 > Environment: any > Reporter: Benjamin Walther BÃÆüel > Attachments: MavenExtension-checkForPlaceholders.zip, > maven-filtering-ext-1.0.pom > > > Functionality that checks if after filtering there are remaining placeholders > that were not replaced during filtering. > Example: > {{template.properties}}: > {noformat} > log.level=@log.level@ > hibernate.show-sql=@hibernate.show-sql@ > {noformat} > filter file {{my.properties}}: > {noformat} > log.level=debug > {noformat} > target file: > {noformat} > log.level=debug > hibernate.show-sql=@hibernate.show-sql@ > {noformat} > With the attached extended resources&filter plugins will throw: > {noformat} > Failed to execute goal > org.apache.maven.plugins:maven-resources-plugin-ext:2.5:copy-resources > (copy-resources) on project foo: File server.properties > line:hibernate.show-sql=@hibernate.show-sql@ contains one or more > placeholders not replaced by filter(s). > {noformat} > Usage: > {code:xml} > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-resources-plugin-ext</artifactId> > <version>2.5</version> > <configuration> > <delimiters> > <delimiter>@</delimiter> > </delimiters> > <outputDirectory>target/classes</outputDirectory> > > <checkFilterPlaceholders>true</checkFilterPlaceholders> > </configuration> > </plugin> > </plugins> > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira