Skip to content

Commit

Permalink
hotfix: saxon bug in eno lib (#143)
Browse files Browse the repository at this point in the history
* fix: exclude xalan library from lunatic-model

* ci(docker): target the right eno and lunatic-model versions

* build: bump eno version

Including a fix on saxon dependency.

* chore: bump version

* ci: update other workflows
  • Loading branch information
nsenave authored Nov 6, 2023
1 parent 4e83854 commit f7205e2
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build docker
on: workflow_dispatch

env:
ENOBRANCH: main
LUNATICBRANCH: develop
ENO_BRANCH: 'lunatic-v1-main-last-version'
LUNATIC_MODEL_TAG: '2.2.10'
jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ env.ENOBRANCH }}
ref: ${{ env.ENO_BRANCH }}
repository: InseeFr/Eno
path: Eno

Expand All @@ -33,7 +33,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ env.LUNATICBRANCH }}
ref: ${{ env.LUNATIC_MODEL_TAG }}
repository: InseeFr/Lunatic-model
path: Lunatic-model

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- '*.*.*'

env:
ENO_BRANCH: 'lunatic-v1-main-last-version'
LUNATIC_MODEL_TAG: '2.2.10'

jobs:

test:
Expand All @@ -22,7 +26,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: main
ref: ${{ env.ENO_BRANCH }}
repository: InseeFr/Eno
path: Eno

Expand All @@ -34,7 +38,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: develop
ref: ${{ env.LUNATIC_MODEL_TAG }}
repository: InseeFr/Lunatic-model
path: Lunatic-model

Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
branches:
- "**"

env:
ENO_BRANCH: 'lunatic-v1-main-last-version'
LUNATIC_MODEL_TAG: '2.2.10'

jobs:

test:
runs-on: ubuntu-latest
env:
ENOBRANCH: main
LUNATICBRANCH: develop

steps:
- uses: actions/checkout@v2
with:
Expand All @@ -25,7 +27,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ env.ENOBRANCH }}
ref: ${{ env.ENO_BRANCH }}
repository: InseeFr/Eno
path: Eno

Expand All @@ -37,7 +39,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ env.LUNATICBRANCH }}
ref: ${{ env.LUNATIC_MODEL_TAG }}
repository: InseeFr/Lunatic-model
path: Lunatic-model

Expand Down
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>eno-ws</artifactId>
<packaging>war</packaging>

<version>1.5.2</version>
<version>1.5.3</version>

<name>Eno-Web-Service</name>

Expand All @@ -21,7 +21,7 @@

<javax.activation.version>1.2.0</javax.activation.version>

<eno.version>2.3.12</eno.version>
<eno.version>2.3.13</eno.version>

<log4j2.version>2.17.0</log4j2.version>

Expand Down Expand Up @@ -118,6 +118,12 @@
<groupId>fr.insee.lunatic</groupId>
<artifactId>lunatic-model</artifactId>
<version>${lunatic-model.version}</version>
<exclusions>
<exclusion>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- apache fop -->
Expand Down

0 comments on commit f7205e2

Please sign in to comment.