diff --git a/osmosis-apidb/pom.xml b/osmosis-apidb/pom.xml
new file mode 100644
index 000000000..494244562
--- /dev/null
+++ b/osmosis-apidb/pom.xml
@@ -0,0 +1,77 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-apidb
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-replication
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+
+
+
+ commons-dbcp
+ commons-dbcp
+ ${commons-dbcp.version}
+
+
+ org.springframework
+ spring-jdbc
+ ${spring.version}
+
+
+
+ org.postgresql
+ postgresql
+ ${postgresql.version}
+ runtime
+
+
+ mysql
+ mysql-connector-java
+ ${mysql.version}
+ runtime
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-apidb.skip-tests}
+
+
+
+
+
diff --git a/osmosis-areafilter/pom.xml b/osmosis-areafilter/pom.xml
new file mode 100644
index 000000000..84971908a
--- /dev/null
+++ b/osmosis-areafilter/pom.xml
@@ -0,0 +1,49 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-areafilter
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-areafilter.skip-tests}
+
+
+
+
+
diff --git a/osmosis-core/generateJavaSources.sh b/osmosis-core/generateJavaSources.sh
new file mode 100644
index 000000000..b8af896ed
--- /dev/null
+++ b/osmosis-core/generateJavaSources.sh
@@ -0,0 +1,17 @@
+#!/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
+ echo "Error: VERSION not set in environment"
+ exit 1
+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}"
diff --git a/osmosis-core/generateResources.sh b/osmosis-core/generateResources.sh
new file mode 100644
index 000000000..09d098c3d
--- /dev/null
+++ b/osmosis-core/generateResources.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+SOURCE_DIR="$(dirname "$0")"
+SOURCE_FILE="${SOURCE_DIR}/src/main/resources/org/openstreetmap/osmosis/core/plugin/plugin.xml"
+TEMPLATE_FILE="${SOURCE_FILE}.template"
+
+if [ -z "${VERSION}" ]; then
+ echo "Error: VERSION not set in environment"
+ exit 1
+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}"
diff --git a/osmosis-core/pom.xml b/osmosis-core/pom.xml
new file mode 100644
index 000000000..ead683b57
--- /dev/null
+++ b/osmosis-core/pom.xml
@@ -0,0 +1,95 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-core
+ jar
+
+
+
+ net.sf.jpf
+ jpf
+ ${jpf.version}
+
+
+
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ ${exec-maven-plugin.version}
+
+
+ generateJavaSources
+ generate-sources
+
+ exec
+
+
+ sh
+
+ generateJavaSources.sh
+
+
+ ${project.version}
+
+
+
+
+ generateResources
+ generate-resources
+
+ exec
+
+
+ sh
+
+ generateResources.sh
+
+
+ ${project.version}
+
+
+
+
+
+
+ maven-clean-plugin
+ ${maven-clean-plugin.version}
+
+
+
+ src/main/java/org/openstreetmap/osmosis/core
+
+ OsmosisConstants.java
+
+
+
+ src/main/resources/org/openstreetmap/osmosis/core/plugin
+
+ plugin.xml
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-core.skip-tests}
+
+
+
+
+
diff --git a/osmosis-dataset/pom.xml b/osmosis-dataset/pom.xml
new file mode 100644
index 000000000..dda88e3ca
--- /dev/null
+++ b/osmosis-dataset/pom.xml
@@ -0,0 +1,49 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-dataset
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-dataset.skip-tests}
+
+
+
+
+
diff --git a/osmosis-extract/pom.xml b/osmosis-extract/pom.xml
new file mode 100644
index 000000000..63855eabb
--- /dev/null
+++ b/osmosis-extract/pom.xml
@@ -0,0 +1,58 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-extract
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-apidb
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-replication
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-extract.skip-tests}
+
+
+
+
+
diff --git a/osmosis-hstore-jdbc/pom.xml b/osmosis-hstore-jdbc/pom.xml
new file mode 100644
index 000000000..503fd272c
--- /dev/null
+++ b/osmosis-hstore-jdbc/pom.xml
@@ -0,0 +1,36 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-hstore-jdbc
+ jar
+
+
+
+ org.postgresql
+ postgresql
+ ${postgresql.version}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-hstore-jdbc.skip-tests}
+
+
+
+
+
diff --git a/osmosis-pbf/pom.xml b/osmosis-pbf/pom.xml
new file mode 100644
index 000000000..3d46f2bfa
--- /dev/null
+++ b/osmosis-pbf/pom.xml
@@ -0,0 +1,60 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-pbf
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ com.google.protobuf
+ protobuf-java
+ ${protobuf.version}
+
+
+ org.openstreetmap.pbf
+ osmpbf
+ ${osmpbf.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-pbf.skip-tests}
+
+
+
+
+
diff --git a/osmosis-pbf2/pom.xml b/osmosis-pbf2/pom.xml
new file mode 100644
index 000000000..fe812e895
--- /dev/null
+++ b/osmosis-pbf2/pom.xml
@@ -0,0 +1,76 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-pbf2
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ com.google.guava
+ guava
+ ${guava.version}
+
+
+ com.google.protobuf
+ protobuf-java
+ ${protobuf.version}
+
+
+ commons-io
+ commons-io
+ ${commons-io.version}
+
+
+ org.openstreetmap.pbf
+ osmpbf
+ ${osmpbf.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-pbf
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-pbf2.skip-tests}
+
+
+
+
+
diff --git a/osmosis-pgsimple/pom.xml b/osmosis-pgsimple/pom.xml
new file mode 100644
index 000000000..cea7002a4
--- /dev/null
+++ b/osmosis-pgsimple/pom.xml
@@ -0,0 +1,72 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-pgsimple
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ net.postgis
+ postgis-jdbc
+ ${postgis.version}
+
+
+ net.postgis
+ postgis-stubs
+
+
+
+
+ org.postgresql
+ postgresql
+ ${postgresql.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-dataset
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-pgsimple.skip-tests}
+
+
+
+
+
diff --git a/osmosis-pgsnapshot/pom.xml b/osmosis-pgsnapshot/pom.xml
new file mode 100644
index 000000000..33849aa9b
--- /dev/null
+++ b/osmosis-pgsnapshot/pom.xml
@@ -0,0 +1,87 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-pgsnapshot
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-hstore-jdbc
+ ${project.version}
+
+
+
+ commons-dbcp
+ commons-dbcp
+ ${commons-dbcp.version}
+
+
+ net.postgis
+ postgis-jdbc
+ ${postgis.version}
+
+
+ net.postgis
+ postgis-stubs
+
+
+
+
+ org.springframework
+ spring-jdbc
+ ${spring.version}
+
+
+ org.postgresql
+ postgresql
+ ${postgresql.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-dataset
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-pgsnapshot.skip-tests}
+
+
+
+
+
diff --git a/osmosis-replication/pom.xml b/osmosis-replication/pom.xml
new file mode 100644
index 000000000..ca52c3c07
--- /dev/null
+++ b/osmosis-replication/pom.xml
@@ -0,0 +1,46 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-replication
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-set
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-replication.skip-tests}
+
+
+
+
+
diff --git a/osmosis-set/pom.xml b/osmosis-set/pom.xml
new file mode 100644
index 000000000..00a97480b
--- /dev/null
+++ b/osmosis-set/pom.xml
@@ -0,0 +1,49 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-set
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-set.skip-tests
+
+
+
+
+
diff --git a/osmosis-tagfilter/pom.xml b/osmosis-tagfilter/pom.xml
new file mode 100644
index 000000000..51c88526d
--- /dev/null
+++ b/osmosis-tagfilter/pom.xml
@@ -0,0 +1,49 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-tagfilter
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-tagfilter.skip-tests}
+
+
+
+
+
diff --git a/osmosis-tagtransform/pom.xml b/osmosis-tagtransform/pom.xml
new file mode 100644
index 000000000..65a039c08
--- /dev/null
+++ b/osmosis-tagtransform/pom.xml
@@ -0,0 +1,54 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-tagtransform
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+ org.openstreetmap.osmosis
+ osmosis-xml
+ ${project.version}
+
+
+
+ org.apache.commons
+ commons-csv
+ ${commons-csv.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-tagtransform.skip-tests}
+
+
+
+
+
diff --git a/osmosis-testutil/pom.xml b/osmosis-testutil/pom.xml
new file mode 100644
index 000000000..cea48dd06
--- /dev/null
+++ b/osmosis-testutil/pom.xml
@@ -0,0 +1,42 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-testutil
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ junit
+ junit
+ ${junit.version}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-testutil.skip-tests}
+
+
+
+
+
diff --git a/osmosis-xml/pom.xml b/osmosis-xml/pom.xml
new file mode 100644
index 000000000..5768157fd
--- /dev/null
+++ b/osmosis-xml/pom.xml
@@ -0,0 +1,54 @@
+
+
+ 4.0.0
+
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ ..
+
+
+ osmosis-xml
+ jar
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-core
+ ${project.version}
+
+
+
+ commons-codec
+ commons-codec
+ ${commons-codec.version}
+
+
+ org.apache.commons
+ commons-compress
+ ${commons-compress.version}
+
+
+
+ org.openstreetmap.osmosis
+ osmosis-testutil
+ ${project.version}
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+ ${osmosis-xml.skip-tests}
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 000000000..4dcde081e
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,121 @@
+
+
+ 4.0.0
+
+ org.openstreetmap.osmosis
+ osmosis
+ 0.49.2
+ pom
+
+ osmosis
+ Osmosis is a Java application and library for processing OSM data.
+ http://wiki.openstreetmap.org/wiki/Osmosis
+
+
+
+ Public Domain
+
+
+
+
+
+ brett
+ Brett Henderson
+ brett@bretth.com
+
+
+
+
+ https://github.com/openstreetmap/osmosis
+ git://github.com/openstreetmap/osmosis.git
+ ssh://git@github.com/openstreetmap/osmosis.git
+
+
+
+ UTF-8
+ 3.10.1
+ 2.22.1
+
+ 3.1.0
+ 3.2.0
+
+ 17
+
+ 1.16.0
+ 1.24.0
+ 1.10.0
+ 1.4
+ 2.15.0
+ 32.1.3-jre
+ 1.5
+ 4.13.2
+ 8.0.33
+ 1.5.0
+ 2021.1.0
+ 42.6.0
+ 3.25.0
+ 5.3.30
+
+ true
+ false
+ false
+ false
+ true
+ false
+ false
+ false
+ true
+ true
+ false
+ true
+ false
+ false
+ false
+ false
+
+
+
+
+ junit
+ junit
+ ${junit.version}
+ test
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${maven-compiler-plugin.version}
+
+ ${java.min.version}
+ ${java.min.version}
+
+
+
+
+
+
+
+ osmosis-apidb
+ osmosis-areafilter
+ osmosis-core
+ osmosis-dataset
+ osmosis-extract
+ osmosis-hstore-jdbc
+ osmosis-pbf
+ osmosis-pbf2
+ osmosis-pgsimple
+ osmosis-pgsnapshot
+ osmosis-replication
+ osmosis-set
+ osmosis-tagfilter
+ osmosis-tagtransform
+ osmosis-testutil
+ osmosis-xml
+
+