-
Notifications
You must be signed in to change notification settings - Fork 2
Use old JAXB artifacts #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f378cbd
Use old JAXB artifacts
runeflobakk d7f572b
Extract com.xml.sun JAXB resolving to Maven module
runeflobakk 325be54
Support marshal to org.w3c.dom.Document
runeflobakk 193b194
Use java.util.logging instead of Slf4J
runeflobakk ff7c105
Separate JAXB serviceloader from the other modules
runeflobakk f802c03
Upgrade super-pom to v9
runeflobakk 2e7b3b3
Fix minor wrong tag usage in javadoc
runeflobakk 1ac5934
Use Digipost JAXB resolver
runeflobakk 35f4bd1
Use BOM for JAXB resolver
runeflobakk 7d9e999
Refine CI workflow
runeflobakk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,67 +1,57 @@ | ||
| name: Build and deploy | ||
|
|
||
| on: [push] | ||
|
|
||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| java: [ '8', '11' ] | ||
|
|
||
| name: build java ${{ matrix.java }} | ||
| java: [ '8', '17' ] | ||
| name: Build on Java ${{ matrix.java }} | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| MAVEN_ARGS: --show-version --no-transfer-progress | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/setup-java@v3.6.0 | ||
| - uses: actions/setup-java@v3 | ||
| with: | ||
| distribution: temurin | ||
| java-version: ${{ matrix.java }} | ||
| cache: "maven" | ||
| - name: Build with Maven | ||
| run: mvn -B clean verify --no-transfer-progress --show-version | ||
| run: mvn verify | ||
|
|
||
|
|
||
| makeversion: | ||
| if: github.ref != 'refs/heads/main' | ||
| publishing_parameters: | ||
| needs: build | ||
| name: Publishing parameters | ||
| runs-on: ubuntu-latest | ||
| name: Create version | ||
| outputs: | ||
| is_release: ${{ steps.version.outputs.is_release }} | ||
| version: ${{ steps.version.outputs.version }} | ||
| steps: | ||
| - name: Decide on build version | ||
| - name: Determine version | ||
| id: version | ||
| run: | | ||
| if [[ $GITHUB_REF == *"tags"* ]]; then | ||
| TAG=${GITHUB_REF#refs/tags/} | ||
| is_release=true | ||
| version=${GITHUB_REF#refs/tags/} | ||
| else | ||
| TAG=${GITHUB_REF#refs/heads/}-SNAPSHOT | ||
| is_release=false | ||
| version=${GITHUB_REF#refs/heads/}-SNAPSHOT | ||
| fi | ||
| echo ::set-output name=version::${TAG//\//-} | ||
| deploy_snapshot: | ||
| if: startsWith(github.ref, 'refs/heads/') | ||
| needs: makeversion | ||
| runs-on: ubuntu-latest | ||
| echo "is_release=${is_release//\//-}" >> $GITHUB_OUTPUT | ||
| echo "version=${version//\//-}" >> $GITHUB_OUTPUT | ||
|
|
||
| name: Deploy snapshot | ||
| steps: | ||
| - uses: actions/checkout@v1 | ||
| - uses: digipost/action-maven-publish@1.3.2 | ||
| with: | ||
| sonatype_secrets: ${{ secrets.sonatype_secrets }} | ||
| release_version: ${{ needs.makeversion.outputs.version }} | ||
| perform_release: false | ||
|
|
||
| release: | ||
| if: startsWith(github.ref, 'refs/tags/') | ||
| publish: | ||
| needs: publishing_parameters | ||
| name: Publish ${{ needs.publishing_parameters.outputs.version }} | ||
| runs-on: ubuntu-latest | ||
| needs: makeversion | ||
| name: Release to Sonatype | ||
| steps: | ||
| - name: Check out Git repository | ||
| uses: actions/checkout@v1 | ||
| - name: Release to Central Repository | ||
| uses: digipost/action-maven-publish@1.3.2 | ||
| - uses: actions/checkout@v3 | ||
| - uses: digipost/action-maven-publish@v1 | ||
| with: | ||
| sonatype_secrets: ${{ secrets.sonatype_secrets }} | ||
| release_version: ${{ needs.makeversion.outputs.version }} | ||
| perform_release: true | ||
| release_version: ${{ needs.publishing_parameters.outputs.version }} | ||
| perform_release: ${{ needs.publishing_parameters.outputs.is_release }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| -P build-sources-and-javadoc | ||
| -P build-sources-and-javadoc,dependency-analyze,check-license-header,include-NOTICE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (C) Posten Norge AS | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
|
|
||
| junit.jupiter.extensions.autodetection.enabled=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/digipost/jul-to-slf4j-junit-extension