diff --git a/packaging/pom.xml b/packaging/pom.xml index cf05e1816..20ddf1d03 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -3,7 +3,6 @@ org.openrefine packaging - pom 3.1-SNAPSHOT OpenRefine - packaging @@ -18,6 +17,9 @@ ${basedir}/.. 0.0.0.0 + ./target/OpenRefine.app/Contents/Resources/webapp/ + ../main/webapp + ../main/target @@ -33,6 +35,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -52,40 +97,95 @@ package launch4j - console - target/openrefine.exe - server/target/lib/openrefine-${project.version}-server.jar - true - true - - com.google.refine.Refine - server/target/lib/ - server/target/lib/*.jar - - - 1.8.0 - preferJre - 256 - 1024 - - -Djava.library.path=server/target/lib/native/windows - - - - ${fullversion} - ${project.version} - openrefine - Copyright (c) 2018 OpenRefine contributors, 2010 Google, Inc. - ${fullversion} - ${project.version} - OpenRefine - openrefine - openrefine.exe - + console + target/openrefine.exe + server/target/lib/openrefine-${project.version}-server.jar + true + true + + com.google.refine.Refine + server/target/lib/ + server/target/lib/*.jar + + + 1.8.0 + preferJre + 256 + 1024 + + -Djava.library.path=server/target/lib/native/windows + + + + ${fullversion} + ${project.version} + openrefine + Copyright (c) 2018 OpenRefine contributors, 2010 Google, Inc. + ${fullversion} + ${project.version} + OpenRefine + openrefine + openrefine.exe + + + sh.tak.appbundler + appbundle-maven-plugin + 1.2.0 + + com.google.refine.Refine + OpenRefine + target/OpenRefine ${version} + openrefine.icns + true + ${project.build.directory}/${project.build.finalName}-mac-${project.version}.dmg + 1.8 + /opt/jre1.8.0_181.jre + + -Xms256M + -Xmx1024M + -Drefine.version=${project.version} + -Drefine.webapp=$APP_ROOT/Contents/Resources/webapp + + + + target + + OpenRefine.app/Contents/Resources/webapp/**/** + + + + + + ${rootdir}/server/target/lib/ + + *.jar + + + + ${rootdir}/server/target + + openrefine-3.1-SNAPSHOT-server.jar + + + **/lib/** + **/org/** + + + + + + + package + + bundle + + + + org.apache.maven.plugins maven-assembly-plugin @@ -106,6 +206,15 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.0 + + true + + +