The following issue has been updated:
Updater: Jason van Zyl (mailto:[EMAIL PROTECTED])
Date: Tue, 2 Dec 2003 4:22 PM
Changes:
environment changed to
Component changed to pom
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-514&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-514
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-514
Summary: enhance resource filtering
Type: New Feature
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
pom
Fix Fors:
1.1
Assignee:
Reporter: Brett Porter
Created: Mon, 23 Jun 2003 9:28 AM
Updated: Tue, 2 Dec 2003 4:22 PM
Description:
Something discussed on the dev/user lists recently, and an initial implementation is
in place. Here is my proposal from the list:
I would like to propose a generic solution via the POM and whatever filter-enabled
copying technique that is being used. Let me know what you think.
Firstly, inside <build>:
<filters>
<file>${basedir}/conf/${maven.username}.properties</file>
<file>${basedir}/conf/filters.properties</file>
<file>${basedir}/../common/filters.properties</file>
<filter>
<token>some.property</token>
<value>some.value</value>
</filter>
</filters>
Or to go really crazy, have the above as a filterset, and wrap them up in a list of
filtersets. Ant introduced this functionality, but personally I don't see the use for
it as long as you keep your property names a little different.
I also think build.properties, project.properties and driver/default.properties should
be included by default when filtering is enabled.
Now, each <resource/> element can keep the <filtering>true</filtering> property to
acknowledge it wants to be filtered.
The reason to allow different files is that the purpose of filters is to be able to
substitute varying values, so you may not want to hard code them into project.xml. And
this configuration should be flexible enough to work without Ant if necessary.
----
I'm happy to work on this once there is agreement - just opening this to track its
progress.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]