Skip to content

Commit e7f0b69

Browse files
committed
add javadoc and source for test-jar
1 parent dbb973d commit e7f0b69

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ test-output
1717

1818
# Ignore a release.conf for perform_release/* script usage
1919
release.conf
20+
.vscode
21+
*.DS_Store

tck/pom.xml

+40
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,46 @@
102102
</execution>
103103
</executions>
104104
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-source-plugin</artifactId>
108+
<executions>
109+
<execution>
110+
<id>attach-sources</id>
111+
<goals>
112+
<goal>test-jar</goal>
113+
</goals>
114+
</execution>
115+
</executions>
116+
</plugin>
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-javadoc-plugin</artifactId>
120+
<version>${version.plugin.javadoc}</version>
121+
<configuration>
122+
<attach>true</attach>
123+
<doclint>none</doclint>
124+
<doctitle>${project.name}</doctitle>
125+
<windowtitle>${project.name}</windowtitle>
126+
<header><![CDATA[<br>${project.name} v${project.version}]]></header>
127+
<bottom>
128+
<![CDATA[
129+
Copyright &#169; ${inceptionYear} &#x2013; {currentYear} {organizationName}. All rights reserved.
130+
<br>
131+
Use is subject to <a href="{@docRoot}/licenses/${spec.license}.html" target="_top">license terms</a>.
132+
]]>
133+
</bottom>
134+
</configuration>
135+
<executions>
136+
<execution>
137+
<id>attach-javadocs</id>
138+
<goals>
139+
<goal>test-jar</goal>
140+
</goals>
141+
</execution>
142+
</executions>
143+
</plugin>
105144
</plugins>
106145
</build>
146+
107147
</project>

0 commit comments

Comments
 (0)