# HG changeset patch # User Kostis Kyzirakos # Date 1356354848 -3600 # Node ID 674f8f91162b33f1d756210244e78f1910a9b026 # Parent 14c05dfc64d00a6e0a5e410622cce68b7f094413 Added an module. This module builds an executable jar file with an embedded Apache Tomcat 7. To create and run the executable jar just type: $ mvn clean package $ java -jar endpoint-exec/target/strabon-endpoint-executable-*.jar (Copying usage from http://tomcat.apache.org/maven-plugin-2.0/executable-war-jar.html) Usage: java -jar [path to your exec war jar] -ajpPort ajp port to use -clientAuth enable client authentication for https -D key=value -extractDirectory path to extract war content, default value: .extract -h,--help help -httpPort http port to use -httpProtocol http protocol to use: HTTP/1.1 or org.apache.coyote.http11.Http11Nio Protocol -httpsPort https port to use -keyAlias alias from keystore for ssl -loggerName logger to use: slf4j to use slf4j bridge on top of jul -obfuscate obfuscate the password and exit -resetExtract clean previous extract directory -serverXmlPath server.xml to use, optional -X,--debug debug diff -r 14c05dfc64d0 -r 674f8f91162b endpoint-exec/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/endpoint-exec/pom.xml Mon Dec 24 14:14:08 2012 +0100 @@ -0,0 +1,98 @@ + + + 4.0.0 + + + eu.earthobservatory + strabon + 3.2.7-SNAPSHOT + + + strabon-endpoint-exec + + Strabon: Executable endpoint + A Strabon endpoint packaged with Tomcat 7 as a single executable jar file + pom + + + + eu.earthobservatory + strabon-endpoint + ${eu.earthobservatory.version} + war + compile + + + + + + + org.apache.tomcat.maven + tomcat7-maven-plugin + 2.0 + + + tomcat-run + + exec-war-only + + package + + / + UTF-8 + strabon-endpoint-executable-${project.version}.jar + + + + + + eu.earthobservatory + strabon-endpoint + ${eu.earthobservatory.version} + war + + / + + + + + + + + + + diff -r 14c05dfc64d0 -r 674f8f91162b endpoint/pom.xml --- a/endpoint/pom.xml Tue Dec 18 12:20:31 2012 +0200 +++ b/endpoint/pom.xml Mon Dec 24 14:14:08 2012 +0100 @@ -250,23 +250,6 @@ true - - org.apache.tomcat.maven - tomcat7-maven-plugin - - - tomcat-run - - exec-war-only - - - integration-test - - true - - - - diff -r 14c05dfc64d0 -r 674f8f91162b pom.xml --- a/pom.xml Tue Dec 18 12:20:31 2012 +0200 +++ b/pom.xml Mon Dec 24 14:14:08 2012 +0100 @@ -27,10 +27,11 @@ resultio-spatial endpoint endpoint-client + endpoint-exec - 3.2.7-SNAPSHOT + 3.2.7-SNAPSHOT 2.6.3 3.5.0