propertyFileEdits notes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

propertyFileEdits notes

Christian Lutz
Hello,
 
I tried to set set the serviceRequirements=disable with the karaf-maven-plugin.
As mentioned here (http://karaf.922171.n3.nabble.com/How-do-i-change-a-single-line-in-a-custom-distro-file-td4053462.html) I am able todo this with the assembly-property-edits.xml file.
 
Three points to note:
1. There is an open issue (https://issues.apache.org/jira/browse/KARAF-4223) because of the missing documentation. Where should the documentation be defined. If it is easy a can create a pull request.
2. The xmlns url is invalid because it doesn't exist http://karaf.apache.org/tools/property-edits/1.0.0 and it is inconsistent compared to the other xmlns it should be something like
http://karaf.apache.org/xmlns/tools/property-edits/v1.0.0
3. The format of the file will be changed and the format isn't preserved. If we could use Apache Commons Configurations (http://commons.apache.org/proper/commons-configuration/index.html) it should be possible to preserve the format. What do you think?
 
kind regards
christian