| <!-- | |
| 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>linkoffline-test-parent</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>pom</packaging> | |
| <name>MJAVADOC-97</name> | |
| <description>detectLinks=true</description> | |
| <url>http://myhost/parent</url> | |
| <modules> | |
| <module>module1</module> | |
| <module>module2</module> | |
| </modules> | |
| <properties> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <maven.compiler.source>@maven.compiler.source@</maven.compiler.source> | |
| <maven.compiler.target>@maven.compiler.target@</maven.compiler.target> | |
| </properties> | |
| <dependencies> | |
| <!-- known apidocs link --> | |
| <dependency> | |
| <groupId>commons-lang</groupId> | |
| <artifactId>commons-lang</artifactId> | |
| <version>2.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>4.13.1</version> | |
| </dependency> | |
| <!-- unknown apidocs link --> | |
| <dependency> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-script</artifactId> | |
| <version>2.2.1</version> | |
| <type>pom</type> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>@pom.version@</version> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <configuration> | |
| <detectLinks>true</detectLinks> | |
| <debug>true</debug> | |
| <!-- | |
| The Javadoc link to a class in module2 on which module1 does not depend on creates an error with | |
| Oracle JDK 8, but just a warning with Oracle JDK 7 or OpenJDK 8 ==> setting failOnError to false | |
| --> | |
| <failOnError>false</failOnError> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |