Hi what are the prepareGoals/goals of the release plugin? maybe you could use <goals>package javadoc:aggregate-jar deploy</goals> I know this will trigger few times the same lifecycle/goals and will add few times the same jar to the artifacts to deploy but it should work.
On Mon, 1 Jun 2020 at 22:33, Alex O'Ree <alexo...@apache.org> wrote: > I'm attempting to, with a release profile, build javadoc jars for all > modules in my project and generate a single aggregate javadoc jar for the > whole project, preferable with just running 'mvn -PmyReleaseProfile > install'. Is this possible? > > In my case i have a few modules that use the dependency plugin to copy > dependencies to a specific location. This seems to interfer with the > javadoc aggregate setup.I've attempted this a few times and keep getting > the MDEP-187 error message. Removing the aggregate javadoc jar setup > resolves the issue. > > Any suggestions on how to resolve this? > > using maven-dependency-plugin 3.0.0 and maven-javadoc-plugin 3.2.0 > -- Olivier Lamy http://twitter.com/olamy | http://linkedin.com/in/olamy