diff options
| -rw-r--r-- | .github/workflows/pom.yml | 32 | ||||
| -rw-r--r-- | build.sbt | 4 | ||||
| -rw-r--r-- | pom.xml | 61 |
3 files changed, 96 insertions, 1 deletions
diff --git a/.github/workflows/pom.yml b/.github/workflows/pom.yml new file mode 100644 index 0000000..60b7411 --- /dev/null +++ b/.github/workflows/pom.yml | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | name: POM generation | ||
| 2 | |||
| 3 | on: | ||
| 4 | pull_request: | ||
| 5 | push: | ||
| 6 | branches: [ master ] | ||
| 7 | paths: [ 'build.sbt' ] | ||
| 8 | |||
| 9 | jobs: | ||
| 10 | pom: | ||
| 11 | runs-on: ubuntu-latest | ||
| 12 | |||
| 13 | steps: | ||
| 14 | |||
| 15 | - uses: actions/checkout@v2 | ||
| 16 | with: | ||
| 17 | ref: ${{ github.head_ref }} | ||
| 18 | |||
| 19 | - name: Generate POM | ||
| 20 | run: | | ||
| 21 | sbt makePom | ||
| 22 | mv target/scala-*/rsacomb_*.pom pom.xml | ||
| 23 | |||
| 24 | - name: Commit changes | ||
| 25 | uses: stefanzweifel/git-auto-commit-action@v4 | ||
| 26 | with: | ||
| 27 | commit_user_name: GitHub POM Action | ||
| 28 | commit_user_email: "gh-pom@github.com" | ||
| 29 | commit_message: "⬆ Update POM dependences" | ||
| 30 | commit_options: '--no-verify --signoff' | ||
| 31 | file_pattern: pom.xml | ||
| 32 | |||
| @@ -22,7 +22,9 @@ ThisBuild / scmInfo := Some( | |||
| 22 | // ) | 22 | // ) |
| 23 | 23 | ||
| 24 | ThisBuild / description := "Re-implementation of the combined approach for CQ answering over RSA ontologies." | 24 | ThisBuild / description := "Re-implementation of the combined approach for CQ answering over RSA ontologies." |
| 25 | // ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")) | 25 | ThisBuild / licenses := List( |
| 26 | "Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt") | ||
| 27 | ) | ||
| 26 | ThisBuild / homepage := Some( | 28 | ThisBuild / homepage := Some( |
| 27 | url("https://github.com/KRR-Oxford/RSAComb") | 29 | url("https://github.com/KRR-Oxford/RSAComb") |
| 28 | ) | 30 | ) |
| @@ -0,0 +1,61 @@ | |||
| 1 | <?xml version='1.0' encoding='UTF-8'?> | ||
| 2 | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"> | ||
| 3 | <modelVersion>4.0.0</modelVersion> | ||
| 4 | <groupId>uk.ac.ox.cs.rsacomb</groupId> | ||
| 5 | <artifactId>rsacomb_2.13</artifactId> | ||
| 6 | <packaging>jar</packaging> | ||
| 7 | <description>Re-implementation of the combined approach for CQ answering over RSA ontologies.</description> | ||
| 8 | <url>https://github.com/KRR-Oxford/RSAComb</url> | ||
| 9 | <version>0.1.0</version> | ||
| 10 | <licenses> | ||
| 11 | <license> | ||
| 12 | <name>Apache 2</name> | ||
| 13 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
| 14 | <distribution>repo</distribution> | ||
| 15 | </license> | ||
| 16 | </licenses> | ||
| 17 | <name>RSAComb</name> | ||
| 18 | <organization> | ||
| 19 | <name>Department of Computer Science - University of Oxford</name> | ||
| 20 | <url>https://www.cs.ox.ac.uk</url> | ||
| 21 | </organization> | ||
| 22 | <scm> | ||
| 23 | <url>https://github.com/KRR-Oxford/RSAComb</url> | ||
| 24 | <connection>scm:git@github.com:KRR-Oxford/RSAComb.git</connection> | ||
| 25 | </scm> | ||
| 26 | <dependencies> | ||
| 27 | <dependency> | ||
| 28 | <groupId>org.scala-lang</groupId> | ||
| 29 | <artifactId>scala-library</artifactId> | ||
| 30 | <version>2.13.4</version> | ||
| 31 | </dependency> | ||
| 32 | <dependency> | ||
| 33 | <groupId>org.scalatest</groupId> | ||
| 34 | <artifactId>scalatest_2.13</artifactId> | ||
| 35 | <version>3.2.3</version> | ||
| 36 | <scope>test</scope> | ||
| 37 | </dependency> | ||
| 38 | <dependency> | ||
| 39 | <groupId>org.scalatest</groupId> | ||
| 40 | <artifactId>scalatest-flatspec_2.13</artifactId> | ||
| 41 | <version>3.2.3</version> | ||
| 42 | <scope>test</scope> | ||
| 43 | </dependency> | ||
| 44 | <dependency> | ||
| 45 | <groupId>org.scalatest</groupId> | ||
| 46 | <artifactId>scalatest-shouldmatchers_2.13</artifactId> | ||
| 47 | <version>3.2.3</version> | ||
| 48 | <scope>test</scope> | ||
| 49 | </dependency> | ||
| 50 | <dependency> | ||
| 51 | <groupId>net.sourceforge.owlapi</groupId> | ||
| 52 | <artifactId>owlapi-apibinding</artifactId> | ||
| 53 | <version>5.1.17</version> | ||
| 54 | </dependency> | ||
| 55 | <dependency> | ||
| 56 | <groupId>org.scala-graph</groupId> | ||
| 57 | <artifactId>graph-core_2.13</artifactId> | ||
| 58 | <version>1.13.2</version> | ||
| 59 | </dependency> | ||
| 60 | </dependencies> | ||
| 61 | </project> \ No newline at end of file | ||
