From 917be5aa650d583789b4a6e252abcc9ff6f66c90 Mon Sep 17 00:00:00 2001 From: Adrian Wilke Date: Thu, 7 Jan 2021 18:46:58 +0100 Subject: [PATCH] readme: create jar --- README.md | 8 ++++++++ pom.xml | 37 +++++++++++++++++++++++++++++-------- 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 74af6ae..9314027 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,14 @@ A demo of [Relicensing Combined Datasets](https://github.com/dice-group/ReCoDa). - Open [http://localhost:8443/](http://localhost:8443/) +## How to create and run a jar + +- [Download the code](https://github.com/dice-group/ReCoDa/archive/demo.zip) +- Run: `mvn package org.springframework.boot:spring-boot-maven-plugin:repackage` +- Run: `java -jar target/recoda-demo-1.0.0-SNAPSHOT-exec.jar` +- Open [http://localhost:8443/](http://localhost:8443/) + + ## Credits [Data Science Group (DICE)](https://dice-research.org/) at [Paderborn University](https://www.uni-paderborn.de/) diff --git a/pom.xml b/pom.xml index ce9a6ad..1c7d6b4 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,8 @@ org.dice_research.opal recoda-demo - 0.0.1-SNAPSHOT + + 1.0.2 1.8 @@ -72,12 +73,12 @@ ${spring.version} - - - - - - + + org.springframework.boot + spring-boot-devtools + ${spring.version} + true + @@ -97,7 +98,27 @@ https://repo1.maven.org/maven2/ - + + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring.version} + + + + repackage + + + + + exec + + + + + \ No newline at end of file