Skip to content

Commit f67fe0f

Browse files
authored
Add the javadoc plugin for virtual thread executor plugin (#752)
1 parent 35856b4 commit f67fe0f

File tree

1 file changed

+33
-0
lines changed
  • test/plugin/scenarios/jdk-virtual-thread-executor-scenario

1 file changed

+33
-0
lines changed

test/plugin/scenarios/jdk-virtual-thread-executor-scenario/pom.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,39 @@
9898
<target>21</target>
9999
</configuration>
100100
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-javadoc-plugin</artifactId>
104+
<executions>
105+
<execution>
106+
<id>attach-javadocs</id>
107+
<goals>
108+
<goal>jar</goal>
109+
</goals>
110+
</execution>
111+
</executions>
112+
<configuration>
113+
<failOnError>false</failOnError>
114+
</configuration>
115+
</plugin>
116+
<!-- Ignore the error of javadoc build -->
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-jar-plugin</artifactId>
120+
<executions>
121+
<execution>
122+
<id>empty-javadoc-jar</id>
123+
<phase>package</phase>
124+
<goals>
125+
<goal>jar</goal>
126+
</goals>
127+
<configuration>
128+
<classifier>javadoc</classifier>
129+
<classesDirectory>${basedir}/javadoc</classesDirectory>
130+
</configuration>
131+
</execution>
132+
</executions>
133+
</plugin>
101134
</plugins>
102135
</build>
103136
</project>

0 commit comments

Comments
 (0)