[
https://issues.apache.org/jira/browse/MRESOURCES-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise closed MRESOURCES-163.
------------------------------------------
Resolution: Incomplete
Assignee: Karl Heinz Marbaise
Will never accept jar files instead of source code patches. If you like you can
add the appropriate source code patch based on the current state of svn trunk
and reopen the issue.
> Filtering: check if there are any placeholders that were not substituted
> ------------------------------------------------------------------------
>
> Key: MRESOURCES-163
> URL: https://issues.apache.org/jira/browse/MRESOURCES-163
> Project: Maven Resources Plugin
> Issue Type: New Feature
> Affects Versions: 2.5
> Environment: any
> Reporter: Benjamin Walther BÃÆÃ¼el
> Assignee: Karl Heinz Marbaise
> 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}
> [email protected]@
> [email protected]@
> {noformat}
> filter file {{my.properties}}:
> {noformat}
> log.level=debug
> {noformat}
> target file:
> {noformat}
> log.level=debug
> [email protected]@
> {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:[email protected]@ 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 was sent by Atlassian JIRA
(v6.3.4#6332)