You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/10/13 13:25:32 UTC

(maven-jar-plugin) branch feat/remove-maven-archiver-dep created (now 0c8cceb)

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

gnodet pushed a change to branch feat/remove-maven-archiver-dep
in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git


      at 0c8cceb  Add javadoc note about public visibility requirement pending apache/maven#13470

This branch includes the following new commits:

     new 0c8cceb  Add javadoc note about public visibility requirement pending apache/maven#13470

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-jar-plugin) 01/01: Add javadoc note about public visibility requirement pending apache/maven#13470

Posted by gn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch feat/remove-maven-archiver-dep
in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git

commit 0c8ccebee31b4a9f16248e37cd92c5bc84cc8969
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Tue Oct 13 13:25:21 2026 +0000

    Add javadoc note about public visibility requirement pending apache/maven#13470
---
 .../java/org/apache/maven/plugins/jar/ArchiveConfiguration.java   | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/main/java/org/apache/maven/plugins/jar/ArchiveConfiguration.java b/src/main/java/org/apache/maven/plugins/jar/ArchiveConfiguration.java
index 9a31b3a..b4016ae 100644
--- a/src/main/java/org/apache/maven/plugins/jar/ArchiveConfiguration.java
+++ b/src/main/java/org/apache/maven/plugins/jar/ArchiveConfiguration.java
@@ -30,6 +30,10 @@ import java.util.Map;
  * <p>This class replaces {@code org.apache.maven.shared.archiver.MavenArchiveConfiguration},
  * removing the dependency on {@code maven-archiver} and {@code plexus-archiver}.</p>
  *
+ * <p><strong>Note:</strong> This class and its inner classes must remain {@code public} until
+ * <a href="https://github.com/apache/maven/pull/13470">apache/maven#13470</a> is released,
+ * as Maven's XML/DI binding requires public visibility to inject nested configuration objects.</p>
+ *
  * @since 4.0.0-beta-3
  */
 public class ArchiveConfiguration {
@@ -62,6 +66,8 @@ public class ArchiveConfiguration {
 
     /**
      * Manifest configuration, provided through the {@code <archive><manifest>} plugin parameter.
+     *
+     * <p><strong>Note:</strong> Must remain {@code public}; see {@link ArchiveConfiguration} for details.</p>
      */
     public static class ManifestConfig {
 
@@ -88,6 +94,8 @@ public class ArchiveConfiguration {
 
     /**
      * An additional manifest section, provided through the {@code <archive><manifestSections>} plugin parameter.
+     *
+     * <p><strong>Note:</strong> Must remain {@code public}; see {@link ArchiveConfiguration} for details.</p>
      */
     public static class ManifestSection {