components are not interpolated - i.e., ${params} are not substituted ---------------------------------------------------------------------
Key: MASSEMBLY-184 URL: http://jira.codehaus.org/browse/MASSEMBLY-184 Project: Maven 2.x Assembly Plugin Issue Type: Bug Affects Versions: 2.2 Environment: all Reporter: John J. Franey Attachments: CompInterpol.diff Components are no more than the extension of an Assembly. As such, they ought to also be interpolated. Why is there the current restriction that the ${param} will be replaced when it appears in an Assembly, but not if it appears in a Component? Without interpolating Components, it will not be possible to refactor a component out of an assembly if it contains a ${param} to be replaced. Attached is a diff with the code change and a test case. The change: the call to merge components into the assembly now appears before assembly's interpolation in the DefaultAssemblyReader, not after. Regards, John -- 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