Issue Type: Improvement Improvement
Affects Versions: mojo-parent-32
Assignee: Unassigned
Components: properties
Created: 30/Jul/13 7:36 PM
Description:

I had a requirement where I wanted to read a baseline properties file (template) in and add some more attribute to it runtime (maven build time) and package that file in my snapshot

We have write-active-profile-properties goal that could write all the current profile's properties and similarly write-project-properties but none of this takes base line template that was what I wanted for my requirement

I added another MOJO that reads baseline properties file and appends/overrides passed properties

Usage:

<configuration>
<configuration>
	<files>
		<file>/home/jigar.joshi/lithium/checkouts/active/version.properties</file>
	</files>
	<outputFile>../../../base.properties</outputFile>
	<supersedingProperties>
		<property>
			<name>svn.revision</name>
			<value>somevalue</value>
		</property>
		<property>
			<name>foo</name>	
			<value>bar</value>
		</property>
	</supersedingProperties>
</configuration>


Note

affected version field is incorrect, couldn't find proper version for it

Project: Mojo
Priority: Minor Minor
Reporter: Jigar Joshi
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

Reply via email to