[ http://jira.codehaus.org/browse/MJAR-38?page=comments#action_67417 ] 

Steven Coco commented on MJAR-38:
---------------------------------

Hello again...

Well, all these comments are going on ( ! ) and I noticed my previous comment 
here, and I really am more thinking that these should just be turned off by 
default: if there's any "switch", they should be off by default and something 
should turn them on.

The reason I feel that way is that the POM is the project's descriptor: it is 
not the specification's descriptor. -- Maven uses the <description> element as 
the Specification Title; but this really makes no sense -- What is the plan if 
the POM element values change???

The description element in particular should really contain something more like 
"reference implementation xyz...": not something considered a title.

Maven really seems to be attempting to find some solution to how to make every 
Jar in the world a standard optional package; but it just shouldn't.  (That's 
why ClassLoader is not final!!!)  These manifest attributes should be rigidly 
defined and specified by the Jar author and no "defaults" should exist .

So I have to clarify my opinion and I feel Maven should just not to be doing 
any of this to begin with.  It's highly un-standard; and these attributes in 
particular have a clearly defined usage.

Anyway, thanks for "your patience" -- appRECIATED...

Steven Coco.

> Maven Puts Arbitrary Extension Definition in JAR Manifest by Default.
> ---------------------------------------------------------------------
>
>          Key: MJAR-38
>          URL: http://jira.codehaus.org/browse/MJAR-38
>      Project: Maven 2.x Jar Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: Maven version: 2.0.4
> Microsoft Windows XP [Version 5.1.2600]
>     Reporter: Steven Coco
>  Attachments: Jar Extension-Name Tester.zip, MJAR-38.patch
>
>
>     I'm using the latest Maven release.  When I build my project, the 
> resulting Jar file's manifest contains an Extension-Name attribute along with 
> Specification and Implementation attributes.  The POM contains no mention 
> that this project is a Java optional package -- an "extension" (or an 
> extension of any other kind).
>     I don't know why Maven is doing that.
>     If Maven is doing this by default for some reason, it absolutely 
> shouldn't.  Maven should not identify my Jar as an optional package unless I 
> explicitly say so.  Jars are only extensions if explicitly created as such.
>      The name it uses for the extension name is the POM's <artifactId>.  
> That's not even a UID!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to