Emmanuel Bourg pushed to branch master at Debian Java Maintainers / 
maven-debian-helper


Commits:
6617d5f9 by Emmanuel Bourg at 2026-10-29T14:49:29+01:00
Fixed the build failure with maven-plugin-tools 3.16

- - - - -


4 changed files:

- build.xml
- debian/changelog
- debian/maven-debian-helper.poms
- maven-packager-utils/pom.xml


Changes:

=====================================
build.xml
=====================================
@@ -27,13 +27,19 @@
         </sequential>
     </macrodef>
 
+    <!-- Get the version of maven-plugin-plugin -->
+    <pathconvert property="maven-plugin-plugin.version">
+        <dirset 
dir="/usr/share/maven-repo/org/apache/maven/plugins/maven-plugin-plugin" 
includes="*" excludes="debian"/>
+        <mapper type="flatten"/>
+    </pathconvert>
+
     <macrodef name="package-plugin-module">
         <attribute name="dir"/>
         <sequential>
           <ant target="package-and-local-install" antfile="${maven.build}" 
dir="@{dir}">
             <property name="debian.dir" location="debian" />
             <property name="project.dir" value="@{dir}" />
-            <property name="maven.process-classes.target" 
value="plugin:descriptor" />
+            <property name="maven.process-classes.target" 
value="org.apache.maven.plugins:maven-plugin-plugin:${maven-plugin-plugin.version}:descriptor"
 />
             <property name="keep-cleaned-pom" value="true" />
             <property name="use-local-repo" value="true" />
           </ant>


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+maven-debian-helper (2.8.4) unstable; urgency=medium
+
+  * Fixed the build failure with maven-plugin-tools 3.16
+
+ -- Emmanuel Bourg <[email protected]>  Thu, 29 Oct 2026 13:54:04 +0100
+
 maven-debian-helper (2.8.3) unstable; urgency=medium
 
   * Restored the dependency on libmaven-plugin-tools-java


=====================================
debian/maven-debian-helper.poms
=====================================
@@ -1,4 +1,4 @@
 pom.xml --no-parent --has-package-version
 maven-debian-helper/pom.xml --has-package-version 
--artifact=maven-debian-helper/target/maven-debian-helper-*.jar --java-lib
 debian-maven-plugin/pom.xml --has-package-version 
--artifact=debian-maven-plugin/target/debian-maven-plugin-*.jar --java-lib
-maven-packager-utils/pom.xml --has-package-version 
--artifact=maven-packager-utils/target/maven-packager-utils-*.jar --java-lib
+maven-packager-utils/pom.xml --has-package-version 
--artifact=maven-packager-utils/target/maven-packager-utils-*.jar --java-lib 
--keep-elements=build


=====================================
maven-packager-utils/pom.xml
=====================================
@@ -39,4 +39,16 @@
             <artifactId>junit</artifactId>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-plugin-plugin</artifactId>
+                <configuration>
+                    <goalPrefix>packager-utils</goalPrefix>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>



View it on GitLab: 
https://salsa.debian.org/java-team/maven-debian-helper/-/commit/6617d5f93dcd3f78ef04617eed8d0fbe92eca177

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/maven-debian-helper/-/commit/6617d5f93dcd3f78ef04617eed8d0fbe92eca177
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to