maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <>
Subject Re: Releasing artifacts with and without debug info
Date Thu, 05 Dec 2013 10:37:54 GMT
Well first off I think it would be better to have the full debug info in
the main artifact.... as you can always use tooling to strip debug info as
a consumer

the debug info will have no effect on the transitive dependencies, so from
that PoV having a -nodebug.jar makes sense

Classifier would seem to be appropriate for this case... but I would be
interested to see what others say.

The other thing to keep in mind is that Tatu is a very smart guy... there
is likely a good reason that he's just forgotten which was his primary
reason and the file size is just a secondary reason that is easier to

On 5 December 2013 07:28, Cemo <> wrote:

> Hi,
> Jackson project is using this compiler parameters to reduce jar size.
>           <debug>true</debug>
> >           <debuglevel>lines,source</debuglevel>
> However this is causing a lot pain to debug. Every single artifact has to
> be compiled with necessary compiler flags again to be debugged. Before
> suggesting something I wanted to be sure about that. Is there any practice
> to distribute artifacts with and without debug info? The first thing which
> came to my mind is *classifier. *Is this a good usage? What do you think?
> Thanks

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message