Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Site generation

## Prerequisites
- JDK 17+
- Maven 3.6.3+
- Access to `https://repo.maven.apache.org/maven2` and `https://central.sonatype.com/repository/maven-snapshots/`

## Generate the site

```bash
mvn -DskipTests site
```

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<source-plugin.version>3.4.0</source-plugin.version>
<javadoc-plugin.version>3.12.0</javadoc-plugin.version>
<surefire-plugin.version>3.5.4</surefire-plugin.version>
<site-plugin.version>3.21.0</site-plugin.version>
<site-plugin.version>4.0.0-M16</site-plugin.version>
<jacoco-plugin.version>0.8.14</jacoco-plugin.version>
<cyclonedx-plugin.version>2.9.1</cyclonedx-plugin.version>
</properties>
Expand Down
3 changes: 2 additions & 1 deletion src/site/resources/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ a.externalLink[href$=".md5"],a.externalLink[href$=".sha1"]{background:url('../im
a.externalLink[href^=https]{background:inherit;padding-right:inherit}
a.externalLink[href^=file]{background:url('../images/drive-harddisk.png') right center no-repeat;padding-right:18px}
a.externalLink[href^=ftp]{background:url('../images/network-server.png') right center no-repeat;padding-right:18px}
a.externalLink[href^=mailto]{background:url('../images/contact-new.png') right center no-repeat;padding-right:18px}
a.externalLink[href^=mailto]{background:url('../images/contact-new.png') right center no-repeat;padding-right:18px}
#publishDate,#projectVersion{display:none}
16 changes: 7 additions & 9 deletions src/site/site.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<project>
<publishDate format="dd MMMMMMMMM yyyy"/>
<site xmlns="http://maven.apache.org/SITE/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
<publishDate format="dd MMMM yyyy"/>

<skin>
<groupId>org.apache.maven.skins</groupId>
Expand All @@ -19,10 +20,8 @@
</fluidoSkin>
</custom>

<bannerLeft>
<name>HtmlUnit</name>
<src>/images/htmlunit.png</src>
<href>https://www.htmlunit.org</href>
<bannerLeft name="HtmlUnit" href="https://www.htmlunit.org">
<image src="/images/htmlunit.png"/>
</bannerLeft>

<body>
Expand Down Expand Up @@ -73,5 +72,4 @@
<menu ref="modules"/>

</body>
</project>

</site>