Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7979570

Browse files
committed
[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.
1 parent 0541ab8 commit 7979570

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3+
*/
4+
5+
package net.sourceforge.pmd.doc;
6+
7+
import net.sourceforge.pmd.annotation.InternalApi;
8+
9+
/**
10+
* Internal API.
11+
*
12+
* <p>Acts as a bridge between outer parts of PMD and the restricted access
13+
* internal API of this package.
14+
*
15+
* <p><b>None of this is published API, and compatibility can be broken anytime!</b>
16+
* Use this only at your own risk.
17+
*
18+
* @apiNote Internal API
19+
*/
20+
@InternalApi
21+
public final class InternalApiBridge {
22+
// note: this is empty - all classes in pmd-doc are internal.
23+
// this class is only here to fulfill the maven central requirement,
24+
// that every artefact has to have a javadoc jar.
25+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3+
*/
4+
5+
/**
6+
* This module contains only internal code to generate the rule documentation pages.
7+
*/
8+
package net.sourceforge.pmd.doc;

0 commit comments

Comments
 (0)