Exception in ExamineManifest
----------------------------
Key: MNBMODULE-22
URL: http://jira.codehaus.org/browse/MNBMODULE-22
Project: Maven 2.x Netbeans Module Plugin
Issue Type: Wish
Affects Versions: 2.7
Reporter: Roland Klein
Assignee: Milos Kleint
Why is it necessary to throw an Exception, in the case there is no manifest in
the jar file?
As i understood the Java JAR File Specification correct, a JAR file doesn't
need to have such a manifest file.
So it is stated in the Introduction to this specification "..The META-INF
directory, if it exists, is used to store package .....", so it is possible
there is no manifest, like in the javax.transaction:jta:1.0.1B jar.
Found in this repo
http://download.java.net/maven/2/javax/transaction/jta/1.0.1B/
As a workaround for my work i commented out the throwing of this exception, so
my build works. But i don't know of any side effects.
Roland
--
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email