Bug#873886: osmosis: Depend on libplexus-classworlds2-java instead of libplexus-classworlds-java
Emmanuel Bourg
ebourg at apache.org
Thu Aug 31 23:33:44 UTC 2017
Package: osmosis
Version: 0.45-4
Severity: normal
Hi,
The osmosis package uses the old libplexus-classworlds-java package which
is going to be removed in a near future. Could you please migrate to
libplexus-classworlds2-java? I'm attaching a patch, it builds fine but
I haven't checked if it's still ok at runtime.
Thank you,
Emmanuel Bourg
-------------- next part --------------
diff --git a/debian/control b/debian/control
index 9126bcf..e2514cf 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Build-Depends: debhelper (>= 9),
libspring-transaction-java,
libstax2-api-java,
libosmpbf-java,
- libplexus-classworlds-java,
+ libplexus-classworlds2-java,
libprotobuf-java,
libwoodstox-java,
libxerces2-java,
@@ -56,7 +56,7 @@ Depends: default-jre-headless | java7-runtime-headless,
libspring-jdbc-java,
libspring-transaction-java,
libosmpbf-java,
- libplexus-classworlds-java,
+ libplexus-classworlds2-java,
libprotobuf-java,
libxerces2-java,
libxz-java,
diff --git a/debian/maven.rules b/debian/maven.rules
index c6a6042..6fdb0bd 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1,5 +1,6 @@
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 596ede8..48258cf 100644
--- a/debian/patches/01-fix_launcher.patch
+++ b/debian/patches/01-fix_launcher.patch
@@ -32,7 +32,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-classworlds.jar
++MYAPP_CLASSPATH=$LIBRARIES_HOME/plexus-classworlds2.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"
More information about the Pkg-grass-devel
mailing list