This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new dabdb1a4b8 site-deploy is not finding our JavaDoc, so fix that with 
some maven-resources-plugin config
dabdb1a4b8 is described below

commit dabdb1a4b8f1b28de120a199a10b7f233f66673a
Author: Robert Lazarski <robertlazar...@gmail.com>
AuthorDate: Wed Nov 13 13:12:46 2024 -1000

    site-deploy is not finding our JavaDoc, so fix that with some 
maven-resources-plugin config
---
 pom.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/pom.xml b/pom.xml
index 07c376c278..eb7d13017a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>

Reply via email to