Skip to content

Commit

Permalink
fix javadoc to contain speclicense (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj authored Aug 4, 2020
1 parent df675c2 commit e4c307a
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 64 deletions.
76 changes: 17 additions & 59 deletions activation/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Copyright (c) 1997, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Distribution License v. 1.0, which is available at
Expand Down Expand Up @@ -98,64 +98,22 @@
</configuration>
</plugin>

<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>javadoc</goal>
</goals>
<configuration>
<author>false</author>
<description>
Jakarta Activation API documentation
</description>
<doctitle>
Jakarta Activation API documentation
</doctitle>
<windowtitle>
Jakarta Activation API documentation
</windowtitle>
<splitindex>true</splitindex>
<use>true</use>
<notimestamp>true</notimestamp>
<serialwarn>true</serialwarn>
<quiet>true</quiet>
<bottom>
<![CDATA[Copyright &#169; 2019 Eclipse Foundation.
Use is subject to
<a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.
]]>
</bottom>
<groups>
<group>
<title>Jakarta Activation API Packages</title>
<packages>javax.*</packages>
</group>
</groups>
<!--
<subpackages>jakarta.activation</subpackages>
-->
<!--
Force javadoc to produce non-module docs
since the module definition isn't part of
the API specification.
-->
<release>8</release>
<sourceFileExcludes>
<sourceFileExclude>module-info.java</sourceFileExclude>
<sourceFileExclude>com/**</sourceFileExclude>
</sourceFileExcludes>
<!-- force the doc-files directory to be copied -->
<docfilessubdirs>true</docfilessubdirs>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!--
Force javadoc to produce non-module docs
since the module definition isn't part of
the API specification.
-->
<release>8</release>
<sourceFileExcludes>
<sourceFileExclude>module-info.java</sourceFileExclude>
<sourceFileExclude>com/**</sourceFileExclude>
</sourceFileExcludes>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
Expand Down
56 changes: 51 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
true
</findbugs.skip>
<findbugs.exclude/>
<copyright-plugin.version>2.2</copyright-plugin.version>
<copyright-plugin.version>2.3</copyright-plugin.version>
</properties>

<developers>
Expand Down Expand Up @@ -426,14 +426,60 @@
</excludes>
</configuration>
</plugin>
</plugins>

<pluginManagement>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<author>false</author>
<description>
Jakarta Activation API documentation
</description>
<doctitle>
Jakarta Activation API documentation
</doctitle>
<windowtitle>
Jakarta Activation API documentation
</windowtitle>
<splitindex>true</splitindex>
<use>true</use>
<notimestamp>true</notimestamp>
<serialwarn>true</serialwarn>
<quiet>true</quiet>
<bottom>
<![CDATA[Copyright &#169; 2019, 2020 Eclipse Foundation.
Use is subject to
<a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.
]]>
</bottom>
<groups>
<group>
<title>Jakarta Activation API Packages</title>
<packages>jakarta.*</packages>
</group>
</groups>
<!--
<subpackages>jakarta.activation</subpackages>
-->
<!--
Force javadoc to produce non-module docs
since the module definition isn't part of
the API specification.
-->
<!-- force the doc-files directory to be copied -->
<docfilessubdirs>true</docfilessubdirs>
<javadocDirectory>${main.basedir}/activation/src/main/javadoc</javadocDirectory>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
</plugin>
</plugins>

<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<version>3.8.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -443,7 +489,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down

0 comments on commit e4c307a

Please sign in to comment.