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

[cid:image866005.jpg@16056F1C.E0B30CB7]<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