javadoc config + copying index.html file as well.
authorErik Brakkee <erik@brakkee.org>
Sat, 24 Sep 2022 10:54:52 +0000 (12:54 +0200)
committerErik Brakkee <erik@brakkee.org>
Sat, 24 Sep 2022 10:54:52 +0000 (12:54 +0200)
Jenkinsfile
pom.xml
src/site/index.html [new file with mode: 0644]

index 5970e43388897da4a372783f67106d4cd108fdc7..c9299ce7790d38496adc7f6aac0276262c972c70 100644 (file)
@@ -37,7 +37,8 @@ pipeline {
           mvn javadoc:aggregate
 
           rsync -a --delete target/site/apidocs/ /data/www/http.wamblee.org/apidocs/
-
+     
+          cp src/site/index.html /data/www/http.utils.wamblee.org/
 
         '''
       }
diff --git a/pom.xml b/pom.xml
index abbb431b143cb27319e9ab24b19fe92f946a14a8..44a1386dc040a5687ec6c653f84abc8bbf17a78b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                                <groupId>org.apache.maven.plugins</groupId>
                                                                <artifactId>maven-javadoc-plugin</artifactId>
                                                                <version>3.4.1</version>
+                                <configuration>
+                                    <failOnError>false</failOnError>
+                                    <failOnWarnings>false</failOnWarnings>
+                                </configuration>
                                                        </plugin>
                                                        <plugin>
                                                                <groupId>org.codehaus.mojo</groupId>
diff --git a/src/site/index.html b/src/site/index.html
new file mode 100644 (file)
index 0000000..57d5d5b
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Refresh" content="0;URL=/main"/>
+  <title>utils.wamblee.org</title>
+</head>
+
+<body>
+</body>
+</html>