Affects Version/s: 7.0.X, 7.1.X, Master
Fix Version/s: None
Component/s: Dev Tools > Portal Build Env > bnd
When you build DXP with ant build parameters, the ones which start with an uppercase letter are added to most of the MANIFEST files. This is not really fortunate as not all build parameters should be visible after building the jars.
Steps to reproduce (it's added to other jars too, it's just the easiest to reproduce this way):
- Go to util-bridges
- Run ant clean
- Run ant -DTestProperty=true jar
- Check the META-INF/MANIFEST.MF file in the newly build util-bridges.jar. It has this line:
It's most probably caused by the inherit="true" here: https://github.com/liferay/liferay-portal/blob/master/build-common-java.xml#L124
The fix is not that easy as the <manifest-helper /> works by adding new properties to the project so switching off inherit would not include the necessary properties.