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

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-weaver.git


The following commit(s) were added to refs/heads/master by this push:
     new 09e966d  Try to fix the GH CI Javadoc on Windows (macOS OK locally) 
(#84)
09e966d is described below

commit 09e966d858039d29712ffb3f41d3705fb8872a6a
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Sep 8 06:18:37 2026 -0400

    Try to fix the GH CI Javadoc on Windows (macOS OK locally) (#84)
    
    * Try to fix the GH CI
    
    * Trivial change to try to reset file encoding in main files for Javadoc.
    
    * Removed the redundant javadoc goal.
    
    * Added UTF-8 JVM encoding to Maven config.
---
 .mvn/jvm.config                                                       | 1 +
 .../src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java | 2 ++
 .../java/org/apache/commons/weaver/maven/AbstractPrepareMojo.java     | 1 +
 .../main/java/org/apache/commons/weaver/maven/AbstractWeaveMojo.java  | 1 +
 .../commons/weaver/maven/JavaLoggingToMojoLoggingRedirector.java      | 1 +
 .../src/main/java/org/apache/commons/weaver/maven/PrepareMojo.java    | 1 +
 .../main/java/org/apache/commons/weaver/maven/TestPrepareMojo.java    | 1 +
 .../src/main/java/org/apache/commons/weaver/maven/TestWeaveMojo.java  | 1 +
 .../src/main/java/org/apache/commons/weaver/maven/WeaveMojo.java      | 1 +
 .../src/main/java/org/apache/commons/weaver/maven/package-info.java   | 2 +-
 parent/pom.xml                                                        | 4 +++-
 11 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/.mvn/jvm.config b/.mvn/jvm.config
new file mode 100644
index 0000000..7fecadb
--- /dev/null
+++ b/.mvn/jvm.config
@@ -0,0 +1 @@
+-Dfile.encoding=UTF-8
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
index 23eeb85..ba0831a 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.io.File;
@@ -48,6 +49,7 @@ import org.eclipse.aether.util.filter.ScopeDependencyFilter;
 
 /**
  * Defines common properties and high-level management common to all 
commons-weaver Maven goals.
+ *
  * @since 1.3
  */
 abstract class AbstractCWMojo extends AbstractMojo {
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractPrepareMojo.java
 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractPrepareMojo.java
index 16d1b16..f43614a 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractPrepareMojo.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractPrepareMojo.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.io.File;
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractWeaveMojo.java
 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractWeaveMojo.java
index 3676c95..676369b 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractWeaveMojo.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractWeaveMojo.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.io.File;
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/JavaLoggingToMojoLoggingRedirector.java
 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/JavaLoggingToMojoLoggingRedirector.java
index dc2bd80..a9e6a88 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/JavaLoggingToMojoLoggingRedirector.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/JavaLoggingToMojoLoggingRedirector.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.text.MessageFormat;
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/PrepareMojo.java 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/PrepareMojo.java
index c5de6ea..807f419 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/PrepareMojo.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/PrepareMojo.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.io.File;
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestPrepareMojo.java
 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestPrepareMojo.java
index a44c044..8bde93f 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestPrepareMojo.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestPrepareMojo.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.io.File;
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestWeaveMojo.java 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestWeaveMojo.java
index e8c4b87..3b21413 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestWeaveMojo.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/TestWeaveMojo.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.io.File;
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/WeaveMojo.java 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/WeaveMojo.java
index ae56c0c..7f87400 100644
--- a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/WeaveMojo.java
+++ b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/WeaveMojo.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.commons.weaver.maven;
 
 import java.io.File;
diff --git 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/package-info.java 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/package-info.java
index 6182560..76124cf 100644
--- 
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/package-info.java
+++ 
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/package-info.java
@@ -18,4 +18,4 @@
 /**
  * Integration with Apache Maven.
  */
-package org.apache.commons.weaver.maven;
\ No newline at end of file
+package org.apache.commons.weaver.maven;
diff --git a/parent/pom.xml b/parent/pom.xml
index 5f09403..3ca3c38 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -241,7 +241,6 @@ under the License.
           <execution>
             <id>create-javadoc-jar</id>
             <goals>
-              <goal>javadoc</goal>
               <goal>jar</goal>
             </goals>
             <phase>package</phase>
@@ -249,6 +248,9 @@ under the License.
         </executions>
         <configuration>
           <source>${maven.compiler.source}</source>
+          <encoding>UTF-8</encoding>
+          <charset>UTF-8</charset>
+          <docencoding>UTF-8</docencoding>
         </configuration>
       </plugin>
       <plugin>

Reply via email to