From ea6590bb57ad3c53b5e5db8486ced53bd97b4331 Mon Sep 17 00:00:00 2001 From: Claus Stadler Date: Wed, 28 Feb 2024 16:23:57 +0100 Subject: [PATCH] Added example for creating a virtuoso.db file with maven --- examples/virtuoso-build/pom.xml | 224 ++++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 examples/virtuoso-build/pom.xml diff --git a/examples/virtuoso-build/pom.xml b/examples/virtuoso-build/pom.xml new file mode 100644 index 0000000..652af91 --- /dev/null +++ b/examples/virtuoso-build/pom.xml @@ -0,0 +1,224 @@ + + + 4.0.0 + org.aksw.maven4data.examples + virtuoso-db-generator + 0.0.1-SNAPSHOT + + + org.aksw.data.config + aksw-data-deployment + 0.0.8 + + + + pom + + + + + 1800000 + + + true + raven + + + + + org.coypu.data.disasters + disasters + 0.20240228.1245 + nt.bz2 + + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.1 + + + copy-resource-dependencies + generate-resources + + copy-dependencies + + + ${project.build.directory}/toLoad + nt,ttl,nt.bz2,ttl.bz2 + true + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + package + + attach-artifact + + + + + ${project.build.directory}/virtuoso.db + db + + + + + + + + + + + + generate-data + + + skipGenerateData + !true + + + + + + io.fabric8 + docker-maven-plugin + + + + service-${project.artifactId} + virtuoso-db-build + + tenforce/virtuoso + + sed -i -E 's|^exec.*||g' /virtuoso.sh + + + + + false + + 2720000 + 2000000 + 1000000000 + 50000 + 0 + 180 + 10737418240 + + + + 0 + + + + tmp-volume:/data + + + + + + + /data/virtuoso.db + ${project.build.directory} + + + + + + + + temp-volume + local + + + + + + + + + run-container + process-resources + + build + volume-create + start + copy + stop + volume-remove + + + + + + + + + + + increment-version + + + + org.codehaus.mojo + build-helper-maven-plugin + + + version-timestamp-property + + timestamp-property + + + + versionTimestamp + yyyyMMdd.HHmm + en_US + UTC + + + + parse-version + + parse-version + + + + + + org.codehaus.mojo + versions-maven-plugin + + + validate + + set + + + + + ${parsedVersion.majorVersion}.${versionTimestamp}-SNAPSHOT + + + + + + + + + +