Skip to content

Commit

Permalink
[doc] Create empty class so that javadoc jar is created
Browse files Browse the repository at this point in the history
This needs to be done to fulfill the requirement of maven
central, that every artefact has to have a javadoc jar.
However, pmd-doc only contains internal classes.
  • Loading branch information
adangel committed Mar 22, 2024
1 parent 0541ab8 commit 7979570
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
@@ -0,0 +1,25 @@
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/

package net.sourceforge.pmd.doc;

import net.sourceforge.pmd.annotation.InternalApi;

/**
* Internal API.
*
* <p>Acts as a bridge between outer parts of PMD and the restricted access
* internal API of this package.
*
* <p><b>None of this is published API, and compatibility can be broken anytime!</b>
* Use this only at your own risk.
*
* @apiNote Internal API
*/
@InternalApi
public final class InternalApiBridge {
// note: this is empty - all classes in pmd-doc are internal.
// this class is only here to fulfill the maven central requirement,
// that every artefact has to have a javadoc jar.
}
@@ -0,0 +1,8 @@
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/

/**
* This module contains only internal code to generate the rule documentation pages.
*/
package net.sourceforge.pmd.doc;

0 comments on commit 7979570

Please sign in to comment.