Re: Javadoc aggregate fails with MDEP-187 with dependency plugin
Thanks i'll give it a shot. if it doesn't work, I'll comes up with an example project and share it on githubl On Tue, Jun 2, 2020 at 10:39 PM Olivier Lamy wrote: > Hi > what are the prepareGoals/goals of the release plugin? > maybe you could use package javadoc:aggregate-jar deploy > 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 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 >
Re: Javadoc aggregate fails with MDEP-187 with dependency plugin
Hi what are the prepareGoals/goals of the release plugin? maybe you could use package javadoc:aggregate-jar deploy 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 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
Javadoc aggregate fails with MDEP-187 with dependency plugin
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