diff --git a/README.md b/README.md index bb60d6a..d47d7d8 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,26 @@ curl -X POST "http://localhost:8083/assessOntology" -H "accept: application/json As a result, you should see a JSON in your console, such as the one in sample.json. +## Running the JAR in local +To create the JAR, just run: + +``` +mvn install -f pom_jar.xml +``` + +Then run the following command to test a URI: + +``` +java -jar target/fair_ontologies-0.1.0.jar -ontURI https://w3id.org/example +``` + +You can also test one ontology from a file: + +``` +java -jar target/fair_ontologies-0.1.0.jar -ontFile filePath +``` + +As a result, you should see a JSON in your folder, such as the one in sample.json. + + +If you want to change the out file path you can use the flag -out \ No newline at end of file diff --git a/pom_jar.xml b/pom_jar.xml index c697c5a..a5a4f85 100644 --- a/pom_jar.xml +++ b/pom_jar.xml @@ -2,12 +2,12 @@ 4.0.0 - + + es.oeg fair_ontologies 0.1.0 @@ -15,19 +15,18 @@ fair_ontologies FOOPS!: An Ontology Pitfall scanner for the FAIR principles - - + + - + @@ -82,9 +81,12 @@ - + org.apache.maven.plugins @@ -93,44 +95,6 @@ 11 11 - --> - - - org.apache.maven.plugins - maven-shade-plugin - 2.3 - - - package - - shade - - - ${project.artifactId}-${project.version}-jar-with-dependencies - true - launcher - JAR/ - - - fair.FOOPS - - - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - -