Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4d0c8d3
Removes spring/jersey and up min supported java version to 11
Feb 7, 2023
0fd78f2
rename UriBuilder to UriHelper and add som tests
Feb 8, 2023
db4c528
describe exception when CONTENT_LENGTH header is not present
Feb 8, 2023
f5e9a40
use signature api version remove-spring-dependency-SNAPSHOT
Feb 8, 2023
65bb515
update notice and upgrade some dependencies
Feb 8, 2023
d56f8ec
allow build workflow to fetch from github maven repo
Feb 9, 2023
03084f0
use jaxb-runtime 2.3.6
Feb 9, 2023
807fe35
use UriBuilder to build uri's
Feb 10, 2023
81265d8
remove use of jakarta rs and use apache http client instead of java h…
Feb 13, 2023
f9f92b3
Fix minor compiler warns
runeflobakk Feb 14, 2023
2bd7cb3
Change to non-deprecated java.security API
runeflobakk Feb 14, 2023
2247bec
Do not close response stream for downloads
runeflobakk Feb 14, 2023
2bc85af
Fix wrong AND operator
runeflobakk Feb 14, 2023
b82d584
Fix multiple values for Accept HTTP header
runeflobakk Feb 14, 2023
2b8b2fb
Fix identifying content-type of error response
runeflobakk Feb 14, 2023
99d652a
Do not close responses not consumed yet
runeflobakk Feb 14, 2023
b715c95
Support java 8 again
Feb 15, 2023
fbeb763
Change contentLength from int to long
runeflobakk Feb 15, 2023
8812d5a
Use ContentType.parse to parse content type
runeflobakk Feb 15, 2023
d078d85
Rename statusCode to httpStatusCode
runeflobakk Feb 16, 2023
b3ecccb
Add facility to build URLs based on serviceRoot
runeflobakk Feb 16, 2023
8476322
Add toString to Sender and PollingQueue
runeflobakk Feb 16, 2023
c49226a
Fix URL handling in ArchiveClient
runeflobakk Feb 16, 2023
c0920fc
use signature-api-client-java:3.0.0-RC3
Feb 16, 2023
c3af7ec
Revert to package private field
runeflobakk Feb 16, 2023
ea4eab6
More information in exception
runeflobakk Feb 16, 2023
e1e9b76
Tidy up response statuscode value classes
runeflobakk Feb 16, 2023
82d4fd6
Improve exception message
runeflobakk Feb 16, 2023
fe38d75
Upgrade dependencies
runeflobakk Feb 16, 2023
a3ec529
Upgrade Maven plugins
runeflobakk Feb 16, 2023
cba9548
Upgrade maven-publish GitHub action
runeflobakk Feb 16, 2023
9f3e1de
Fix javadoc heading levels
runeflobakk Feb 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '1.8', '11' ]
java: [ '8', '11' ]

