Skip to content

Commit

Permalink
remove double saxon version and update actions refs Edirom/MEIGarage#16
Browse files Browse the repository at this point in the history
  • Loading branch information
anneferger committed Nov 9, 2022
1 parent 9d477ef commit 41a6c8f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: maven-settings
uses: s4u/maven-settings-action@v2
uses: s4u/maven-settings-action@v2.7.0
with:
servers: '[{"id": "edirom", "username": "vifebot", "password": "${GITHUB_TOKEN}"},{"id": "teic", "username": "vifebot", "password": "${GITHUB_TOKEN}"}]'
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -B package --file pom.xml
- name: Upload Maven build artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: tei-javalib-0.5.jar
path: /home/runner/work/tei-javalib/tei-javalib/target/tei-javalib-0.5.jar
name: artifact
path: /home/runner/work/tei-javalib/tei-javalib/target/tei-javalib-*.jar
14 changes: 10 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.tei</groupId>
<artifactId>tei-javalib</artifactId>
<version>0.6</version>
<version>0.6.1</version>
<name>TEI Javalib utilities</name>
<properties>

Expand Down Expand Up @@ -83,7 +83,7 @@
</plugins>
</reporting>-->
<dependencies>
<dependency>
<!-- <dependency>
<groupId>pl.psnc.dl.ege</groupId>
<artifactId>ege-api</artifactId>
<version>0.4.0</version>
Expand All @@ -94,7 +94,7 @@
<artifactId>ege-framework</artifactId>
<version>0.5</version>
<scope>compile</scope>
</dependency>
</dependency> -->
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
Expand All @@ -104,6 +104,12 @@
<groupId>com.thaiopensource</groupId>
<artifactId>trang</artifactId>
<version>20091111</version>
<exclusions>
<exclusion>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
Expand All @@ -120,7 +126,7 @@
</repositories>
<distributionManagement>
<repository>
<id>github</id>
<id>githubtei</id>
<name>GitHub TEIC Apache Maven Packages</name>
<url>https://maven.pkg.github.com/TEIC/tei-javalib</url>
</repository>
Expand Down

0 comments on commit 41a6c8f

Please sign in to comment.