Hi all,

I have noticed an odd behavior with the maven-bundle-plugin (using v.2.3.6) that all system property that are set with upercase first letter as directly injected into the manifest. For example I run this:

mvn -DFOO=bar install

And that causes my META-INF/MANIFEST.MF contains a FOO=bar property. If I instead use -Dfoo=bar the same problem does not occur. My guess is that the bundle plugin just forwards all properties to bnd, which will think this is a normal manifest header.

I guess most people won't even notice this since system propperties are generally lower case, but in our build environment there are a lot of these properties that unfortunately use upper case so my manifest files are all cluttered with all kinds of strange headers.

My question is if there is a way to suppress it? Note that I can not easily change the system properties that are already set. Also is there some intention behind this behavior, or simply a bug that can be address in a future version?

Thanks,
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to