name: build java ${{ matrix.java }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up java
uses: actions/setup-java@v1
uses: actions/setup-java@v3.6.0
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: "maven"
- name: Build with Maven
run: mvn -B package --no-transfer-progress --file pom.xml
run: mvn --settings .mvn/settings.xml -B package --no-transfer-progress

makeversion:
if: github.ref != 'refs/heads/main'
Expand All @@ -35,7 +37,7 @@ jobs:
else
TAG=${GITHUB_REF#refs/heads/}-SNAPSHOT
fi
echo ::set-output name=version::${TAG//\//-}
echo "version=${TAG//\//-}" >> $GITHUB_OUTPUT

deploy_snapshot:
if: startsWith(github.ref, 'refs/heads/')
Expand All @@ -44,8 +46,8 @@ jobs:

name: Deploy snapshot
steps:
- uses: actions/checkout@v1
- uses: digipost/action-maven-publish@1.1.0
- uses: actions/checkout@v3
- uses: digipost/action-maven-publish@1.3.2
with:
sonatype_secrets: ${{ secrets.sonatype_secrets }}
release_version: ${{ needs.makeversion.outputs.version }}
Expand All @@ -58,9 +60,9 @@ jobs:
name: Release to Sonatype
steps:
- name: Check out Git repository
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Release to Central Repository
uses: digipost/action-maven-publish@1.1.0
uses: digipost/action-maven-publish@1.3.2
with:
sonatype_secrets: ${{ secrets.sonatype_secrets }}
release_version: ${{ needs.makeversion.outputs.version }}
Expand Down
28 changes: 28 additions & 0 deletions .mvn/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">

<profiles>
<profile>
<id>sonatype_snapshots</id>
<repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>

<activeProfiles>
<activeProfile>sonatype_snapshots</activeProfile>
</activeProfiles>

</settings>
24 changes: 2 additions & 22 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,24 @@ Licensed under Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.html

This software includes third party software subject to the following licenses:

aopalliance version 1.0 repackaged as a module under EPL 2.0 or GPL2 w/ CPE
Apache Commons Codec under Apache License, Version 2.0
Apache Commons Lang under Apache License, Version 2.0
Apache HttpClient under Apache License, Version 2.0
Apache HttpComponents Core HTTP/1.1 under Apache License, Version 2.0
Apache HttpComponents Core HTTP/2 under Apache License, Version 2.0
Apache HttpCore under Apache License, Version 2.0
Digipost Certificate Validator under The Apache Software License, Version 2.0
HK2 API module under EPL 2.0 or GPL2 w/ CPE
HK2 Implementation Utilities under EPL 2.0 or GPL2 w/ CPE
istack common utility code runtime under Eclipse Distribution License - v 1.0
Jakarta Activation under EDL 1.0
Jakarta Activation API jar under EDL 1.0
Jakarta Annotations API under EPL 2.0 or GPL2 w/ CPE
Jakarta XML Binding API under Eclipse Distribution License - v 1.0
jakarta.ws.rs-api under EPL 2.0 or GPL2 w/ CPE
Javassist under MPL 1.1 or LGPL 2.1 or Apache License 2.0
javax.inject:1 as OSGi bundle under EPL 2.0 or GPL2 w/ CPE
JAXB Runtime under Eclipse Distribution License - v 1.0
JAXB2 Basics - Runtime under BSD-Style License
JCL 1.2 implemented over SLF4J under Apache License, Version 2.0
jersey-core-client under EPL 2.0 or GPL2 w/ CPE or EDL 1.0 or BSD 2-Clause or Apache License, 2.0 or Public Domain or Modified BSD or jQuery license or MIT license or W3C license
jersey-core-common under EPL 2.0 or The GNU General Public License (GPL), Version 2, With Classpath Exception or Apache License, 2.0 or Public Domain
jersey-inject-hk2 under EPL 2.0 or GPL2 w/ CPE or EDL 1.0 or BSD 2-Clause or Apache License, 2.0 or Public Domain or Modified BSD or jQuery license or MIT license or W3C license
jersey-media-multipart under EPL 2.0 or GPL2 w/ CPE or EDL 1.0 or BSD 2-Clause or Apache License, 2.0 or Public Domain or Modified BSD or jQuery license or MIT license or W3C license
MIME streaming extension under Eclipse Distribution License - v 1.0
OSGi resource locator under EPL 2.0 or GPL2 w/ CPE
Posten signering - API JAXB Classes under The Apache Software License, Version 2.0
Posten signering - API Schema under The Apache Software License, Version 2.0
Posten signering - Java API Client Library under The Apache Software License, Version 2.0
ServiceLocator Default Implementation under EPL 2.0 or GPL2 w/ CPE
SLF4J API Module under MIT License
Spring AOP under Apache License, Version 2.0
Spring Beans under Apache License, Version 2.0
Spring Commons Logging Bridge under Apache License, Version 2.0
Spring Context under Apache License, Version 2.0
Spring Core under Apache License, Version 2.0
Spring Expression Language (SpEL) under Apache License, Version 2.0
Spring Object/XML Marshalling under Apache License, Version 2.0
spring-xml under Apache License, Version 2.0
TXW2 Runtime under Eclipse Distribution License - v 1.0


Loading