[
http://jira.codehaus.org/browse/MNG-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134058#action_134058
]
Ezra Jennings commented on MNG-3359:
------------------------------------
Changing the following in
org.apache.maven.plugin.resources.ReflectionProperties from
\\
\\
{code:title=org.apache.maven.plugin.resources.ReflectionProperties.java|borderStyle=solid}
public Object get( Object key )
{
Object value = null;
try
{
value = ReflectionValueExtractor.evaluate( "" + key , project);
{code}
to
{code:title=org.apache.maven.plugin.resources.ReflectionProperties.java|borderStyle=solid}
public Object get( Object key )
{
Object value = null;
try
{
value = ReflectionValueExtractor.evaluate( "" + key , project,
false);
{code}
fixes this problem, but I do not know if it causes some other expected behavior
to change.
> Filtering with POM.xml elements
> -------------------------------
>
> Key: MNG-3359
> URL: http://jira.codehaus.org/browse/MNG-3359
> Project: Maven 2
> Issue Type: Bug
> Components: POM
> Affects Versions: 2.0.8
> Reporter: Zach Legein
> Attachments: maven-bug.tar.gz
>
>
> I have this weird error where if I have a project like the one attached. It
> appears that when filtering is set to _true_ and you have an file that has a
> reference to a 'name' value, like so:
> {code:xml}
> <html>
> <head>
> <title>${something.name}</title>
> </head>
> </html>
> {code}
> The pom.xml _name_ element will be used when filtering this file.
> So if your pom.xml is written like so:
> {code:xml}
> <project>
> <name>Look at Me!</name>
> </project>
> {code}
> This _name_ value will be used to do filtering if turned on.
> Granted you would want to set up your project like this, but this is not
> expected behavior, right?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira