Search code examples
javamavenjavadocmaven-javadoc-plugin

Maven Javadoc Plugin - override specific part of default CSS


I'm using Maven Javadoc plugin with default CSS. I want to override a specific part of default styling. However if I specify a custom css file using <stylesheetfile> tag it overrides default CSS.

What I want is the default and custom CSS to be applied together. Is this even possible?


Solution

  • As mentioned in the the Java docs -stylesheetfile <path>, you can only supply one css file, you can try merging Java provided default stylesheet.css with yours and try.