You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/03 23:01:39 UTC

(maven-wagon) branch master updated: Stop wagon-http from publishing a dependency-reduced POM

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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git


The following commit(s) were added to refs/heads/master by this push:
     new 339ea980 Stop wagon-http from publishing a dependency-reduced POM
339ea980 is described below

commit 339ea980ee38b0f29d50573e3ea0c70692aac39d
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Sep 4 00:03:51 2026 +0200

    Stop wagon-http from publishing a dependency-reduced POM
    
    The shaded jar is attached under a classifier, so the main jar keeps
    needing wagon-http-shared and httpclient; reducing the POM stripped them
    and left HttpWagon unloadable. Do not restore dependencyReducedPomLocation
    to fix WAGON-636 / #750 -- disabling the reduced POM outright means none
    is written to the basedir either.
---
 wagon-providers/wagon-http/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wagon-providers/wagon-http/pom.xml b/wagon-providers/wagon-http/pom.xml
index e3edf432..aa0eaabb 100644
--- a/wagon-providers/wagon-http/pom.xml
+++ b/wagon-providers/wagon-http/pom.xml
@@ -169,7 +169,7 @@ under the License.
                   <shadedPattern>org.apache.maven.wagon.providers.http.wagon.shared</shadedPattern>
                 </relocation>
               </relocations>
-              <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
+              <createDependencyReducedPom>false</createDependencyReducedPom>
             </configuration>
           </execution>
         </executions>