Am I correct in my reading, that they found a similar use case for why
installing/deploying without a main artifact was allowed, and thus why a
test was guarding that behavior, but then decided it wasn't 'the Maven Way'
enough and ripped it out?

That makes it seem like a dummy jar is the only solution to Bernhard's
problem (or hanging back on an older version of the deploy plugin).

On Wed, Feb 22, 2023 at 12:43 PM Tamás Cservenák <ta...@cservenak.net>
wrote:

> Found this thread discussing this very change, may be helpful:
> https://markmail.org/message/cmu5rh6i4cbmkh6e
>
> HTH
> Tamas
>
> On Wed, Feb 22, 2023 at 7:27 PM Tamás Cservenák <ta...@cservenak.net>
> wrote:
>
> > Howdy,
> >
> > Not directly helpful, but this change was introduced in early 3.0.0-M1:
> > https://issues.apache.org/jira/browse/MDEPLOY-205
> >
> > By reading the issue, I am really unsure about the exact intent.
> > But, there is already a comment on issue (someone else having similar
> > problem)
> >
> > Let's see if anyone else chimes in.
> >
> > HTH
> > Tamas
> >
> > On Wed, Feb 22, 2023 at 7:20 PM Bernhard Schuhmann <
> > bernhard.schuhm...@jedox.com> wrote:
> >
> >> Hello!
> >>
> >>
> >>
> >> I'm building a JavaDoc archive for a jar file with
> >>
> >>
> >>
> >>   mvn javadoc:javadoc assembly:single deploy
> >>
> >>
> >>
> >> and maven-jar-plugin disabled so that only the JavaDoc archive gets
> >> deployed. This has been working until updating to 3.9.0
> >> (maven-deploy-plugin 3.x) -because I only attach the JavaDoc archive I
> now
> >> get
> >>
> >>
> >>
> >>   The packaging plugin for this project did not assign a main file to
> the
> >> project but it has attachments. Change packaging to 'pom'.
> >>
> >>
> >>
> >> However, when I change packaging to pom as suggested,
> >> maven-javadoc-plugin no longer generates the Javadoc files that I want
> to
> >> assemble into the zip archive.
> >>
> >>
> >>
> >> Any help how to still do that in a single command? How can I deploy an
> >> attachment without a main file assigned?
> >>
> >>
> >>
> >> Bernhard
> >>
> >>
> >>
> >>
> >> <
> https://www.jedox.com/en/resources/analyst-gartner-critical-capabilities/?utm_source=signature&utm_medium=email&utm_campaign=gartner_cc
> >
> >>
> >> *Bernhard Schuhmann**​*
> >>
> >> Senior Software Engineer
> >>
> >> *Jedox*
> >>
> >> Bismarckallee 7a
> >>
> >> 79098
> >>
> >> Freiburg im Breisgau
> >>
> >> Germany
> >>
> >> Jedox GmbH
> >> Chief Executive Officer (Geschäftsführer): Florian Winterstein
> >>
> >> Place of Business: Freiburg i. Br. | Registry Court: Amtsgericht
> Freiburg | HRB 723467
> >>
> >>
> >> ​​[TM.V06112018]
> >>
> >>
> >>
> >
>

Reply via email to