commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niall Pemberton <>
Subject Re: [ALL] JAVA environment settings appear in MANIFEST.MF
Date Sat, 13 Mar 2010 16:38:53 GMT
On Sat, Mar 13, 2010 at 4:12 PM, sebb <> wrote:
> On 13/03/2010, Niall Pemberton <> wrote:
>> On Sat, Mar 13, 2010 at 12:53 PM, sebb <> wrote:
>> > If the JAVA_1_n_HOME variables are defined in settings.xml, they
>>  > appear in the OSGI manifest created by the maven-bundle-plugin.
>>  >
>>  > This appears to be because the property names start with a capital letter.
>>  > I'm not sure if it is possible to exclude these from the manifest.
>>  > [I'll ask on the Felix list]
> Answer is to use the -removeheaders directive.
> Unfortunately this requires a LIST of all the property names (no wild-cards).
>>  > If not, then one simple solution would be to use lower-case for the
>>  > property names.
> I think we should just use lower-case for the property names, as the
> other options are a lot messier, and easier to get wrong.

The advantage of using those values is thats what the maven
documentation uses as an example - its not a standard but it wouldn't
surprise me if other projects/people didn't just copy that - also
naming them like JAVA_1_4_HOME is close to the JAVA_HOME standard.
Also if other projects do use those and people set them up in their
settings.xml for those projects and then build commons - the same
pollution of the MANIFEST will happen. So I think we should exclude


> Agreed?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message