[doc] Create empty class so that javadoc jar is created

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.
This commit is contained in:
Andreas Dangel 2024-03-22 09:12:17 +01:00
parent 0541ab8591
commit 7979570d39
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
2 changed files with 33 additions and 0 deletions

View File

@ -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.
}

View File

@ -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;