Skip to content

Commit 1ded480

Browse files
site-deploy is not finding our JavaDoc, so fix that with some maven-resources-plugin config
1 parent 5ff658f commit 1ded480

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,30 @@
399399
<skipDeploy>true</skipDeploy>
400400
</configuration>
401401
</plugin>
402+
<plugin>
403+
<!-- site-deploy is not finding our JavaDoc, so fix that with some maven-resources-plugin config -->
404+
<artifactId>maven-resources-plugin</artifactId>
405+
<executions>
406+
<execution>
407+
<id>copy-resources</id>
408+
<phase>package</phase>
409+
<goals>
410+
<goal>copy-resources</goal>
411+
</goals>
412+
<configuration>
413+
<outputDirectory>${project.parent.basedir}/target/staging/apidocs</outputDirectory>
414+
<resources>
415+
<resource>
416+
<directory>${project.parent.basedir}/apidocs/target/reports/apidocs</directory>
417+
<includes>
418+
<include>**/*.*</include>
419+
</includes>
420+
</resource>
421+
</resources>
422+
</configuration>
423+
</execution>
424+
</executions>
425+
</plugin>
402426
<plugin>
403427
<groupId>org.apache.maven.plugins</groupId>
404428
<artifactId>maven-scm-publish-plugin</artifactId>

0 commit comments

Comments
 (0)