[
https://jira.codehaus.org/browse/MBUILDHELPER-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282954#comment-282954
]
Carl-Erik Kopseng commented on MBUILDHELPER-34:
-----------------------------------------------
I can probably provide a patch for this if that would be quicker? Not quite
certain if an empty string would evaluate to the property not being set anyhow,
so there needs to be some special symbol for the case of empty, or if I should
just define a property <remove /> that can be used instead. That would of
course not solve the original submitters case (b) for adding whitespace.
> Enable regex-property goal replacement value to be empty string or space
> character
> ----------------------------------------------------------------------------------
>
> Key: MBUILDHELPER-34
> URL: https://jira.codehaus.org/browse/MBUILDHELPER-34
> Project: Maven 2.x Build Helper Plugin
> Issue Type: Improvement
> Affects Versions: 1.7
> Reporter: dev danke
> Priority: Minor
>
> Please allow a wider range of replacement values, such as:
> a) an empty string
> b) one or more space characters.
> Case (a) is when you just want to remove something from property.
> Case (b) is for adding white space.
> Currently, when either of these values are used, the plugin gives an error:
> [ERROR] Failed to execute goal
> org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property
> (regex-property) on project android-app: The parameters 'replacement' for
> goal org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property are
> missing or invalid -> [Help 1]
> The plugin documentation does not define what replacement values are
> invalid:-(
> Thanks for the helpful plugin!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email