Hi,
I had a very strange problem which I don't know the ultimate responsibilit: some bug or feature of maven or one of its component. In one project, I kept having exceptions NoClassDefFoundError while trying to load classes from the generated jar file. After some investigations, I found this was caused by the incorrect format of the MANIFEST.MF file, which itself was caused by the <description> tag in the pom containing newline characters ! This tag is copied verbatim as the Specification-Title attribute of the manifest, so I think newlines should be escaped.


--
Arnaud Bailly - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to