On Mon, Mar 21, 2011 at 1:08 PM, Benson Margulies <[email protected]> wrote: > Consider an ant build that creates 1/2-dozen jars from a single source > hierarchy. It wants to be 6 maven artifacts. But there's no easy way > to make six different jars of javadoc and sources. Is there any way > for the poms of 5 to point to the sixth, or is it best to just post > identical source/javadoc jars six times?
I think you need to provide some more information. Why are you creating 6 identical jars from the same source tree? (I assume that is *not* what you are doing) So if you are creating 6 different jars, doesn't that seem to indicate you have 6 subprojects? And if so, each sub-project would have its own javadoc and source jar, rather than one uber-javadoc or uber-source jar. Also, ask yourself this question: If the 6 jars do not contain a .class files for every .java file, then why would your javadoc/source jars contain information for those files? Hope this is useful. Barrie --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
