No, there is no Maven way if doing this as the sources/javadoc jars are
identifiied on their classifiers not by the POM. If it's in your repo
manager, you should do some dirty workaround by using sym links in the
background or similar.
However, having a sources/javadoc containing more classes than the main jar
could confuse people.

If you are able to create 6 different jar, how come you can't create 6
different sources/javadoc jars? This might be a good time to do some
refactoring of your build script.

/Anders
On Mon, Mar 21, 2011 at 03:38, 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?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to