Skip to content

Commit

Permalink
Merge branch 'main' into feature/improve_wordsim
Browse files Browse the repository at this point in the history
  • Loading branch information
kwerber committed May 18, 2022
2 parents cff0e76 + ce20edc commit f1aa5e9
Show file tree
Hide file tree
Showing 390 changed files with 27,289 additions and 38,422 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
with:
submodules: true
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: 17
- name: Cache Maven packages
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
with:
submodules: true
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: 17
- name: Cache Maven packages
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Documentation

on:
push:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/docs.yml'

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fix Deployment for GH Pages
run: mkdir -p docs/_build/dirhtml/ && touch docs/_build/dirhtml/.nojekyll

- uses: ammaraskar/sphinx-action@master
with:
pre-build-command: "mkdir -p /usr/share/man/man1 && apt-get update --allow-releaseinfo-change -y && apt-get install -y openjdk-11-jre"
docs-folder: "docs/"
build-command: make html dirhtml

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/_build/dirhtml/
clean: true


6 changes: 3 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
submodules: true
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: 17

- name: Cache Maven packages
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: 17

- name: Cache SonarCloud packages
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
with:
submodules: true
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: 17
- name: Cache Maven packages
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.flattened-pom.xml

tests/src/test/resources/testout/*

tests/src/test/resources/config.properties
Expand Down
2 changes: 1 addition & 1 deletion .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-Drevision=0.3-SNAPSHOT
-Drevision=0.4-SNAPSHOT
-DskipTests=false
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ The model can also contain a (java) code model that you can insert using the [Co
### Usage
```
usage: java -jar ardoco-core-pipeline.jar
-c,--conf <arg> path to the additional config file
-h,--help show this message
-i,--withimplementation indicate that the model contains the code model
-m,--model <arg> path to the owl model
-n,--name <arg> name of the run
-o,--out <arg> path to the output directory
-p,--provided flag to show that ontology has text already
provided
-t,--text <arg> path to the text file
-c,--conf <arg> path to the additional config file
-h,--help show this message
-ma,--model-architecture <arg> path to the architecture model
-mc,--model-code <arg> path to the java code model
-n,--name <arg> name of the run
-o,--out <arg> path to the output directory
-p,--provided <arg> path to a JSON Text (already
preprocessed)
-t,--text <arg> path to the text file
```

### Wiki
For more information about the setup or the architecture have a look on the [wiki](https://github.com/ArDoCo/Core/wiki/Overview).
The wiki is at some points deprecated, the general overview and setup should still hold.
### Documentation
For more information about the setup or the architecture have a look on the [docs](https://ardoco.github.io/Core).
The docs are at some points deprecated, the general overview and setup should still hold.

### Case Studies / Benchmarks
To test the Core, you could use case studies and benchmarks provided in ..
Expand Down
62 changes: 62 additions & 0 deletions cli/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.kit.kastel.mcse.ardoco</groupId>
<artifactId>core</artifactId>
<version>${revision}</version>
</parent>
<artifactId>cli</artifactId>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>edu.kit.kastel.mcse.ardoco</groupId>
<artifactId>pipeline</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>edu.kit.kastel.mcse.ardoco.core.pipeline.ArDoCoCLI</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>ardoco-core-pipeline</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Loading

0 comments on commit f1aa5e9

Please sign in to comment.