From b038827994045f0c29e2dd02d2d468f264eb948f Mon Sep 17 00:00:00 2001 From: Timm Fitschen <timm.fitschen@ds.mpg.de> Date: Wed, 27 Mar 2019 21:45:04 +0100 Subject: [PATCH] MAINT: pom add executions run and run-debug --- pom.xml | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 050b3ddf..ef096967 100644 --- a/pom.xml +++ b/pom.xml @@ -214,23 +214,43 @@ <version>1.6.0</version> <executions> <execution> + <id>run</id> <goals> <goal>java</goal> </goals> + <configuration> + <mainClass>caosdb.server.CaosDBServer</mainClass> + <arguments> + <argument>silent</argument> + </arguments> + <systemProperties> + <systemProperty> + <key>java.util.loggin.config.file</key> + <value>./conf/core/logging.conf</value> + </systemProperty> + </systemProperties> + </configuration> + </execution> + <execution> + <id>run-debug</id> + <goals> + <goal>java</goal> + </goals> + <configuration> + <mainClass>caosdb.server.CaosDBServer</mainClass> + <arguments> + <argument>silent</argument> + <argument>debug</argument> + </arguments> + <systemProperties> + <systemProperty> + <key>java.util.loggin.config.file</key> + <value>./conf/core/logging.conf</value> + </systemProperty> + </systemProperties> + </configuration> </execution> </executions> - <configuration> - <mainClass>caosdb.server.CaosDBServer</mainClass> - <arguments> - <argument>silent</argument> - </arguments> - <systemProperties> - <systemProperty> - <key>java.util.loggin.config.file</key> - <value>./conf/core/logging.conf</value> - </systemProperty> - </systemProperties> - </configuration> </plugin> <plugin> <groupId>com.coveo</groupId> -- GitLab