Note that there are some explanatory texts on larger screens.

plurals
  1. POmaven 3 javadoc plugin doesn't take the excludepackagename config
    primarykey
    data
    text
    <p>I'm trying to exclude a bunch of packages from a javadoc site. </p> <p>Unfortunately this plugin seems to live its own life and when it was configured as a report plugin it failed with <code>access denied</code> when moving files, so it was changed to be a normal plugin and then configured to run with the site goal (aggregated). By doing that we have the javadoc generated and it's published under the site as it should be. </p> <p>But it seems that the configuration parameters for the plugin doesn't take effect at all. I've tried to move the <code>&lt;excludePackageNames&gt;</code> element around - both being a general config and to be a specific config for the aggregate goal - and I even added an exclusion for our entire code base and all files was still generated.</p> <p>What I'm trying to do is to simply remove a couple of packages that shouldn't be in the javadoc. Anyone who got this plugin and the config to play nicely, to exclude packages?</p> <p>This is the config I use right now, the javadoc is created but all packages, including the excluded, is generated.</p> <pre><code>&lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt; &lt;version&gt;2.8&lt;/version&gt; &lt;configuration&gt; &lt;excludePackageNames&gt;my.company.packages.*&lt;/excludePackageNames&gt; &lt;/configuration&gt; &lt;executions&gt; &lt;!-- Hook up the Javadoc generation on the site phase --&gt; &lt;execution&gt; &lt;id&gt;aggregate&lt;/id&gt; &lt;goals&gt; &lt;goal&gt;aggregate&lt;/goal&gt; &lt;/goals&gt; &lt;phase&gt;site&lt;/phase&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre> <p>Any ideas, pretty please?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload