Bug#721474: Please provide Maven artifacts with debian or 2.x version
I don't think with can deploy two versions of a plugin in the same package. libmodello-maven-plugin1.4-java does that [1] and it breaks with Maven 2 (I haven't checked with Maven 3). Maven complains about the version in the plugin descriptor not matching the version expected. Here is the error I observed when updating maven-scm (it depends on libmodello-maven-plugin-java and breaks if libmodello-maven-plugin1.4-java is installed): [INFO] Internal error in the plugin manager getting plugin 'org.codehaus.modello:modello-maven-plugin': Plugin 'org.codehaus.modello:modello-maven-plugin:1.4.x' has an invalid descriptor: 1) Plugin's descriptor contains the wrong version: 1.4.1 To work around this issue we would have to either install 2 jars in /usr/share/maven-repo with different plugin descriptors instead of a jar plus a symlink (this is not supported by the build helpers), or tweak Maven to disable the version check (but is it safe?). Emmanuel Bourg [1] http://packages.debian.org/sid/all/libmodello-maven-plugin1.4-java/filelist -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#721474: Please provide Maven artifacts with debian or 2.x version
Hi Emmanuel, 2013/9/1 Emmanuel Bourg ebo...@apache.org Le 01/09/2013 03:26, Miguel Landaeta a écrit : A POM file with 'debian' or '2.x' version should be provided with this package. The Maven plugins don't have a generic 'debian' or 1.x version, but I'm not sure to understand why. Ludovic, Damien, do you remember the reason behind this choice ? IIRC, it was an issue with Maven 2.x handling of plugin default version : Maven use a super-pom (embeded inside maven-core.jar AFAIK) which enforce versions of some plugins when user doesn't define a specific version. Maybe we should recheck this behavior with new Maven 3.x dependency handling... Cheers, -- Damien - Debian Developper http://wiki.debian.org/DamienRaudeMorvan
Bug#721474: Please provide Maven artifacts with debian or 2.x version
Le 01/09/2013 03:26, Miguel Landaeta a écrit : A POM file with 'debian' or '2.x' version should be provided with this package. The Maven plugins don't have a generic 'debian' or 1.x version, but I'm not sure to understand why. Ludovic, Damien, do you remember the reason behind this choice ? Emmanuel Bourg -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org