Home > Blockchain >  How to set properties in XML attribute values
How to set properties in XML attribute values

Time:08-29

The below question is for izpack package. This happened when I was trying to use the maven izpack plugin.

I have a XML element

<file src="../${project.name}-${project.name}.zip" targetdir="$INSTALL_PATH/"
    unpack="true" />

The value of the attribute is set as ../${project.name}-${project.name}.zip, but how do I actually set the properties value for the attributes?

CodePudding user response:

The issue is resolved. The issue was I was using 5.0.10beta version of the maven izpack plugin and it had issues parsing the maven attributes in the xml file. It is resolved by simply going to 5.0.11beta-SNAPSHOT.

  • Related