Bug#923564: FTBFS: Could not resolve org.codehaus.plexus:plexus-classworlds:2.5.2
Le 02/03/2019 à 09:24, Sebastiaan Couwenberg a écrit : > And that point was preferably in January when plexus was updated, not 10 > days before the full freeze. The timing of this RC bug is very unfortunate. Relax, the freeze is meant to stabilize things and that's what we're doing here. If osmosis doesn't transition before the full freeze the Release Team will accept an unblock request to fix a FTBFS. Emmanuel Bourg
Bug#923564: FTBFS: Could not resolve org.codehaus.plexus:plexus-classworlds:2.5.2
On 3/2/19 9:21 AM, Emmanuel Bourg wrote: > Le 02/03/2019 à 08:07, Sebastiaan Couwenberg a écrit : > >> In the future I would prefer if reverse dependencies of updated java >> packages where tested when they are updated, like people do for transitions. > > Thank you for applying the patch. > > libplexus-classworlds2-java is to be removed, FTBFS or not osmosis had > to be updated at some point anyway. And that point was preferably in January when plexus was updated, not 10 days before the full freeze. The timing of this RC bug is very unfortunate. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#923564: FTBFS: Could not resolve org.codehaus.plexus:plexus-classworlds:2.5.2
Le 02/03/2019 à 08:07, Sebastiaan Couwenberg a écrit : > In the future I would prefer if reverse dependencies of updated java > packages where tested when they are updated, like people do for transitions. Thank you for applying the patch. libplexus-classworlds2-java is to be removed, FTBFS or not osmosis had to be updated at some point anyway. Emmanuel Bourg
Bug#923564: FTBFS: Could not resolve org.codehaus.plexus:plexus-classworlds:2.5.2
Control: tags -1 pending Hi Emmanuel, Thanks for the patch. In the future I would prefer if reverse dependencies of updated java packages where tested when they are updated, like people do for transitions. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#923564: FTBFS: Could not resolve org.codehaus.plexus:plexus-classworlds:2.5.2
Package: osmosis Version: 0.47-3 Severity: serious Hi, osmosis currently fails to build in unstable, that was probably caused by the upgrade of plexus-classworlds in January. Here is a patch fixing the issue. Emmanuel Bourg diff --git a/debian/control b/debian/control index 4ff5eb5..90019ea 100644 --- a/debian/control +++ b/debian/control @@ -27,7 +27,7 @@ Build-Depends: debhelper (>= 9), libspring-transaction-java, libstax2-api-java, libosmpbf-java, - libplexus-classworlds2-java, + libplexus-classworlds-java, libprotobuf-java (>= 3.6.1), libwoodstox-java, libxerces2-java, @@ -57,7 +57,7 @@ Depends: default-jre-headless | java8-runtime-headless, libspring-jdbc-java, libspring-transaction-java, libosmpbf-java, - libplexus-classworlds2-java, + libplexus-classworlds-java, libprotobuf-java, libxerces2-java, libxz-java, diff --git a/debian/maven.rules b/debian/maven.rules index 3898b15..8fd7b9f 100644 --- a/debian/maven.rules +++ b/debian/maven.rules @@ -1,6 +1,5 @@ junit junit * s/.*/4.x/ * * -org.codehaus.plexus plexus-classworlds * s/.*/2.x/ * * org.springframework spring-jdbc * s/.*/debian/ * * #s/org.jboss.netty/io.netty/ netty * s/.*/debian/ * * s/org.postgis/net.postgis/ postgis-jdbc * s/.*/debian/ * * diff --git a/debian/patches/01-fix_launcher.patch b/debian/patches/01-fix_launcher.patch index cda6abe..fc58210 100644 --- a/debian/patches/01-fix_launcher.patch +++ b/debian/patches/01-fix_launcher.patch @@ -28,7 +28,7 @@ Forwarded: not-needed # Build up the classpath of required jar files via classworlds launcher. -MYAPP_CLASSPATH=$MYAPP_HOME/lib/default/plexus-classworlds-*.jar -+MYAPP_CLASSPATH=$LIBRARIES_HOME/plexus-classworlds2.jar ++MYAPP_CLASSPATH=$LIBRARIES_HOME/plexus-classworlds.jar MAINCLASS=org.codehaus.classworlds.Launcher -EXEC="$JAVACMD $JAVACMD_OPTIONS -cp $MYAPP_CLASSPATH -Dapp.home=$MYAPP_HOME -Dclassworlds.conf=$MYAPP_HOME/config/plexus.conf $MAINCLASS $OSMOSIS_OPTIONS"