maven-javadoc-plugin
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> </dependency>
<?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> <parent> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugins</artifactId> <version>43</version> <relativePath /> </parent> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <packaging>maven-plugin</packaging> <name>Apache Maven Javadoc Plugin</name> <description>The Apache Maven Javadoc Plugin is a plugin that uses the javadoc tool for generating javadocs for the specified project.</description> <inceptionYear>2004</inceptionYear> <contributors> <contributor> <name>Ben Speakmon</name> </contributor> <contributor> <name>Mat Booth</name> </contributor> <contributor> <name>Uwe Schindler</name> </contributor> <contributor> <name>Eric Barboni</name> </contributor> <contributor> <name>Laird Nelson</name> </contributor> <contributor> <name>Richard Eckart de Castilho</name> </contributor> <contributor> <name>Kaz Nishimura</name> </contributor> <contributor> <name>Omair Majid</name> </contributor> <contributor> <name>Philippe Marschall</name> </contributor> <contributor> <name>Richard Sand</name> </contributor> <contributor> <name>Mark Raynsford</name> </contributor> <contributor> <name>Anton Klarén</name> </contributor> <contributor> <name>Kevin Risden</name> </contributor> <contributor> <name>Michael Stumpf</name> </contributor> <contributor> <name>Julian Reschke</name> </contributor> </contributors> <prerequisites> <maven>${mavenVersion}</maven> </prerequisites> <scm> <connection>scm:git:https://github.com/apache/maven-javadoc-plugin.git</connection> <developerConnection>scm:git:https://github.com/apache/maven-javadoc-plugin.git</developerConnection> <tag>maven-javadoc-plugin-3.11.2</tag> <url>https://github.com/apache/maven-javadoc-plugin/tree/${project.scm.tag}</url> </scm> <issueManagement> <system>jira</system> <url>https://issues.apache.org/jira/browse/MJAVADOC</url> </issueManagement> <ciManagement> <system>Jenkins</system> <url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-javadoc-plugin/</url> </ciManagement> <distributionManagement> <site> <id>apache.website</id> <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> </site> </distributionManagement> <properties> <javaVersion>8</javaVersion> <mavenVersion>3.6.3</mavenVersion> <doxiaSitetoolsVersion>2.0.0</doxiaSitetoolsVersion> <wagonVersion>3.5.3</wagonVersion> <resolverVersion>1.4.1</resolverVersion> <!-- https://cwiki.apache.org/confluence/x/VIHOCg#MavenEcosystemCleanup-ResolverandMaven --> <plexus-java.version>1.3.0</plexus-java.version> <jetty.version>9.4.55.v20240627</jetty.version> <version.plexus-utils>4.0.2</version.plexus-utils> <!-- for ITs --> <compilerPluginVersion>3.13.0</compilerPluginVersion> <sourcePluginVersion>3.3.0</sourcePluginVersion> <enforcerPluginVersion>3.4.1</enforcerPluginVersion> <pluginPluginVersion>3.15.0</pluginPluginVersion> <jarPluginVersion>3.3.0</jarPluginVersion> <sitePluginVersion>3.20.0</sitePluginVersion> <projectInfoReportsPluginVersion>3.7.0</projectInfoReportsPluginVersion> <project.build.outputTimestamp>2024-12-04T05:53:30Z</project.build.outputTimestamp> <slf4jVersion>1.7.36</slf4jVersion> </properties> <dependencies> <dependency> <!-- @TODO remove!! --> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>${mavenVersion}</version> <scope>test</scope> </dependency> <!-- Maven --> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${mavenVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-api</artifactId> <version>${resolverVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-impl</artifactId> <version>${resolverVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-util</artifactId> <version>${resolverVersion}</version> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency> <!-- shared --> <dependency> <groupId>org.apache.maven.reporting</groupId> <artifactId>maven-reporting-api</artifactId> <version>4.0.0</version> </dependency> <!-- for Javadoc purposes --> <dependency> <groupId>org.apache.maven.reporting</groupId> <artifactId>maven-reporting-impl</artifactId> <version>4.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-archiver</artifactId> <version>3.6.2</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-invoker</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-utils</artifactId> <version>3.4.2</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-common-artifact-filters</artifactId> <!-- Do not upgrade, leads to IT failures, needs analysis --> <version>3.4.0</version> </dependency> <dependency> <groupId>org.eclipse.sisu</groupId> <artifactId>org.eclipse.sisu.plexus</artifactId> <version>0.9.0.M3</version> <scope>test</scope> </dependency> <!-- Doxia --> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-sink-api</artifactId> <version>2.0.0</version> </dependency> <!-- Doxia-sitetools --> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-site-renderer</artifactId> <version>${doxiaSitetoolsVersion}</version> </dependency> <!-- Doxia-sitetools --> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-integration-tools</artifactId> <version>${doxiaSitetoolsVersion}</version> </dependency> <!-- wagon --> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-provider-api</artifactId> <version>${wagonVersion}</version> </dependency> <!-- misc --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.17.0</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> <version>1.12.0</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.14</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.4.16</version> </dependency> <dependency> <groupId>com.thoughtworks.qdox</groupId> <artifactId>qdox</artifactId> <version>2.2.0</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4jVersion}</version> </dependency> <!-- Plexus --> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-java</artifactId> <version>${plexus-java.version}</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-xml</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-io</artifactId> <version>3.5.1</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>4.10.0</version> </dependency> <!-- MNG-6607: needs to be overriden for commons-compress otherwise it will appear earlier in the tree --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.18.0</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-interactivity-api</artifactId> <version>1.3</version> </dependency> <!-- test --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>3.3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-proxy</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>4.11.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-connector-basic</artifactId> <version>${resolverVersion}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-transport-wagon</artifactId> <version>${resolverVersion}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-http</artifactId> <version>${wagonVersion}</version> <classifier>shaded</classifier> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.26.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4jVersion}</version> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> <excludes combine.children="append"> <!-- Photoshop files are binary --> <exclude>**/*.psd</exclude> <!-- Checksum files cannot contain a license header --> <exclude>**/*.sha1</exclude> <!-- Javadoc package list files cannot contain a license header --> <exclude>**/*element-list*</exclude> <exclude>**/*package-list*</exclude> <!-- This file is used to patch the generated Javadoc html files --> <exclude>src/main/resources/org/apache/maven/plugins/javadoc/frame-injection-fix.txt</exclude> <!-- Original POM file that is used in a repository --> <exclude>src/test/resources/unit/test-javadoc-test/junit/junit/3.8.1/junit-3.8.1.pom</exclude> <!-- temporary file that sometimes stays after a failure then completely blocks build --> <exclude>javadoc-options-javadoc-resources.xml</exclude> <exclude>.github/dependabot.yml</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <suppressionsLocation>src/config/checkstyle-suppressions.xml</suppressionsLocation> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <failOnWarnings>false</failOnWarnings> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>1.1.1</version> <models> <model>src/main/mdo/javadocOptions.mdo</model> </models> </configuration> <executions> <execution> <goals> <goal>java</goal> <goal>xpp3-reader</goal> <goal>xpp3-writer</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemPropertyVariables> <maven.home>${maven.home}</maven.home> </systemPropertyVariables> <environmentVariables> <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED> </environmentVariables> <trimStackTrace>false</trimStackTrace> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>run-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <configuration> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <projectsDirectory>src/it/projects</projectsDirectory> <settingsFile>src/it/mrm/settings.xml</settingsFile> <pomIncludes combine.children="append"> <pomInclude>examples/*/pom.xml</pomInclude> </pomIncludes> <pomExcludes> <pomExclude>MJAVADOC-181/pom.xml</pomExclude> <!-- seems to be wrong, see comment in Jira issue --> <pomExclude>output-encoding/pom.xml</pomExclude> </pomExcludes> <properties combine.self="override" /> <filterProperties> <maven.compiler.source>${maven.compiler.source}</maven.compiler.source> <maven.compiler.target>${maven.compiler.target}</maven.compiler.target> <mrm.3rdparty.url>${mrm.3rdparty.url}</mrm.3rdparty.url> </filterProperties> <environmentVariables> <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED> <!-- required for MJAVADOC-538 --> <_JAVA_OPTIONS>-Dabc=def</_JAVA_OPTIONS> </environmentVariables> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>mrm-maven-plugin</artifactId> <version>1.6.0</version> <executions> <execution> <id>repository</id> <goals> <goal>start</goal> <goal>stop</goal> </goals> <configuration> <repositories> <mockRepo> <source>src/it/mrm/repository</source> <cloneTo>${project.build.directory}/mock-repo</cloneTo> </mockRepo> <proxyRepo /> </repositories> </configuration> </execution> <execution> <id>3rdparty</id> <goals> <goal>start</goal> <goal>stop</goal> </goals> <configuration> <repositories> <mockRepo> <source>src/it/mrm/3rdparty</source> <cloneTo>${project.build.directory}/mock-repo-3rdparty</cloneTo> </mockRepo> </repositories> <propertyName>mrm.3rdparty.url</propertyName> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>reporting</id> <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>l10n-maven-plugin</artifactId> <version>1.1.0</version> <configuration> <excludes> <exclude>**/log4j.properties</exclude> </excludes> <locales> <locale>de</locale> <locale>fr</locale> <locale>nl</locale> <locale>sv</locale> </locales> </configuration> </plugin> </plugins> </reporting> </profile> <profile> <!-- simple profile which exclude units tests to be able to run only IT tests --> <id>only-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/*Test*.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>dev</id> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${project.version}</version> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> </project>