Skip to content

Commit

Permalink
site-deploy is not finding our JavaDoc, so fix that with some maven-r…
Browse files Browse the repository at this point in the history
…esources-plugin config
  • Loading branch information
robertlazarski committed Nov 13, 2024
1 parent f18df76 commit dabdb1a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1555,6 +1555,30 @@
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
<plugin>
<!-- site-deploy is not finding our JavaDoc, so fix that with some maven-resources-plugin config -->
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.parent.basedir}/target/staging/apidocs</outputDirectory>
<resources>
<resource>
<directory>${project.parent.basedir}/apidocs/target/reports/apidocs</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
Expand Down

0 comments on commit dabdb1a

Please sign in to comment.