Skip to content

Commit

Permalink
Create empty placeholder javadoc artifacts to satisfy Central Reposit…
Browse files Browse the repository at this point in the history
…ory Requirements
  • Loading branch information
ao-apps committed Sep 23, 2023
1 parent 1caa919 commit db09467
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion book/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ along with ao-javadoc-offline. If not, see <https://www.gnu.org/licenses/>.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.aoapps</groupId><artifactId>ao-oss-parent</artifactId><version>1.24.0-POST-SNAPSHOT</version>
<groupId>com.aoapps</groupId><artifactId>ao-oss-parent</artifactId><version>1.24.1-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

Expand Down
Empty file removed book/profile.d/maven.javadoc.skip
Empty file.
1 change: 1 addition & 0 deletions book/src/main/javadoc/element-list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module:com.aoapps.javadoc.offline.book
14 changes: 14 additions & 0 deletions book/src/main/javadoc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Empty Javadocs</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<main>
This project contains a <code>module-info.class</code> for <a href="https://www.oracle.com/corporate/features/understanding-java-9-modules.html">Java Platform Module System</a> only.<br>
Because there is otherwise no public Java API, unable to generate Javadocs.<br>
These empty Javadocs exist solely to satisfy <a href="https://central.sonatype.org/publish/requirements/#supply-javadoc-and-sources">Central Repository Requirements</a>.
</main>
</body>
</html>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ along with ao-javadoc-offline. If not, see <https://www.gnu.org/licenses/>.
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.aoapps</groupId><artifactId>ao-oss-parent</artifactId><version>1.24.0-POST-SNAPSHOT</version>
<groupId>com.aoapps</groupId><artifactId>ao-oss-parent</artifactId><version>1.24.1-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
1 change: 0 additions & 1 deletion profile.d/maven.javadoc.skip

This file was deleted.

14 changes: 14 additions & 0 deletions src/main/javadoc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Empty Javadocs</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<main>
This project contains a <code>module-info.class</code> for <a href="https://www.oracle.com/corporate/features/understanding-java-9-modules.html">Java Platform Module System</a> only.<br>
Because there is otherwise no public Java API, unable to generate Javadocs.<br>
These empty Javadocs exist solely to satisfy <a href="https://central.sonatype.org/publish/requirements/#supply-javadoc-and-sources">Central Repository Requirements</a>.
</main>
</body>
</html>

0 comments on commit db09467

Please sign in to comment.