xvweirong / onejar-maven-plugin

Automatically exported from code.google.com/p/onejar-maven-plugin
0 stars 0 forks source link

Implementation-Version: #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It looks like Java 6 expects the manifest entry like 

Implementation-Version: 0.3-SNAPSHOT

instead of 
ImplementationVersion: 0.3-SNAPSHOT

if Package.getImplementationVersion() is going to work.

Also see
http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Main%20Attribute
s

Original issue reported on code.google.com by skelter....@gmail.com on 13 Apr 2009 at 11:00

GoogleCodeExporter commented 9 years ago
Hmm.. interesting.

Do you know if it would be safe, to just add all possible spellings of the 
attribute
the manifest?

/Hugo

Original comment by hugo.josefson.old@gmail.com on 15 Apr 2009 at 8:20

GoogleCodeExporter commented 9 years ago
I think that would be fine.  

I'm also trying to dig into one-jar and determine if it is using a custom class 
loader that ignores the manifest entries of the inner jars.

Original comment by skelter....@gmail.com on 15 Apr 2009 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by hugo.josefson.old@gmail.com on 24 May 2010 at 6:47

GoogleCodeExporter commented 9 years ago

Original comment by hugo.josefson.old@gmail.com on 30 May 2010 at 6:49