Skip to content

Commit 27d259c

Browse files
Tomas-Krauslukasj
authored andcommitted
Added dummy javadoc for tests to satisfy nexus rules. (#86)
Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
1 parent e66b39b commit 27d259c

File tree

2 files changed

+43
-18
lines changed

2 files changed

+43
-18
lines changed

jaxb-api-test/pom.xml

+26-18
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,6 @@
5353
<release>11</release>
5454
</configuration>
5555
</plugin>
56-
<plugin>
57-
<artifactId>maven-deploy-plugin</artifactId>
58-
<configuration>
59-
<skip>true</skip>
60-
</configuration>
61-
</plugin>
62-
<plugin>
63-
<artifactId>maven-source-plugin</artifactId>
64-
<configuration>
65-
<skip>true</skip>
66-
</configuration>
67-
</plugin>
68-
<plugin>
69-
<artifactId>maven-javadoc-plugin</artifactId>
70-
<configuration>
71-
<skip>true</skip>
72-
</configuration>
73-
</plugin>
7456
<plugin>
7557
<artifactId>maven-dependency-plugin</artifactId>
7658
<executions>
@@ -141,6 +123,32 @@
141123
</systemPropertyVariables>
142124
</configuration>
143125
</plugin>
126+
<plugin>
127+
<artifactId>maven-javadoc-plugin</artifactId>
128+
<configuration>
129+
<doclint>none</doclint>
130+
<nodeprecated>false</nodeprecated>
131+
<use>false</use>
132+
<author>true</author>
133+
<version>true</version>
134+
<doctitle><![CDATA[<br>
135+
JAXB ${project.version} API Library Tests</h2>
136+
${project.name} specification, ${release.spec.date}<br>
137+
Comments to: <i><a href='mailto:${release.spec.feedback}'>${release.spec.feedback}</a></i><br>
138+
More information at: <i><a target='_top'
139+
href='https://projects.eclipse.org/projects/ee4j.jaxb'>https://projects.eclipse.org/projects/ee4j.jaxb</a></i><br>
140+
&nbsp;<br>&nbsp;<br><hr width='65%'><h1>${project.name}</h1><hr width='75%'>
141+
<br>&nbsp;<br>]]>
142+
</doctitle>
143+
<header><![CDATA[JAXB<br>v${project.version}]]>
144+
</header>
145+
<bottom>
146+
<![CDATA[<br>Copyright &#169; {inceptionYear}&#x2013;{currentYear} Oracle and/or its affiliates.
147+
All rights reserved.<br>Comments to : <a href="mailto:${release.spec.feedback}">${release.spec.feedback}</a>.]]>
148+
</bottom>
149+
<detectJavaApiLink>false</detectJavaApiLink>
150+
</configuration>
151+
</plugin>
144152
</plugins>
145153
</build>
146154

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Eclipse Distribution License v. 1.0, which is available at
6+
* http://www.eclipse.org/org/documents/edl-v10.php.
7+
*
8+
* SPDX-License-Identifier: BSD-3-Clause
9+
*/
10+
package java.xml.bind.tests;
11+
12+
/**
13+
* Sample test class
14+
*/
15+
public class SampleTest {
16+
17+
}

0 commit comments

Comments
 (0)