[ http://jira.codehaus.org/browse/MNG-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3558: ------------------------------ Fix Version/s: 2.x > Add a property substitution escaping mechanism > ---------------------------------------------- > > Key: MNG-3558 > URL: http://jira.codehaus.org/browse/MNG-3558 > Project: Maven 2 > Issue Type: Bug > Components: General > Affects Versions: 2.0.9 > Reporter: Christophe DENEUX > Fix For: 2.x > > > Hi, > Developping a maven plugin, it is possible to initialize plugin parameters to > "${artifactId}-${version}" without property substitution, using: > @parameter expression="$${artifactId}-$${version}.$${extension}" > at the parameter declaration. > But, in a POM file, it seems to me that it is not possible to redefine the > value of a such parameter without property substitution. > I had tried without success: > - <parameter>${dollar}{artifactId}</parameter> with the property "dollar" > set to "$", replaced by value of artifactId, > - <parameter>$${artifactId}</parameter>, replaced by "$" followed by > artifactId value, > - <parameter>\${artifactId}</parameter>, replaced by "\" followed by > artifactId value, > - <parameter><![CDATA[${artifactId}]]></parameter>, replaced by value of > artifactId. > Please, add a property substitution escaping mechanism. > Thanks, > Christophe -- 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