This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new a7fac433 Move output-shaping ITs to JavadocReportTest and
JavadocJarMojoTest
a7fac433 is described below
commit a7fac4337ccd45e53d4d8d2c3508f948c5c408b0
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 4 14:01:26 2026 +0000
Move output-shaping ITs to JavadocReportTest and JavadocJarMojoTest
MJAVADOC-262, -278, -384, -590, -619, -625, -672 and -812 only checked how
parameters shape
the javadoc output; MJAVADOC-365 was already covered by
testIncludesExcludes.
---
src/it/projects/MJAVADOC-262/invoker.properties | 18 ---
src/it/projects/MJAVADOC-262/pom.xml | 87 -----------
.../mycompany/myapp/doc-files/maven-feather.png | Bin 3330 -> 0 bytes
.../MJAVADOC-262/src/main/javadoc/stylesheet.css | 108 --------------
src/it/projects/MJAVADOC-262/verify.groovy | 41 ------
src/it/projects/MJAVADOC-278/invoker.properties | 18 ---
src/it/projects/MJAVADOC-278/pom.xml | 74 ----------
.../mycompany/myapp/doc-files/maven-feather.png | Bin 3330 -> 0 bytes
.../mycompany/myapp/resources/maven-feather.png | Bin 3330 -> 0 bytes
.../MJAVADOC-278/src/main/javadoc/stylesheet.css | 108 --------------
.../src/main/javadoc2/resources/bg.jpg | Bin 93942 -> 0 bytes
.../src/main/javadoc2/resources/bg.psd | Bin 1896665 -> 0 bytes
.../src/main/javadoc2/resources/inherit.gif | Bin 81 -> 0 bytes
.../src/main/javadoc2/resources/inherit.psd | Bin 28362 -> 0 bytes
.../src/test/java/com/mycompany/myapp/AppTest.java | 25 ----
src/it/projects/MJAVADOC-278/verify.groovy | 32 -----
src/it/projects/MJAVADOC-365/invoker.properties | 18 ---
src/it/projects/MJAVADOC-365/pom.xml | 61 --------
.../MJAVADOC-365/src/main/java/foo/Excluded.java | 31 ----
.../MJAVADOC-365/src/main/java/foo/Included.java | 31 ----
src/it/projects/MJAVADOC-365/verify.groovy | 39 -----
src/it/projects/MJAVADOC-384/invoker.properties | 18 ---
src/it/projects/MJAVADOC-384/pom.xml | 56 --------
src/it/projects/MJAVADOC-384/verify.groovy | 54 -------
.../MJAVADOC-590_nooverview/invoker.properties | 18 ---
src/it/projects/MJAVADOC-590_nooverview/pom.xml | 41 ------
.../projects/MJAVADOC-590_nooverview/verify.groovy | 24 ----
.../MJAVADOC-619_copyright-year/invoker.properties | 17 ---
.../projects/MJAVADOC-619_copyright-year/pom.xml | 43 ------
.../MJAVADOC-619_copyright-year/verify.groovy | 22 ---
.../MJAVADOC-625_addstylesheet/invoker.properties | 18 ---
src/it/projects/MJAVADOC-625_addstylesheet/pom.xml | 50 -------
.../MJAVADOC-625_addstylesheet/verify.groovy | 34 -----
.../MJAVADOC-672_multiline-tag/invoker.properties | 17 ---
src/it/projects/MJAVADOC-672_multiline-tag/pom.xml | 65 ---------
src/it/projects/MJAVADOC-812/invoker.properties | 19 ---
src/it/projects/MJAVADOC-812/pom.xml | 37 -----
src/it/projects/MJAVADOC-812/verify.groovy | 22 ---
.../maven/plugins/javadoc/JavadocJarMojoTest.java | 18 +++
.../maven/plugins/javadoc/JavadocReportTest.java | 159 +++++++++++++++++++++
.../addstylesheets-test-plugin-config.xml | 47 ++++++
.../src/main/java/com/example/MJavaDoc625.java | 0
.../src/main/javadoc/resources/addstylesheet.css | 0
.../src/main/javadoc/resources/addstylesheets1.css | 0
.../src/main/javadoc/resources/addstylesheets2.css | 0
.../copyright-year-test-plugin-config.xml | 43 ++++++
.../src/main/java/foo/Bar.java | 0
.../exclude-package-names-test-plugin-config.xml | 46 ++++++
.../src/main/java/com/foo/bar/Api.java | 0
.../src/main/java/com/foo/bar/impl/NotApi.java | 0
.../src/main/java/com/foo/bar/internal/Api.java | 0
.../java/com/foo/bar/internal/other/NotApi.java | 0
.../javadoc-directory-test-plugin-config.xml | 44 ++++++
.../src/main/java/com/mycompany/myapp/App.java | 0
.../src/main/javadoc2/resources/extra.css} | 8 +-
.../javadocjar-no-sources-plugin-config.xml | 45 ++++++
.../nooverview-test-plugin-config.xml | 43 ++++++
.../src/main/java/com/example/MJavaDoc590.java | 0
.../tag-multiline-test}/src/main/java/foo/Bar.java | 0
.../tag-multiline-test-plugin-config.xml | 63 ++++++++
.../src/main/java/com/mycompany/myapp/App.java | 0
.../src/test/java/com/mycompany/myapp/AppTest.java | 0
.../wrong-path-separator-test-plugin-config.xml | 42 ++++++
63 files changed, 554 insertions(+), 1250 deletions(-)
diff --git a/src/it/projects/MJAVADOC-262/invoker.properties
b/src/it/projects/MJAVADOC-262/invoker.properties
deleted file mode 100644
index c3b15711..00000000
--- a/src/it/projects/MJAVADOC-262/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals=clean javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-262/pom.xml
b/src/it/projects/MJAVADOC-262/pom.xml
deleted file mode 100644
index 3cdc9341..00000000
--- a/src/it/projects/MJAVADOC-262/pom.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId>
- <artifactId>myapp</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <name>myapp</name>
- <url>http://maven.apache.org</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
-
<sourcepath>${basedir}/src/main/java${wrongPathSeparator}${basedir}/src/test/java${wrongPathSeparator}${basedir}/src/main/javadoc</sourcepath>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <profiles>
- <profile>
- <id>mac</id>
- <activation>
- <os>
- <family>mac</family>
- </os>
- </activation>
- <properties>
- <wrongPathSeparator>;</wrongPathSeparator>
- </properties>
- </profile>
- <profile>
- <id>unix</id>
- <activation>
- <os>
- <family>unix</family>
- </os>
- </activation>
- <properties>
- <wrongPathSeparator>;</wrongPathSeparator>
- </properties>
- </profile>
- <profile>
- <id>windows</id>
- <activation>
- <os>
- <family>windows</family>
- </os>
- </activation>
- <properties>
- <wrongPathSeparator>:</wrongPathSeparator>
- </properties>
- </profile>
- </profiles>
-</project>
diff --git
a/src/it/projects/MJAVADOC-262/src/main/javadoc/com/mycompany/myapp/doc-files/maven-feather.png
b/src/it/projects/MJAVADOC-262/src/main/javadoc/com/mycompany/myapp/doc-files/maven-feather.png
deleted file mode 100644
index b5ada836..00000000
Binary files
a/src/it/projects/MJAVADOC-262/src/main/javadoc/com/mycompany/myapp/doc-files/maven-feather.png
and /dev/null differ
diff --git a/src/it/projects/MJAVADOC-262/src/main/javadoc/stylesheet.css
b/src/it/projects/MJAVADOC-262/src/main/javadoc/stylesheet.css
deleted file mode 100644
index afc54507..00000000
--- a/src/it/projects/MJAVADOC-262/src/main/javadoc/stylesheet.css
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/* I don't know why these two class declarations are needed but they are */
-body {
- background: #f8f4e8 url( resources/bg.jpg );
- color: #4b2500;
- font-family: serif;
-}
-
-.TableRowColor,
-.NavBarCell1 {
- background: inherit
-}
-
-h1, h2, h3 {
- background: rgba(255,239,0,0.41) url( resources/bg-dark.jpg );
- padding: 2px;
-}
-
-.NavBarCell1Rev,
-.TableHeadingColor {
- background: rgba(255,0,0,0.16) url( resources/bg-dark.jpg );
- padding: 2px;
-}
-
-
-h4, h5,
-h3 + pre,
-.copyright,
-.NavBarCell2,
-.NavBarCell3,
-.TableSubHeadingColor {
- background: rgba(247,248,255,0.89) url( resources/bg-light.jpg );
- font-variant: normal;
-}
-
-.note {
- background: #d1dcf2 url( resources/bg-beta.jpg );
- font: italic 100% sans-serif;
-}
-
-.note {
- margin-top: 10px;
-}
-
-table {
- border-style: none;
-}
-
-tr.TableRowColor,
-tr.TableRowColor td,
-tr.TableRowColor th {
- border-left-style: none;
- vertical-align: baseline;
- border-right-style: none;
- border-color: #ba6009;
- border-width: thin;
- border-style: none;
- border-bottom-style: solid;
-}
-
-tr.TableRowColor td:first-child {
- border-right-style: solid;
-}
-
-hr {
- border-color: transparent;
- background-color: transparent;
- border-style: solid;
-}
-
-.new {
- background: #ffff88 url( resources/bg-highlight.jpg );
-}
-
-h3 {
- padding: 5px;
-}
-h3 + pre {
- border: 1px #439417;
- padding: 5px;
-}
-
-.example {
- padding-left: 4em;
-}
-
-p.copyright {
- font-style: italic;
- text-align: right;
-}
diff --git a/src/it/projects/MJAVADOC-262/verify.groovy
b/src/it/projects/MJAVADOC-262/verify.groovy
deleted file mode 100644
index ef46108d..00000000
--- a/src/it/projects/MJAVADOC-262/verify.groovy
+++ /dev/null
@@ -1,41 +0,0 @@
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.*;
-
-boolean result = true;
-
-try
-{
- // Generated files checks
- File apidocs = new File( basedir, "target/reports/apidocs" );
- if ( !apidocs.isDirectory() )
- {
- System.err.println( apidocs.getAbsolutePath() + " dir is missing or a
directory." );
- return false;
- }
-}
-catch( RuntimeException e )
-{
- e.printStackTrace();
- return false;
-}
-
-return result;
diff --git a/src/it/projects/MJAVADOC-278/invoker.properties
b/src/it/projects/MJAVADOC-278/invoker.properties
deleted file mode 100644
index 93f1f9d4..00000000
--- a/src/it/projects/MJAVADOC-278/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals=clean compile javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-278/pom.xml
b/src/it/projects/MJAVADOC-278/pom.xml
deleted file mode 100644
index 87b90636..00000000
--- a/src/it/projects/MJAVADOC-278/pom.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId>
- <artifactId>mjavadoc-278</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <name>myapp</name>
- <url>http://maven.apache.org</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
- <javadocDirectory>${basedir}/src/main/javadoc2</javadocDirectory>
-
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
- <docfilessubdirs>true</docfilessubdirs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>@sitePluginVersion@</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <reporting>
- <excludeDefaults>true</excludeDefaults>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
- <javadocDirectory>${basedir}/src/main/javadoc2</javadocDirectory>
-
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
- <docfilessubdirs>true</docfilessubdirs>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
diff --git
a/src/it/projects/MJAVADOC-278/src/main/javadoc/com/mycompany/myapp/doc-files/maven-feather.png
b/src/it/projects/MJAVADOC-278/src/main/javadoc/com/mycompany/myapp/doc-files/maven-feather.png
deleted file mode 100644
index b5ada836..00000000
Binary files
a/src/it/projects/MJAVADOC-278/src/main/javadoc/com/mycompany/myapp/doc-files/maven-feather.png
and /dev/null differ
diff --git
a/src/it/projects/MJAVADOC-278/src/main/javadoc/com/mycompany/myapp/resources/maven-feather.png
b/src/it/projects/MJAVADOC-278/src/main/javadoc/com/mycompany/myapp/resources/maven-feather.png
deleted file mode 100644
index b5ada836..00000000
Binary files
a/src/it/projects/MJAVADOC-278/src/main/javadoc/com/mycompany/myapp/resources/maven-feather.png
and /dev/null differ
diff --git a/src/it/projects/MJAVADOC-278/src/main/javadoc/stylesheet.css
b/src/it/projects/MJAVADOC-278/src/main/javadoc/stylesheet.css
deleted file mode 100644
index afc54507..00000000
--- a/src/it/projects/MJAVADOC-278/src/main/javadoc/stylesheet.css
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/* I don't know why these two class declarations are needed but they are */
-body {
- background: #f8f4e8 url( resources/bg.jpg );
- color: #4b2500;
- font-family: serif;
-}
-
-.TableRowColor,
-.NavBarCell1 {
- background: inherit
-}
-
-h1, h2, h3 {
- background: rgba(255,239,0,0.41) url( resources/bg-dark.jpg );
- padding: 2px;
-}
-
-.NavBarCell1Rev,
-.TableHeadingColor {
- background: rgba(255,0,0,0.16) url( resources/bg-dark.jpg );
- padding: 2px;
-}
-
-
-h4, h5,
-h3 + pre,
-.copyright,
-.NavBarCell2,
-.NavBarCell3,
-.TableSubHeadingColor {
- background: rgba(247,248,255,0.89) url( resources/bg-light.jpg );
- font-variant: normal;
-}
-
-.note {
- background: #d1dcf2 url( resources/bg-beta.jpg );
- font: italic 100% sans-serif;
-}
-
-.note {
- margin-top: 10px;
-}
-
-table {
- border-style: none;
-}
-
-tr.TableRowColor,
-tr.TableRowColor td,
-tr.TableRowColor th {
- border-left-style: none;
- vertical-align: baseline;
- border-right-style: none;
- border-color: #ba6009;
- border-width: thin;
- border-style: none;
- border-bottom-style: solid;
-}
-
-tr.TableRowColor td:first-child {
- border-right-style: solid;
-}
-
-hr {
- border-color: transparent;
- background-color: transparent;
- border-style: solid;
-}
-
-.new {
- background: #ffff88 url( resources/bg-highlight.jpg );
-}
-
-h3 {
- padding: 5px;
-}
-h3 + pre {
- border: 1px #439417;
- padding: 5px;
-}
-
-.example {
- padding-left: 4em;
-}
-
-p.copyright {
- font-style: italic;
- text-align: right;
-}
diff --git a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/bg.jpg
b/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/bg.jpg
deleted file mode 100644
index c86c0949..00000000
Binary files a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/bg.jpg
and /dev/null differ
diff --git a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/bg.psd
b/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/bg.psd
deleted file mode 100644
index ecfba78a..00000000
Binary files a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/bg.psd
and /dev/null differ
diff --git
a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/inherit.gif
b/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/inherit.gif
deleted file mode 100644
index e1d96751..00000000
Binary files
a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/inherit.gif and
/dev/null differ
diff --git
a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/inherit.psd
b/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/inherit.psd
deleted file mode 100644
index b3d8503f..00000000
Binary files
a/src/it/projects/MJAVADOC-278/src/main/javadoc2/resources/inherit.psd and
/dev/null differ
diff --git
a/src/it/projects/MJAVADOC-278/src/test/java/com/mycompany/myapp/AppTest.java
b/src/it/projects/MJAVADOC-278/src/test/java/com/mycompany/myapp/AppTest.java
deleted file mode 100644
index bf5c0c1a..00000000
---
a/src/it/projects/MJAVADOC-278/src/test/java/com/mycompany/myapp/AppTest.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.mycompany.myapp;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public class AppTest
-{
-}
-
diff --git a/src/it/projects/MJAVADOC-278/verify.groovy
b/src/it/projects/MJAVADOC-278/verify.groovy
deleted file mode 100644
index 0f30f40a..00000000
--- a/src/it/projects/MJAVADOC-278/verify.groovy
+++ /dev/null
@@ -1,32 +0,0 @@
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.*;
-import org.codehaus.plexus.util.*;
-
-File exampleResourceFile = new File( basedir,
"target/reports/apidocs/resources/bg.psd" );
-
-if ( !exampleResourceFile.exists() )
-{
- System.err.println( exampleResourceFile.getAbsolutePath() + " is missing."
);
- return false;
-}
-
-return true;
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-365/invoker.properties
b/src/it/projects/MJAVADOC-365/invoker.properties
deleted file mode 100644
index 7422292a..00000000
--- a/src/it/projects/MJAVADOC-365/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals=clean compile javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-365/pom.xml
b/src/it/projects/MJAVADOC-365/pom.xml
deleted file mode 100644
index 7972158d..00000000
--- a/src/it/projects/MJAVADOC-365/pom.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId>
- <artifactId>mjavadoc-369</artifactId>
- <version>1.0-SNAPSHOT</version>
-
- <url>https://issues.apache.org/jira/browse/MJAVADOC-365</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@compilerPluginVersion@</version>
- <configuration>
- <excludes>
- <exclude>**/*Excluded.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
- <sourceFileExcludes>
- <exclude>**/*Excluded.java</exclude>
- </sourceFileExcludes>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
diff --git a/src/it/projects/MJAVADOC-365/src/main/java/foo/Excluded.java
b/src/it/projects/MJAVADOC-365/src/main/java/foo/Excluded.java
deleted file mode 100644
index 427ed804..00000000
--- a/src/it/projects/MJAVADOC-365/src/main/java/foo/Excluded.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package foo;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Hello world!
- */
-public class Excluded
-{
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
- }
-}
diff --git a/src/it/projects/MJAVADOC-365/src/main/java/foo/Included.java
b/src/it/projects/MJAVADOC-365/src/main/java/foo/Included.java
deleted file mode 100644
index 2705d48a..00000000
--- a/src/it/projects/MJAVADOC-365/src/main/java/foo/Included.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package foo;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Hello world!
- */
-public class Included
-{
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
- }
-}
diff --git a/src/it/projects/MJAVADOC-365/verify.groovy
b/src/it/projects/MJAVADOC-365/verify.groovy
deleted file mode 100644
index 3b17f49b..00000000
--- a/src/it/projects/MJAVADOC-365/verify.groovy
+++ /dev/null
@@ -1,39 +0,0 @@
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.*;
-import org.codehaus.plexus.util.*;
-
-File includedFile = new File( basedir,
"target/reports/apidocs/foo/Included.html" );
-File excludedFile = new File( basedir,
"target/reports/apidocs/foo/Excluded.html" );
-
-if ( !includedFile.exists() )
-{
- System.err.println( includedFile.getAbsolutePath() + " is missing." );
- return false;
-}
-
-if ( excludedFile.exists() )
-{
- System.err.println( excludedFile.getAbsolutePath() + " is not excluded." );
- return false;
-}
-
-return true;
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-384/invoker.properties
b/src/it/projects/MJAVADOC-384/invoker.properties
deleted file mode 100644
index 22c9049f..00000000
--- a/src/it/projects/MJAVADOC-384/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals=clean javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-384/pom.xml
b/src/it/projects/MJAVADOC-384/pom.xml
deleted file mode 100644
index e45168b2..00000000
--- a/src/it/projects/MJAVADOC-384/pom.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId>
- <artifactId>mjavadoc-384</artifactId>
- <version>1.0-SNAPSHOT</version>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@compilerPluginVersion@</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
- <excludePackageNames>
- *.internal.*,
- com.foo.bar.impl,
- </excludePackageNames>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
diff --git a/src/it/projects/MJAVADOC-384/verify.groovy
b/src/it/projects/MJAVADOC-384/verify.groovy
deleted file mode 100644
index 8944e8c4..00000000
--- a/src/it/projects/MJAVADOC-384/verify.groovy
+++ /dev/null
@@ -1,54 +0,0 @@
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.*;
-import org.codehaus.plexus.util.*;
-
-File[] nonExistingJavadocFiles = [
- new File( basedir, "target/reports/apidocs/com/foo/bar/impl/NotApi.html" ),
- new File( basedir,
"target/reports/apidocs/com/foo/bar/internal/NotApi.html" ),
- new File( basedir,
"target/reports/apidocs/com/foo/bar/internal/other/NotApi.html" )
-] as File[];
-
-for ( File javadocFile : nonExistingJavadocFiles )
-{
- if ( javadocFile.exists() )
- {
- System.err.println( javadocFile.getAbsolutePath() + " is present." );
- return false;
- }
-}
-
-File[] existingJavadocFiles = [
- new File( basedir, "target/reports/apidocs/com/foo/bar/Api.html" ),
- new File( basedir, "target/reports/apidocs/com/foo/bar/internal/Api.html" )
-] as File[];
-
-for ( File javadocFile : existingJavadocFiles )
-{
- if ( !javadocFile.exists() )
- {
- System.err.println( javadocFile.getAbsolutePath() + " is missing." );
- return false;
- }
-}
-
-
-return true;
diff --git a/src/it/projects/MJAVADOC-590_nooverview/invoker.properties
b/src/it/projects/MJAVADOC-590_nooverview/invoker.properties
deleted file mode 100644
index b60ab5b4..00000000
--- a/src/it/projects/MJAVADOC-590_nooverview/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals=compile javadoc:javadoc
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-590_nooverview/pom.xml
b/src/it/projects/MJAVADOC-590_nooverview/pom.xml
deleted file mode 100644
index ce7b86a4..00000000
--- a/src/it/projects/MJAVADOC-590_nooverview/pom.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor
- license agreements. See the NOTICE file distributed with this work for
additional
- information regarding copyright ownership. The ASF licenses this file
to
- you under the Apache License, Version 2.0 (the "License"); you may not
use
- this file except in compliance with the License. You may obtain a copy
of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required
- by applicable law or agreed to in writing, software distributed under
the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS
- OF ANY KIND, either express or implied. See the License for the
specific
- language governing permissions and limitations under the License. -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.maven.plugins.javadoc.it</groupId>
- <artifactId>mjavadoc-590</artifactId>
- <version>1.0.0-SNAPSHOT</version>
-
- <url>https://issues.apache.org/jira/browse/MJAVADOC-590</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
- <nooverview>true</nooverview>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/src/it/projects/MJAVADOC-590_nooverview/verify.groovy
b/src/it/projects/MJAVADOC-590_nooverview/verify.groovy
deleted file mode 100644
index 220aafd4..00000000
--- a/src/it/projects/MJAVADOC-590_nooverview/verify.groovy
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-def file = new File( basedir,
'target/reports/apidocs/com/example/MJavaDoc590.html' );
-assert file.exists()
-
-def overview = new File( basedir, 'target/reports/apidocs/overview.html' );
-assert !overview.exists()
diff --git a/src/it/projects/MJAVADOC-619_copyright-year/invoker.properties
b/src/it/projects/MJAVADOC-619_copyright-year/invoker.properties
deleted file mode 100644
index 7a948bb3..00000000
--- a/src/it/projects/MJAVADOC-619_copyright-year/invoker.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-invoker.goals = compile javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-619_copyright-year/pom.xml
b/src/it/projects/MJAVADOC-619_copyright-year/pom.xml
deleted file mode 100644
index d009ed4c..00000000
--- a/src/it/projects/MJAVADOC-619_copyright-year/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>foo</groupId>
- <artifactId>bar</artifactId>
- <version>0.1.0-SNAPSHOT</version>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-
<project.build.outputTimestamp>2020-03-12T06:39:23Z</project.build.outputTimestamp>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/src/it/projects/MJAVADOC-619_copyright-year/verify.groovy
b/src/it/projects/MJAVADOC-619_copyright-year/verify.groovy
deleted file mode 100644
index ac6cef0c..00000000
--- a/src/it/projects/MJAVADOC-619_copyright-year/verify.groovy
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-def file = new File( basedir, 'target/reports/apidocs/options' )
-
-assert file.text.contains("'Copyright © 2020. All rights reserved.'")
diff --git a/src/it/projects/MJAVADOC-625_addstylesheet/invoker.properties
b/src/it/projects/MJAVADOC-625_addstylesheet/invoker.properties
deleted file mode 100644
index b60ab5b4..00000000
--- a/src/it/projects/MJAVADOC-625_addstylesheet/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals=compile javadoc:javadoc
\ No newline at end of file
diff --git a/src/it/projects/MJAVADOC-625_addstylesheet/pom.xml
b/src/it/projects/MJAVADOC-625_addstylesheet/pom.xml
deleted file mode 100644
index d396e01f..00000000
--- a/src/it/projects/MJAVADOC-625_addstylesheet/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor
- license agreements. See the NOTICE file distributed with this work for
additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not
use
- this file except in compliance with the License. You may obtain a copy
of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required
- by applicable law or agreed to in writing, software distributed under
the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.maven.plugins.javadoc.it</groupId>
- <artifactId>mjavadoc-625</artifactId>
- <version>1.0.0-SNAPSHOT</version>
-
- <url>https://issues.apache.org/jira/browse/MJAVADOC-625</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@compilerPluginVersion@</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
- <addStylesheets>
- <addStylesheet>resources/addstylesheet.css</addStylesheet>
- <addStylesheet>resources/addstylesheets1.css</addStylesheet>
- <addStylesheet>resources/addstylesheets2.css</addStylesheet>
- </addStylesheets>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/src/it/projects/MJAVADOC-625_addstylesheet/verify.groovy
b/src/it/projects/MJAVADOC-625_addstylesheet/verify.groovy
deleted file mode 100644
index 6f4c8fe8..00000000
--- a/src/it/projects/MJAVADOC-625_addstylesheet/verify.groovy
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-def file = new File( basedir,
'target/reports/apidocs/com/example/MJavaDoc625.html' );
-
-assert file.exists()
-
-def javaVersion = System.getProperty( 'java.specification.version' )
-if( javaVersion ==~ /(1\..+|9\..+)/ )
-{
- assert new File(basedir, 'build.log').text.contains('--add-stylesheet
option is not supported on Java version < 10')
-}
-else
-{
- assert 1 == file.text.count('addstylesheet.css')
- assert 1 == file.text.count('addstylesheets1.css')
- assert 1 == file.text.count('addstylesheets2.css')
-}
diff --git a/src/it/projects/MJAVADOC-672_multiline-tag/invoker.properties
b/src/it/projects/MJAVADOC-672_multiline-tag/invoker.properties
deleted file mode 100644
index 7a948bb3..00000000
--- a/src/it/projects/MJAVADOC-672_multiline-tag/invoker.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-invoker.goals = compile javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-672_multiline-tag/pom.xml
b/src/it/projects/MJAVADOC-672_multiline-tag/pom.xml
deleted file mode 100644
index c8ed6a1a..00000000
--- a/src/it/projects/MJAVADOC-672_multiline-tag/pom.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>foo</groupId>
- <artifactId>bar</artifactId>
- <version>0.1.0-SNAPSHOT</version>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- <configuration>
- <tags>
- <tag>
- <name>todo</name>
- <placement>a</placement>
- <head>what is to be done in the present code fragment;
- jopas only</head>
- </tag>
- <tag>
- <name>To.Do</name>
- <placement>a</placement>
- <head>ToDo: </head>
- </tag>
- <tag>
- <name>Fix.Me</name>
- <placement><![CDATA[<p>To all of you:
- <strong>start fixing this!<strong></p>
- Thank you
- ]]></placement>
- <head>ToDo: </head>
- </tag>
- </tags>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/src/it/projects/MJAVADOC-812/invoker.properties
b/src/it/projects/MJAVADOC-812/invoker.properties
deleted file mode 100644
index 8f6fc7b0..00000000
--- a/src/it/projects/MJAVADOC-812/invoker.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals = javadoc:jar
-
diff --git a/src/it/projects/MJAVADOC-812/pom.xml
b/src/it/projects/MJAVADOC-812/pom.xml
deleted file mode 100644
index c68d0e95..00000000
--- a/src/it/projects/MJAVADOC-812/pom.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-~ Licensed under the Apache License, Version 2.0 (the "License");
-~ you may not use this file except in compliance with the License.
-~ You may obtain a copy of the License at
-~
-~ http://www.apache.org/licenses/LICENSE-2.0
-~
-~ Unless required by applicable law or agreed to in writing, software
-~ distributed under the License is distributed on an "AS IS" BASIS,
-~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-~ See the License for the specific language governing permissions and
-~ limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.javadoc.it</groupId>
- <artifactId>mjavadoc812</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <url>https://issues.apache.org/jira/browse/MJAVADOC-812</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>@project.version@</version>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/src/it/projects/MJAVADOC-812/verify.groovy
b/src/it/projects/MJAVADOC-812/verify.groovy
deleted file mode 100644
index 5fcc9494..00000000
--- a/src/it/projects/MJAVADOC-812/verify.groovy
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-def javadocJar = new File( basedir,
'target/mjavadoc812-1.0-SNAPSHOT-javadoc.jar')
-
-assert !javadocJar.exists()
diff --git
a/src/test/java/org/apache/maven/plugins/javadoc/JavadocJarMojoTest.java
b/src/test/java/org/apache/maven/plugins/javadoc/JavadocJarMojoTest.java
index f36257eb..fec98924 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocJarMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocJarMojoTest.java
@@ -38,6 +38,7 @@ import org.codehaus.plexus.languages.java.version.JavaVersion;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import static org.apache.commons.io.FileUtils.deleteDirectory;
import static org.apache.maven.api.plugin.testing.MojoExtension.getBasedir;
import static
org.apache.maven.api.plugin.testing.MojoExtension.getVariableValueFromObject;
import static org.assertj.core.api.Assertions.assertThat;
@@ -191,4 +192,21 @@ class JavadocJarMojoTest {
mojo.execute();
verify(log).debug("Skipping javadoc generation, everything is up to
date.");
}
+
+ /**
+ * A project without sources yields no javadoc and therefore no (empty)
jar (MJAVADOC-812).
+ *
+ * @throws Exception if any
+ */
+ @Test
+ @InjectMojo(goal = "jar", pom = "javadocjar-no-sources-plugin-config.xml")
+ @Basedir("/unit/javadocjar-no-sources")
+ void testNoJarWithoutSources(JavadocJarMojo mojo) throws Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ mojo.execute();
+
+ verify(log).info("No Javadoc in project. Archive not created.");
+ assertThat(new File(getBasedir(),
"/target/javadocjar-no-sources-javadoc.jar"))
+ .doesNotExist();
+ }
}
diff --git
a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
index 524fae52..3bd7d2e9 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -64,6 +64,7 @@ import static org.apache.commons.io.FileUtils.copyDirectory;
import static org.apache.commons.io.FileUtils.deleteDirectory;
import static org.apache.maven.api.plugin.testing.MojoExtension.getBasedir;
import static org.apache.maven.api.plugin.testing.MojoExtension.getTestFile;
+import static
org.apache.maven.api.plugin.testing.MojoExtension.getVariableValueFromObject;
import static
org.apache.maven.api.plugin.testing.MojoExtension.setVariableValueToObject;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assumptions.assumeThat;
@@ -1324,4 +1325,162 @@ class JavadocReportTest {
assertTrue(optionsContent.contains("-helpfile"));
assertTrue(optionsContent.contains("'" +
help.toFile().getAbsolutePath().replaceAll("\\\\", "/") + "'"));
}
+
+ /**
+ * Package names in <code>excludePackageNames</code> may use a leading
wildcard, span several lines
+ * and end with a separator (MJAVADOC-384).
+ *
+ * @throws Exception if any
+ */
+ @InjectMojo(goal = "javadoc", pom =
"exclude-package-names-test-plugin-config.xml")
+ @Basedir("/unit/exclude-package-names-test")
+ @Test
+ void testExcludePackageNamesWildcard(JavadocReport mojo) throws Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ mojo.execute();
+
+ Path apidocs = new File(getBasedir(), "/target/site/apidocs").toPath();
+
+ assertThat(apidocs.resolve("com/foo/bar/Api.html")).exists();
+ assertThat(apidocs.resolve("com/foo/bar/internal/Api.html")).exists();
+
+
assertThat(apidocs.resolve("com/foo/bar/impl/NotApi.html")).doesNotExist();
+
assertThat(apidocs.resolve("com/foo/bar/internal/NotApi.html")).doesNotExist();
+
assertThat(apidocs.resolve("com/foo/bar/internal/other/NotApi.html")).doesNotExist();
+ }
+
+ /**
+ * <code>nooverview</code> only conflicts with an <code>overview</code>
file that exists; the default
+ * value of <code>overview</code> must not trigger the conflict
(MJAVADOC-590).
+ *
+ * @throws Exception if any
+ */
+ @InjectMojo(goal = "javadoc", pom = "nooverview-test-plugin-config.xml")
+ @Basedir("/unit/nooverview-test")
+ @Test
+ void testNoOverview(JavadocReport mojo) throws Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ mojo.execute();
+
+ Path apidocs = new File(getBasedir(), "/target/site/apidocs").toPath();
+ assertThat(apidocs.resolve("com/example/MJavaDoc590.html")).exists();
+ assertThat(apidocs.resolve("overview.html")).doesNotExist();
+
assertThat(readFile(apidocs.resolve("options"))).contains("-nooverview");
+ }
+
+ /**
+ * The year in the default <code>bottom</code> text comes from
<code>project.build.outputTimestamp</code>
+ * when it is set, so that the generated javadoc is reproducible
(MJAVADOC-619).
+ *
+ * @throws Exception if any
+ */
+ @InjectMojo(goal = "javadoc", pom =
"copyright-year-test-plugin-config.xml")
+ @Basedir("/unit/copyright-year-test")
+ @Test
+ void testBottomYearFromOutputTimestamp(JavadocReport mojo) throws
Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ mojo.execute();
+
+ Path options = new File(getBasedir(),
"/target/site/apidocs/options").toPath();
+ assertThat(readFile(options)).contains("'Copyright © 2020. All
rights reserved.'");
+ }
+
+ /**
+ * A tag head or placement spanning several lines is passed to javadoc as
one quoted argument
+ * (MJAVADOC-672).
+ *
+ * @throws Exception if any
+ */
+ @InjectMojo(goal = "javadoc", pom = "tag-multiline-test-plugin-config.xml")
+ @Basedir("/unit/tag-multiline-test")
+ @Test
+ void testTagMultiline(JavadocReport mojo) throws Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ mojo.execute();
+
+ Path apidocs = new File(getBasedir(), "/target/site/apidocs").toPath();
+ assertThat(apidocs.resolve("foo/Bar.html")).exists();
+
+ String options = readFile(apidocs.resolve("options"));
+ JavaVersion javadocVersion = getVariableValueFromObject(mojo,
"javadocRuntimeVersion");
+ if (javadocVersion.isBefore("9")) {
+ // the line break and the indentation of the second line collapse
into whitespace
+ assertThat(options.replaceAll("\\s+", " "))
+ .contains("what is to be done in the present code
fragment; jopas only");
+ } else {
+ assertThat(options)
+ .contains("what is to be done in the present code
fragment; \\" + LINE_SEPARATOR
+ + " jopas only");
+ }
+ }
+
+ /**
+ * Every <code>addStylesheets</code> entry is referenced once from the
generated pages (MJAVADOC-625).
+ *
+ * @throws Exception if any
+ */
+ @InjectMojo(goal = "javadoc", pom =
"addstylesheets-test-plugin-config.xml")
+ @Basedir("/unit/addstylesheets-test")
+ @Test
+ void testAddStylesheets(JavadocReport mojo) throws Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ mojo.execute();
+
+ Path apidocs = new File(getBasedir(), "/target/site/apidocs").toPath();
+ Path html = apidocs.resolve("com/example/MJavaDoc625.html");
+ assertThat(html).exists();
+
+ JavaVersion javadocVersion = getVariableValueFromObject(mojo,
"javadocRuntimeVersion");
+ if (javadocVersion.isBefore("10")) {
+ // the option is skipped (with a warning) on javadoc tools that do
not know it
+
assertThat(readFile(apidocs.resolve("options"))).doesNotContain("--add-stylesheet");
+ } else {
+ assertThat(readFile(html))
+ .containsOnlyOnce("addstylesheet.css")
+ .containsOnlyOnce("addstylesheets1.css")
+ .containsOnlyOnce("addstylesheets2.css");
+ }
+ }
+
+ /**
+ * <code>sourcepath</code> accepts the path separator of the other
platform (MJAVADOC-262).
+ *
+ * @throws Exception if any
+ */
+ @InjectMojo(goal = "javadoc", pom =
"wrong-path-separator-test-plugin-config.xml")
+ @Basedir("/unit/wrong-path-separator-test")
+ @Test
+ void testSourcepathWithWrongPathSeparator(JavadocReport mojo) throws
Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ String wrongPathSeparator = File.pathSeparatorChar == ';' ? ":" : ";";
+ setVariableValueToObject(
+ mojo,
+ "sourcepath",
+ new File(getBasedir(), "src/main/java").getAbsolutePath()
+ + wrongPathSeparator
+ + new File(getBasedir(),
"src/test/java").getAbsolutePath());
+
+ mojo.execute();
+
+ Path apidocs = new File(getBasedir(), "/target/site/apidocs").toPath();
+ assertThat(apidocs.resolve("com/mycompany/myapp/App.html")).exists();
+
assertThat(apidocs.resolve("com/mycompany/myapp/AppTest.html")).exists();
+ }
+
+ /**
+ * Resources are copied from a <code>javadocDirectory</code> other than
the default (MJAVADOC-278).
+ *
+ * @throws Exception if any
+ */
+ @InjectMojo(goal = "javadoc", pom =
"javadoc-directory-test-plugin-config.xml")
+ @Basedir("/unit/javadoc-directory-test")
+ @Test
+ void testJavadocDirectoryResources(JavadocReport mojo) throws Exception {
+ deleteDirectory(new File(getBasedir(), "target"));
+ mojo.execute();
+
+ Path apidocs = new File(getBasedir(), "/target/site/apidocs").toPath();
+ assertThat(apidocs.resolve("com/mycompany/myapp/App.html")).exists();
+ assertThat(apidocs.resolve("resources/extra.css")).exists();
+ }
}
diff --git
a/src/test/resources/unit/addstylesheets-test/addstylesheets-test-plugin-config.xml
b/src/test/resources/unit/addstylesheets-test/addstylesheets-test-plugin-config.xml
new file mode 100644
index 00000000..69c03044
--- /dev/null
+++
b/src/test/resources/unit/addstylesheets-test/addstylesheets-test-plugin-config.xml
@@ -0,0 +1,47 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>addstylesheets-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ <addStylesheets>
+ <addStylesheet>resources/addstylesheet.css</addStylesheet>
+ <addStylesheet>resources/addstylesheets1.css</addStylesheet>
+ <addStylesheet>resources/addstylesheets2.css</addStylesheet>
+ </addStylesheets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git
a/src/it/projects/MJAVADOC-625_addstylesheet/src/main/java/com/example/MJavaDoc625.java
b/src/test/resources/unit/addstylesheets-test/src/main/java/com/example/MJavaDoc625.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-625_addstylesheet/src/main/java/com/example/MJavaDoc625.java
rename to
src/test/resources/unit/addstylesheets-test/src/main/java/com/example/MJavaDoc625.java
diff --git
a/src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheet.css
b/src/test/resources/unit/addstylesheets-test/src/main/javadoc/resources/addstylesheet.css
similarity index 100%
copy from
src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheet.css
copy to
src/test/resources/unit/addstylesheets-test/src/main/javadoc/resources/addstylesheet.css
diff --git
a/src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheets1.css
b/src/test/resources/unit/addstylesheets-test/src/main/javadoc/resources/addstylesheets1.css
similarity index 100%
rename from
src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheets1.css
rename to
src/test/resources/unit/addstylesheets-test/src/main/javadoc/resources/addstylesheets1.css
diff --git
a/src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheets2.css
b/src/test/resources/unit/addstylesheets-test/src/main/javadoc/resources/addstylesheets2.css
similarity index 100%
rename from
src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheets2.css
rename to
src/test/resources/unit/addstylesheets-test/src/main/javadoc/resources/addstylesheets2.css
diff --git
a/src/test/resources/unit/copyright-year-test/copyright-year-test-plugin-config.xml
b/src/test/resources/unit/copyright-year-test/copyright-year-test-plugin-config.xml
new file mode 100644
index 00000000..bb0aa49e
--- /dev/null
+++
b/src/test/resources/unit/copyright-year-test/copyright-year-test-plugin-config.xml
@@ -0,0 +1,43 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>copyright-year-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ <outputTimestamp>2020-03-12T06:39:23Z</outputTimestamp>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git
a/src/it/projects/MJAVADOC-619_copyright-year/src/main/java/foo/Bar.java
b/src/test/resources/unit/copyright-year-test/src/main/java/foo/Bar.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-619_copyright-year/src/main/java/foo/Bar.java
rename to src/test/resources/unit/copyright-year-test/src/main/java/foo/Bar.java
diff --git
a/src/test/resources/unit/exclude-package-names-test/exclude-package-names-test-plugin-config.xml
b/src/test/resources/unit/exclude-package-names-test/exclude-package-names-test-plugin-config.xml
new file mode 100644
index 00000000..8f08584b
--- /dev/null
+++
b/src/test/resources/unit/exclude-package-names-test/exclude-package-names-test-plugin-config.xml
@@ -0,0 +1,46 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>exclude-package-names-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ <excludePackageNames>
+ *.internal.*,
+ com.foo.bar.impl,
+ </excludePackageNames>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/Api.java
b/src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/Api.java
similarity index 100%
rename from src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/Api.java
rename to
src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/Api.java
diff --git
a/src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/impl/NotApi.java
b/src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/impl/NotApi.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/impl/NotApi.java
rename to
src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/impl/NotApi.java
diff --git
a/src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/internal/Api.java
b/src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/internal/Api.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/internal/Api.java
rename to
src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/internal/Api.java
diff --git
a/src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/internal/other/NotApi.java
b/src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/internal/other/NotApi.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-384/src/main/java/com/foo/bar/internal/other/NotApi.java
rename to
src/test/resources/unit/exclude-package-names-test/src/main/java/com/foo/bar/internal/other/NotApi.java
diff --git
a/src/test/resources/unit/javadoc-directory-test/javadoc-directory-test-plugin-config.xml
b/src/test/resources/unit/javadoc-directory-test/javadoc-directory-test-plugin-config.xml
new file mode 100644
index 00000000..ad1ccfad
--- /dev/null
+++
b/src/test/resources/unit/javadoc-directory-test/javadoc-directory-test-plugin-config.xml
@@ -0,0 +1,44 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>javadoc-directory-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ <javadocDirectory>${basedir}/src/main/javadoc2</javadocDirectory>
+ <docfilessubdirs>true</docfilessubdirs>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git
a/src/it/projects/MJAVADOC-278/src/main/java/com/mycompany/myapp/App.java
b/src/test/resources/unit/javadoc-directory-test/src/main/java/com/mycompany/myapp/App.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-278/src/main/java/com/mycompany/myapp/App.java
rename to
src/test/resources/unit/javadoc-directory-test/src/main/java/com/mycompany/myapp/App.java
diff --git
a/src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheet.css
b/src/test/resources/unit/javadoc-directory-test/src/main/javadoc2/resources/extra.css
similarity index 95%
rename from
src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheet.css
rename to
src/test/resources/unit/javadoc-directory-test/src/main/javadoc2/resources/extra.css
index 02172e15..0569cd87 100644
---
a/src/it/projects/MJAVADOC-625_addstylesheet/src/main/javadoc/resources/addstylesheet.css
+++
b/src/test/resources/unit/javadoc-directory-test/src/main/javadoc2/resources/extra.css
@@ -6,9 +6,9 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -19,5 +19,5 @@
body
{
- font-size: 20px;
-}
\ No newline at end of file
+ background-color: #ffffff;
+}
diff --git
a/src/test/resources/unit/javadocjar-no-sources/javadocjar-no-sources-plugin-config.xml
b/src/test/resources/unit/javadocjar-no-sources/javadocjar-no-sources-plugin-config.xml
new file mode 100644
index 00000000..911871ab
--- /dev/null
+++
b/src/test/resources/unit/javadocjar-no-sources/javadocjar-no-sources-plugin-config.xml
@@ -0,0 +1,45 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>javadocjar-no-sources</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ <jarOutputDirectory>${basedir}/target</jarOutputDirectory>
+ <finalName>javadocjar-no-sources</finalName>
+ <classifier>javadoc</classifier>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git
a/src/test/resources/unit/nooverview-test/nooverview-test-plugin-config.xml
b/src/test/resources/unit/nooverview-test/nooverview-test-plugin-config.xml
new file mode 100644
index 00000000..0e8aeac5
--- /dev/null
+++ b/src/test/resources/unit/nooverview-test/nooverview-test-plugin-config.xml
@@ -0,0 +1,43 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>nooverview-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ <nooverview>true</nooverview>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git
a/src/it/projects/MJAVADOC-590_nooverview/src/main/java/com/example/MJavaDoc590.java
b/src/test/resources/unit/nooverview-test/src/main/java/com/example/MJavaDoc590.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-590_nooverview/src/main/java/com/example/MJavaDoc590.java
rename to
src/test/resources/unit/nooverview-test/src/main/java/com/example/MJavaDoc590.java
diff --git
a/src/it/projects/MJAVADOC-672_multiline-tag/src/main/java/foo/Bar.java
b/src/test/resources/unit/tag-multiline-test/src/main/java/foo/Bar.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-672_multiline-tag/src/main/java/foo/Bar.java
rename to src/test/resources/unit/tag-multiline-test/src/main/java/foo/Bar.java
diff --git
a/src/test/resources/unit/tag-multiline-test/tag-multiline-test-plugin-config.xml
b/src/test/resources/unit/tag-multiline-test/tag-multiline-test-plugin-config.xml
new file mode 100644
index 00000000..a6637a71
--- /dev/null
+++
b/src/test/resources/unit/tag-multiline-test/tag-multiline-test-plugin-config.xml
@@ -0,0 +1,63 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>tag-multiline-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ <tags>
+ <tag>
+ <name>todo</name>
+ <placement>a</placement>
+ <head>what is to be done in the present code fragment;
+ jopas only</head>
+ </tag>
+ <tag>
+ <name>To.Do</name>
+ <placement>a</placement>
+ <head>ToDo: </head>
+ </tag>
+ <tag>
+ <name>Fix.Me</name>
+ <placement><![CDATA[<p>To all of you:
+ <strong>start fixing this!<strong></p>
+ Thank you
+ ]]></placement>
+ <head>ToDo: </head>
+ </tag>
+ </tags>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git
a/src/it/projects/MJAVADOC-262/src/main/java/com/mycompany/myapp/App.java
b/src/test/resources/unit/wrong-path-separator-test/src/main/java/com/mycompany/myapp/App.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-262/src/main/java/com/mycompany/myapp/App.java
rename to
src/test/resources/unit/wrong-path-separator-test/src/main/java/com/mycompany/myapp/App.java
diff --git
a/src/it/projects/MJAVADOC-262/src/test/java/com/mycompany/myapp/AppTest.java
b/src/test/resources/unit/wrong-path-separator-test/src/test/java/com/mycompany/myapp/AppTest.java
similarity index 100%
rename from
src/it/projects/MJAVADOC-262/src/test/java/com/mycompany/myapp/AppTest.java
rename to
src/test/resources/unit/wrong-path-separator-test/src/test/java/com/mycompany/myapp/AppTest.java
diff --git
a/src/test/resources/unit/wrong-path-separator-test/wrong-path-separator-test-plugin-config.xml
b/src/test/resources/unit/wrong-path-separator-test/wrong-path-separator-test-plugin-config.xml
new file mode 100644
index 00000000..001e48c2
--- /dev/null
+++
b/src/test/resources/unit/wrong-path-separator-test/wrong-path-separator-test-plugin-config.xml
@@ -0,0 +1,42 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
+ <artifactId>wrong-path-separator-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+
<javadocOptionsDir>${basedir}/target/javadoc-bundle-options</javadocOptionsDir>
+ <quiet>true</quiet>
+ <debug>true</debug>
+ <failOnError>true</failOnError>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>