You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ka...@intercomponentware.com on 2005/03/09 12:37:20 UTC

JAR plugin - Remove all maven-generated headers in JAR manifest (feature request)

Hi guys,
  this post is more like feature request.
  We're using Maven to build some OSGI bundles. (JAR files for embedded 
java platforms).
  We have our custom manifests and our headers are correctly imported.

  The problem is that we do not want any maven-generated header in the JAR 
manifest.
  These are always put by Maven Jar Plugin 1.6.1 ( I took them from 
pluggin.jelly )

Manifest-Version
Ant-Version
Created-By
Built-By
Package
Build-Jdk
Extension-Name
Specification-Title
Specification-Vendor
Implementation-Title
Implementation-Vendor
Implementation-Version

(Note : the property 'maven.jar.manifest.extensions.add' does not affect 
them, they 
             ar always added).


Why we don't want them ? Simply these properties overlap in there meaning
with OSGI standard defined manifest headers like Bundle-Vendor, 
Bundle-Version and so on.

So finally : The feature request is to make all maven-generated headers 
optional, because 
currently only part of them can be disabled.

thanks and have a nice day,
  Kaloyan
-------------------------------------------------------------
Keep In Touch With Your Life Sensors

Re: JAR plugin - Remove all maven-generated headers in JAR manifest (feature request)

Posted by Ka...@intercomponentware.com.
I have added locally a property named 

maven.jar.manifest.exclude.auto.headers

if someone is interested I can provide a the "plugin.jelly" file.

best regards,
  Kaloyan
-------------------------------------------------------
Keep In Touch With Your Life Sensors



Kaloyan.Enimanev@intercomponentware.com 
03/09/2005 01:37 PM
Please respond to
"Maven Users List" <us...@maven.apache.org>


To
users@maven.apache.org
cc

Subject
JAR plugin - Remove all maven-generated headers in JAR manifest (feature 
request)






Hi guys,
  this post is more like feature request.
  We're using Maven to build some OSGI bundles. (JAR files for embedded 
java platforms).
  We have our custom manifests and our headers are correctly imported.

  The problem is that we do not want any maven-generated header in the JAR 

manifest.
  These are always put by Maven Jar Plugin 1.6.1 ( I took them from 
pluggin.jelly )

Manifest-Version
Ant-Version
Created-By
Built-By
Package
Build-Jdk
Extension-Name
Specification-Title
Specification-Vendor
Implementation-Title
Implementation-Vendor
Implementation-Version

(Note : the property 'maven.jar.manifest.extensions.add' does not affect 
them, they 
             ar always added).


Why we don't want them ? Simply these properties overlap in there meaning
with OSGI standard defined manifest headers like Bundle-Vendor, 
Bundle-Version and so on.

So finally : The feature request is to make all maven-generated headers 
optional, because 
currently only part of them can be disabled.

thanks and have a nice day,
  Kaloyan
-------------------------------------------------------------
Keep In Touch With Your Life Sensors