[Git][debian-gis-team/osmosis][experimental] 4 commits: Drop obsolete (build) dependencies.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Nov 10 13:58:17 GMT 2023



Bas Couwenberg pushed to branch experimental at Debian GIS Project / osmosis


Commits:
a34fb833 by Bas Couwenberg at 2023-11-09T18:42:21+01:00
Drop obsolete (build) dependencies.

- - - - -
fc0eb458 by Bas Couwenberg at 2023-11-10T14:42:36+01:00
Update lintian overrides.

- - - - -
7cf75abe by Bas Couwenberg at 2023-11-10T14:53:48+01:00
Switch build system from gradle to maven.

- - - - -
049fa5c9 by Bas Couwenberg at 2023-11-10T14:54:08+01:00
Set distribution to experimental.

- - - - -


14 changed files:

- debian/changelog
- − debian/clean
- debian/control
- debian/install
- − debian/ivysettings.xml
- − debian/lintian-overrides
- + debian/maven.properties
- debian/maven.rules
- + debian/osmosis.poms
- + debian/osmosis.sh
- + debian/patches/maven.patch
- debian/patches/series
- + debian/plexus.conf
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,7 @@
-osmosis (0.49.1-1) UNRELEASED; urgency=medium
+osmosis (0.49.1-1~exp1) experimental; urgency=medium
 
   * New upstream release.
   * Add Rules-Requires-Root to control file.
-  * Update lintian overrides.
   * Bump Standards-Version to 4.6.2, no changes.
   * Bump debhelper compat to 13.
   * Remove generated files in clean target.
@@ -10,8 +9,10 @@ osmosis (0.49.1-1) UNRELEASED; urgency=medium
   * Switch to dh-sequence-*.
   * Update install paths.
   * Refresh patches.
+  * Drop obsolete (build) dependencies.
+  * Switch build system from gradle to maven.
 
- -- Bas Couwenberg <sebastic at debian.org>  Fri, 03 Nov 2023 14:07:28 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 10 Nov 2023 14:53:52 +0100
 
 osmosis (0.48.3-2) unstable; urgency=medium
 


=====================================
debian/clean deleted
=====================================
@@ -1,5 +0,0 @@
-osmosis-core/src/main/java/org/openstreetmap/osmosis/core/OsmosisConstants.java
-osmosis-core/src/main/resources/org/openstreetmap/osmosis/core/plugin/plugin.xml
-
-osmosis/src/dist/lib/
-osmosis/src/dist/build/


=====================================
debian/control
=====================================
@@ -7,32 +7,26 @@ Priority: optional
 Build-Depends: debhelper-compat (= 13),
                default-jdk,
                default-jdk-doc,
+               dh-exec,
                dh-sequence-maven-repo-helper,
-               ant-optional,
-               gradle-debian-helper,
-               ivy,
                junit4 (>= 4.10),
-               libbatik-java,
                libcommons-codec-java,
                libcommons-compress-java (>= 1.4.1),
                libcommons-csv-java,
                libcommons-dbcp-java,
                libcommons-io-java,
-               libjdepend-java,
-               libjpf-java,
+               libguava-java,
                libmariadb-java,
+               libmaven-clean-plugin-java,
+               libmaven-compiler-plugin-java,
+               libmaven-exec-plugin-java,
+               libosmpbf-java,
                libpostgis-java (>= 1:2021.1.0),
                libpostgresql-jdbc-java,
-               libspring-beans-java,
-               libspring-context-java,
-               libspring-jdbc-java,
-               libspring-transaction-java,
-               libstax2-api-java,
-               libosmpbf-java,
-               libplexus-classworlds-java,
                libprotobuf-java (>= 3.12.2),
-               libwoodstox-java,
-               libxz-java,
+               libspring-jdbc-java,
+               libsurefire-java,
+               maven-debian-helper,
                maven-repo-helper
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/osmosis
@@ -42,27 +36,9 @@ Rules-Requires-Root: no
 
 Package: osmosis
 Architecture: all
-Depends: default-jre-headless | java8-runtime-headless,
-         libbatik-java,
-         libcommons-codec-java,
-         libcommons-compress-java (>= 1.4.1),
-         libcommons-csv-java,
-         libcommons-dbcp-java,
-         libcommons-io-java,
-         libcommons-pool-java,
-         libjpf-java,
-         libmariadb-java,
-         libpostgis-java,
-         libpostgresql-jdbc-java,
-         libspring-beans-java,
-         libspring-context-java,
-         libspring-core-java,
-         libspring-jdbc-java,
-         libspring-transaction-java,
-         libosmpbf-java,
+Depends: default-jre-headless | java17-runtime-headless,
          libplexus-classworlds-java,
-         libprotobuf-java,
-         libxz-java,
+         ${maven:Depends},
          ${misc:Depends}
 Description: Command line OpenStreetMap data processor
  Osmosis consists of a series of components that can be chained together


=====================================
debian/install
=====================================
@@ -1,4 +1,5 @@
-osmosis/src/dist/lib/default/osmosis-*.jar usr/share/osmosis
-osmosis/src/dist/bin/osmosis               usr/bin
-osmosis/src/dist/config/plexus.conf        etc/osmosis
-debian/log4j.properties                    etc/osmosis
+#!/usr/bin/dh-exec
+osmosis-*/target/*.jar  usr/share/osmosis
+debian/osmosis.sh =>    usr/bin/osmosis
+debian/plexus.conf      etc/osmosis
+debian/log4j.properties etc/osmosis


=====================================
debian/ivysettings.xml deleted
=====================================
@@ -1,46 +0,0 @@
-<ivysettings>
-
-	<settings defaultResolver="debian-m2"/>
-
-	<resolvers>
-
-		<!-- This resolver is for artifacts that have a POM in Maven repository;
-                     everything should come from here, unless the exceptions below. -->
-		<ibiblio
-			name="debian-m2"
-			m2compatible="true"
-			root="file:///usr/share/maven-repo"/>
-
-		<!-- Some artifacts used within osmosis are dependencies for others; this
-                     resolver make them available. -->
-		<filesystem name="local">
-			<artifact pattern="${debian.dir}/../build/[artifact].[ext]" />
-		</filesystem>
-
-		<!-- This resolver is for artifacts without POMs; they're selected using
-                     only their filename. -->
-		<filesystem name="share-java">
-			<artifact pattern="/usr/share/java/[artifact](-[revision]).[ext]" />
-		</filesystem>
-
-	</resolvers>
-
-	<!-- Do not use the user cache, but use a directory in debian/ -->
-	<caches defaultCacheDir="${debian.dir}/ivy-cache">
-	</caches>
-
-	<!-- Here we map artifacts to resolvers (everything not declared here uses
-             the default resolver, defined above). -->
-	<modules>
-
-		<!-- Artifacts from osmosis itself. -->
-		<module organisation="org.openstreetmap.osmosis" resolver="local"/>
-
-		<!-- Artifacts without POMs. -->
-		<module organisation="postgresql" name="postgresql" resolver="share-java"/>
-		<module organisation="crosby" name="osmpbf" resolver="share-java"/>
-		<module organisation="org.postgis" name="postgis" resolver="share-java"/>
-	</modules>
-
-</ivysettings>
-


=====================================
debian/lintian-overrides deleted
=====================================
@@ -1,3 +0,0 @@
-# Truncated changelog
-debian-news-entry-has-unknown-version *
-


=====================================
debian/maven.properties
=====================================
@@ -0,0 +1 @@
+maven.test.skip=true


=====================================
debian/maven.rules
=====================================
@@ -1,7 +1,23 @@
+commons-codec commons-codec * s/.*/debian/ * *
+commons-dbcp commons-dbcp * s/.*/debian/ * *
+commons-io commons-io * s/.*/debian/ * *
+
+com.google.guava guava * s/.*/debian/ * *
+com.google.protobuf protobuf-java * s/.*/debian/ * *
 
 junit junit * s/.*/4.x/ * *
-org.springframework spring-jdbc * s/.*/debian/ * *
-#s/org.jboss.netty/io.netty/ netty * s/.*/debian/ * *
-net.postgis postgis-jdbc * s/.*/debian/ * *
-s/com.fasterxml.woodstox/org.codehaus.woodstox/ s/woodstox-core/woodstox-core-lgpl/ * s/.*/debian/ * *
+
 s/mysql/org.mariadb.jdbc/ s/mysql-connector-java/mariadb-java-client/ * s/.*/debian/ * *
+
+net.postgis postgis-jdbc * s/.*/debian/ * *
+
+org.apache.commons commons-compress * s/.*/debian/ * *
+org.apache.commons commons-csv * s/.*/debian/ * *
+
+org.apache.maven.plugins maven-surefire-plugin * s/.*/2.17/ * *
+
+org.openstreetmap.pbf osmpbf * s/.*/debian/ * *
+
+org.postgresql postgresql * s/.*/debian/ * *
+
+org.springframework spring-jdbc * s/.*/debian/ * *


=====================================
debian/osmosis.poms
=====================================
@@ -0,0 +1,44 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+pom.xml --has-package-version
+osmosis-apidb/pom.xml --has-package-version
+osmosis-areafilter/pom.xml --has-package-version
+osmosis-core/pom.xml --has-package-version
+osmosis-dataset/pom.xml --has-package-version
+osmosis-extract/pom.xml --has-package-version
+osmosis-hstore-jdbc/pom.xml --has-package-version
+osmosis-pbf/pom.xml --has-package-version
+osmosis-pbf2/pom.xml --has-package-version
+osmosis-pgsimple/pom.xml --has-package-version
+osmosis-pgsnapshot/pom.xml --has-package-version
+osmosis-replication/pom.xml --has-package-version
+osmosis-set/pom.xml --has-package-version
+osmosis-tagfilter/pom.xml --has-package-version
+osmosis-tagtransform/pom.xml --has-package-version
+osmosis-testutil/pom.xml --has-package-version
+osmosis-xml/pom.xml --has-package-version


=====================================
debian/osmosis.sh
=====================================
@@ -0,0 +1,96 @@
+#!/bin/sh
+
+# Config files can define several variables used throughout this script.
+# JAVACMD - The java command to launch osmosis.
+# JAVACMD_OPTIONS - The options to append to the java command, typically used to modify jvm settings such as max memory.
+# OSMOSIS_OPTIONS - The options to apply to all osmosis invocations, typically used to add plugins or make quiet operation the default.
+
+if [ -f /etc/osmosis/osmosis.conf ] ; then
+  . /etc/osmosis/osmosis.conf
+fi
+
+if [ -f "$HOME/.osmosis" ] ; then
+  . "$HOME/.osmosis"
+fi
+
+if [ -z "$JAVACMD" ] ; then
+  # No JAVACMD provided in osmosis config files, therefore default to java
+  JAVACMD=java
+fi
+
+## resolve links - $0 may be a link to application
+PRG="$0"
+
+# if started without absolute path, but from PATH environment
+if [ ! -s "$PRG" ] ; then
+    PRG=`which $PRG`
+fi
+
+# need this for relative symlinks
+while [ -h "$PRG" ] ; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG="`dirname "$PRG"`/$link"
+  fi
+done
+
+if [ "x$1x" = "xx" ] || echo "$@" | grep -q -e '--help' ; then
+cat <<EOF
+osmosis
+
+Example Usage
+
+Import a planet file into a local PostgreSQL database.
+
+osmosis --read-xml file=~/osm/planbet/planet.osm --write-apidb host="x" database="x" user="x" password="x"
+
+Export a planet file from a local PostgreSQL database.
+
+osmosis --read-apidb host="x" database="x" user="x" password="x" --write-xml file="planet.osm"
+
+Derive a change set between two planet files.
+
+osmosis --read-xml file="planet2.osm" --read-xml file="planet1.osm" --derive-change --write-xml-change file="planetdiff-1-2.osc"
+
+Derive a change set between a planet file and a database.
+
+osmosis --read-mysql host="x" database="x" user="x" password="x" --read-xml file="planet1.osm" --derive-change --write-xml-change file="planetdiff-1-2.osc"
+
+Apply a change set to a planet file.
+
+osmosis --read-xml-change file="planetdiff-1-2.osc" --read-xml file="planet1.osm" --apply-change --write-xml file="planet2.osm"
+
+Sort the contents of a planet file.
+
+osmosis --read-xml file="data.osm" --sort type="TypeThenId" --write-xml file="data-sorted.osm"
+
+The above examples make use of the default pipe connection feature, however a simple read and write planet file command line could be written in two ways. The first example uses default pipe connection, the second explicitly connects the two components using a pipe named "mypipe". The default pipe connection will always work so long as each task is specified in the correct order.
+
+osmosis --read-xml file="planetin.osm" --write-xml file="planetout.osm"
+
+osmosis --read-xml file="planetin.osm" outPipe.0="mypipe" --write-xml file="planetout.osm" inPipe.0="mypipe"
+
+Full usage details are available at: http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage
+
+EOF
+exit 1
+fi
+
+# make it fully qualified
+MYAPP_HOME="/usr/share/osmosis"
+LIBRARIES_HOME="/usr/share/java"
+
+# Build up the classpath of required jar files via classworlds launcher.
+MYAPP_CLASSPATH=$LIBRARIES_HOME/plexus-classworlds.jar
+
+MAINCLASS=org.codehaus.classworlds.Launcher
+EXEC="$JAVACMD $JAVACMD_OPTIONS -cp $MYAPP_CLASSPATH"
+EXEC="$EXEC -Dapp.home=$MYAPP_HOME"
+EXEC="$EXEC -Dclassworlds.conf=/etc/osmosis/plexus.conf"
+EXEC="$EXEC -Dlog4j.configuration=file:/etc/osmosis/log4j.properties"
+EXEC="$EXEC $MAINCLASS $OSMOSIS_OPTIONS"
+
+exec $EXEC "$@"


=====================================
debian/patches/maven.patch
=====================================
@@ -0,0 +1,1122 @@
+Description: Add support for Maven buildsystem.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/openstreetmap/osmosis/pull/137
+
+--- /dev/null
++++ b/pom.xml
+@@ -0,0 +1,117 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <groupId>org.openstreetmap.osmosis</groupId>
++  <artifactId>osmosis</artifactId>
++  <version>0.49.1</version>
++  <packaging>pom</packaging>
++
++  <name>osmosis</name>
++  <description>Osmosis is a Java application and library for processing OSM data.</description>
++  <url>http://wiki.openstreetmap.org/wiki/Osmosis</url>
++
++  <licenses>
++    <license>
++      <name>Public Domain</name>
++    </license>
++  </licenses>
++
++  <developers>
++    <developer>
++      <id>brett</id>
++      <name>Brett Henderson</name>
++      <email>brett at bretth.com</email>
++    </developer>
++  </developers>
++
++  <scm>
++    <url>https://github.com/openstreetmap/osmosis</url>
++    <connection>git://github.com/openstreetmap/osmosis.git</connection>
++    <developerConnection>ssh://git@github.com/openstreetmap/osmosis.git</developerConnection>
++  </scm>
++
++  <properties>
++    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
++    <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
++    <maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
++
++    <java.min.version>17</java.min.version>
++
++    <commons-codec.version>1.16.0</commons-codec.version>
++    <commons-compress.version>1.24.0</commons-compress.version>
++    <commons-csv.version>1.10.0</commons-csv.version>
++    <commons-dbcp.version>1.4</commons-dbcp.version>
++    <commons-io.version>2.15.0</commons-io.version>
++    <guava.version>32.1.3-jre</guava.version>
++    <junit.version>4.13.2</junit.version>
++    <mysql.version>8.0.33</mysql.version>
++    <osmpbf.version>1.5.0</osmpbf.version>
++    <postgis.version>2021.1.0</postgis.version>
++    <postgresql.version>42.6.0</postgresql.version>
++    <protobuf.version>3.25.0</protobuf.version>
++    <spring.version>5.3.30</spring.version>
++
++    <osmosis-apidb.skip-tests>true</osmosis-apidb.skip-tests>
++    <osmosis-areafilter.skip-tests>false</osmosis-areafilter.skip-tests>
++    <osmosis-core.skip-tests>false</osmosis-core.skip-tests>
++    <osmosis-dataset.skip-tests>false</osmosis-dataset.skip-tests>
++    <osmosis-extract.skip-tests>true</osmosis-extract.skip-tests>
++    <osmosis-hstore-jdbc.skip-tests>false</osmosis-hstore-jdbc.skip-tests>
++    <osmosis-pbf.skip-tests>false</osmosis-pbf.skip-tests>
++    <osmosis-pbf2.skip-tests>false</osmosis-pbf2.skip-tests>
++    <osmosis-pgsimple.skip-tests>true</osmosis-pgsimple.skip-tests>
++    <osmosis-pgsnapshot.skip-tests>true</osmosis-pgsnapshot.skip-tests>
++    <osmosis-replication.skip-tests>false</osmosis-replication.skip-tests>
++    <osmosis-set.skip-tests>true</osmosis-set.skip-tests>
++    <osmosis-tagfilter.skip-tests>false</osmosis-tagfilter.skip-tests>
++    <osmosis-tagtransform.skip-tests>false</osmosis-tagtransform.skip-tests>
++    <osmosis-testutil.skip-tests>false</osmosis-testutil.skip-tests>
++    <osmosis-xml.skip-tests>false</osmosis-xml.skip-tests>
++  </properties>
++
++  <dependencies>
++    <dependency>
++      <groupId>junit</groupId>
++      <artifactId>junit</artifactId>
++      <version>${junit.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <pluginManagement>
++      <plugins>
++        <plugin>
++          <groupId>org.apache.maven.plugins</groupId>
++          <artifactId>maven-compiler-plugin</artifactId>
++          <version>${maven-compiler-plugin.version}</version>
++          <configuration>
++            <source>${java.min.version}</source>
++            <target>${java.min.version}</target>
++          </configuration>
++        </plugin>
++      </plugins>
++    </pluginManagement>
++  </build>
++
++  <modules>
++    <module>osmosis-apidb</module>
++    <module>osmosis-areafilter</module>
++    <module>osmosis-core</module>
++    <module>osmosis-dataset</module>
++    <module>osmosis-extract</module>
++    <module>osmosis-hstore-jdbc</module>
++    <module>osmosis-pbf</module>
++    <module>osmosis-pbf2</module>
++    <module>osmosis-pgsimple</module>
++    <module>osmosis-pgsnapshot</module>
++    <module>osmosis-replication</module>
++    <module>osmosis-set</module>
++    <module>osmosis-tagfilter</module>
++    <module>osmosis-tagtransform</module>
++    <module>osmosis-testutil</module>
++    <module>osmosis-xml</module>
++  </modules>
++</project>
+--- /dev/null
++++ b/osmosis-core/pom.xml
+@@ -0,0 +1,65 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-core</artifactId>
++  <packaging>jar</packaging>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.codehaus.mojo</groupId>
++        <artifactId>exec-maven-plugin</artifactId>
++        <version>3.1.0</version>
++        <executions>
++          <execution>
++            <id>generateJavaSources</id>
++            <phase>generate-sources</phase>
++            <goals>
++              <goal>exec</goal>
++            </goals>
++          </execution>
++        </executions>
++        <configuration>
++          <executable>sh</executable>
++          <arguments>
++            <argument>generateJavaSources.sh</argument>
++          </arguments>
++          <environmentVariables>
++            <VERSION>${project.version}</VERSION>
++          </environmentVariables>
++        </configuration>
++      </plugin>
++      <plugin>
++        <artifactId>maven-clean-plugin</artifactId>
++        <version>3.2.0</version>
++        <configuration>
++          <filesets>
++            <fileset>
++              <directory>src/main/java/org/openstreetmap/osmosis/core</directory>
++              <includes>
++                <include>OsmosisConstants.java</include>
++              </includes>
++            </fileset>
++          </filesets>
++        </configuration>
++      </plugin>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-core.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-core/generateJavaSources.sh
+@@ -0,0 +1,24 @@
++#!/bin/sh
++
++SOURCE_DIR="$(dirname "$0")"
++SOURCE_FILE="${SOURCE_DIR}/src/main/java/org/openstreetmap/osmosis/core/OsmosisConstants.java"
++TEMPLATE_FILE="${SOURCE_FILE}.template"
++
++if [ -z "${VERSION}" ]; then
++    PARENT_DIR="$(dirname "${SOURCE_DIR}")"
++    SCRIPT_FILE="${PARENT_DIR}/osmosis-version.sh"
++
++    if [ ! -r "${SCRIPT_FILE}" ]; then
++        echo "Error: Cannot read file: ${SCRIPT_FILE}"
++        exit 1
++    fi
++
++    VERSION="$(sh "${SCRIPT_FILE}")"
++fi
++
++if [ ! -r "${TEMPLATE_FILE}" ]; then
++    echo "Error: Cannot read file: ${TEMPLATE_FILE}"
++    exit 1
++fi
++
++sed "s/no-version-specified/${VERSION}/g" "${TEMPLATE_FILE}" > "${SOURCE_FILE}"
+--- /dev/null
++++ b/osmosis-hstore-jdbc/pom.xml
+@@ -0,0 +1,36 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-hstore-jdbc</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.postgresql</groupId>
++      <artifactId>postgresql</artifactId>
++      <version>${postgresql.version}</version>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-hstore-jdbc.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-testutil/pom.xml
+@@ -0,0 +1,42 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-testutil</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>junit</groupId>
++      <artifactId>junit</artifactId>
++      <version>${junit.version}</version>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-testutil.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-xml/pom.xml
+@@ -0,0 +1,54 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-xml</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>commons-codec</groupId>
++      <artifactId>commons-codec</artifactId>
++      <version>${commons-codec.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.apache.commons</groupId>
++      <artifactId>commons-compress</artifactId>
++      <version>${commons-compress.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-xml.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-areafilter/pom.xml
+@@ -0,0 +1,49 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-areafilter</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-areafilter.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-dataset/pom.xml
+@@ -0,0 +1,49 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-dataset</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-dataset.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-pbf/pom.xml
+@@ -0,0 +1,60 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-pbf</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>com.google.protobuf</groupId>
++      <artifactId>protobuf-java</artifactId>
++      <version>${protobuf.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.pbf</groupId>
++      <artifactId>osmpbf</artifactId>
++      <version>${osmpbf.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-pbf.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-pbf2/pom.xml
+@@ -0,0 +1,76 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-pbf2</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>com.google.guava</groupId>
++      <artifactId>guava</artifactId>
++      <version>${guava.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>com.google.protobuf</groupId>
++      <artifactId>protobuf-java</artifactId>
++      <version>${protobuf.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>commons-io</groupId>
++      <artifactId>commons-io</artifactId>
++      <version>${commons-io.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.pbf</groupId>
++      <artifactId>osmpbf</artifactId>
++      <version>${osmpbf.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-pbf</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-pbf2.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-pgsimple/pom.xml
+@@ -0,0 +1,72 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-pgsimple</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>net.postgis</groupId>
++      <artifactId>postgis-jdbc</artifactId>
++      <version>${postgis.version}</version>
++      <exclusions>
++        <exclusion>
++          <groupId>net.postgis</groupId>
++          <artifactId>postgis-stubs</artifactId>
++        </exclusion>
++      </exclusions>
++    </dependency>
++    <dependency>
++      <groupId>org.postgresql</groupId>
++      <artifactId>postgresql</artifactId>
++      <version>${postgresql.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-dataset</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-pgsimple.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-pgsnapshot/pom.xml
+@@ -0,0 +1,87 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-pgsnapshot</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-hstore-jdbc</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>commons-dbcp</groupId>
++      <artifactId>commons-dbcp</artifactId>
++      <version>${commons-dbcp.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>net.postgis</groupId>
++      <artifactId>postgis-jdbc</artifactId>
++      <version>${postgis.version}</version>
++      <exclusions>
++        <exclusion>
++          <groupId>net.postgis</groupId>
++          <artifactId>postgis-stubs</artifactId>
++        </exclusion>
++      </exclusions>
++    </dependency>
++    <dependency>
++      <groupId>org.springframework</groupId>
++      <artifactId>spring-jdbc</artifactId>
++      <version>${spring.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.postgresql</groupId>
++      <artifactId>postgresql</artifactId>
++      <version>${postgresql.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-dataset</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-pgsnapshot.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-set/pom.xml
+@@ -0,0 +1,49 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-set</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-set.skip-tests</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-replication/pom.xml
+@@ -0,0 +1,46 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-replication</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-set</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-replication.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-apidb/pom.xml
+@@ -0,0 +1,77 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-apidb</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-replication</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>commons-dbcp</groupId>
++      <artifactId>commons-dbcp</artifactId>
++      <version>${commons-dbcp.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.springframework</groupId>
++      <artifactId>spring-jdbc</artifactId>
++      <version>${spring.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.postgresql</groupId>
++      <artifactId>postgresql</artifactId>
++      <version>${postgresql.version}</version>
++      <scope>runtime</scope>
++    </dependency>
++    <dependency>
++      <groupId>mysql</groupId>
++      <artifactId>mysql-connector-java</artifactId>
++      <version>${mysql.version}</version>
++      <scope>runtime</scope>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-apidb.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-extract/pom.xml
+@@ -0,0 +1,58 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-extract</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-apidb</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-replication</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-extract.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-tagfilter/pom.xml
+@@ -0,0 +1,49 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-tagfilter</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-tagfilter.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>
+--- /dev/null
++++ b/osmosis-tagtransform/pom.xml
+@@ -0,0 +1,54 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++  <modelVersion>4.0.0</modelVersion>
++
++  <parent>
++    <groupId>org.openstreetmap.osmosis</groupId>
++    <artifactId>osmosis</artifactId>
++    <version>0.49.1</version>
++    <relativePath>..</relativePath>
++  </parent>
++
++  <artifactId>osmosis-tagtransform</artifactId>
++  <packaging>jar</packaging>
++
++  <dependencies>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-core</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-xml</artifactId>
++      <version>${project.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.apache.commons</groupId>
++      <artifactId>commons-csv</artifactId>
++      <version>${commons-csv.version}</version>
++    </dependency>
++
++    <dependency>
++      <groupId>org.openstreetmap.osmosis</groupId>
++      <artifactId>osmosis-testutil</artifactId>
++      <version>${project.version}</version>
++      <scope>test</scope>
++    </dependency>
++  </dependencies>
++
++  <build>
++    <plugins>
++      <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>${maven-surefire-plugin.version}</version>
++        <configuration>
++          <skipTests>${osmosis-tagtransform.skip-tests}</skipTests>
++        </configuration>
++      </plugin>
++    </plugins>
++  </build>
++</project>


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 04-osmosis-version.patch
 mariadb.patch
+maven.patch


=====================================
debian/plexus.conf
=====================================
@@ -0,0 +1,16 @@
+main is org.openstreetmap.osmosis.core.Osmosis from osmosis.core
+
+[osmosis.core]
+load /usr/share/java/commons-codec.jar
+load /usr/share/java/commons-compress.jar
+load /usr/share/java/commons-csv.jar
+load /usr/share/java/commons-dbcp.jar
+load /usr/share/java/commons-io.jar
+load /usr/share/java/guava.jar
+load /usr/share/java/mariadb-java-client.jar
+load /usr/share/java/osmpbf.jar
+load /usr/share/java/postgis-jdbc.jar
+load /usr/share/java/postgresql.jar
+load /usr/share/java/protobuf.jar
+load /usr/share/java/spring3-jdbc.jar
+load /usr/share/osmosis/*.jar


=====================================
debian/rules
=====================================
@@ -9,13 +9,7 @@ debian/osmosis.1: debian/osmosis.xml
 	$(XP) -o $@ $(DB2MAN) $<
 
 %:
-	dh $@ --buildsystem=gradle
-
-override_dh_auto_build:
-	dh_auto_build -- --project-prop osmosisBuildType=RELEASE assemble
-
-override_dh_auto_test:
-	dh_auto_test -- --project-prop osmosisBuildType=RELEASE check -x test -x checkstyleMain -x checkstyleTest
+	dh $@ --buildsystem=maven
 
 override_dh_installchangelogs:
 	dh_installchangelogs -- osmosis/src/dist/changes.txt



View it on GitLab: https://salsa.debian.org/debian-gis-team/osmosis/-/compare/4fba9c381a893f9412304184762d2692a44f9bcc...049fa5c9ece11cd699e5e8c80aa71384b8210045

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/osmosis/-/compare/4fba9c381a893f9412304184762d2692a44f9bcc...049fa5c9ece11cd699e5e8c80aa71384b8210045
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20231110/8ba47555/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list