Skip to content

Commit a7b885e

Browse files
committed
Bumped javapos-config-loader to version 4.0.1 getting rid of Xerces.
1 parent 3ba3fff commit a7b885e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ The UnifiedPOS reference implementation for Java provided by UnifiedPOS committe
99

1010
Use this library, if your are implementing JavaPOS device services or an JavaPOS application using the [reference implementation of device controls](https://github.com/JavaPOSWorkingGroup/javapos-controls) provided by this group (instead of using your own). In that case this library is valid to be deployed to production environments too.
1111

12-
If you have implemented your own version of device controls use the both libraries [javapos-contracts](https://github.com/JavaPOSWorkingGroup/javapos-contracts) and [javapos-config-loader](https://github.com/JavaPOSWorkingGroup/javapos-config-loader) instead of this one to avoid class ambiguities on your classpath.
12+
If you have implemented your own version of device controls, do not use this libraray! Use the both libraries [javapos-contracts](https://github.com/JavaPOSWorkingGroup/javapos-contracts) and [javapos-config-loader](https://github.com/JavaPOSWorkingGroup/javapos-config-loader) instead of this one to avoid class ambiguities on your class-path.
13+
14+
Since version 1.15.4 of this package, the [javapos-config-loader](https://github.com/JavaPOSWorkingGroup/javapos-config-loader) version 4.0 gets incorporated which does not have a Xerces dependency anymore. Instead the XML parser from the Java framework library is used. This solves mainly vulnerability issues, no new functionality was added.
15+
If you need to use the older version 3 of the JavaPOS Config Loader provided by [javapos-config-loader](https://github.com/JavaPOSWorkingGroup/javapos-config-loader) then do not use this library! Instead, use the three libraries [javapos-contracts](https://github.com/JavaPOSWorkingGroup/javapos-contracts), [javapos-config-loader](https://github.com/JavaPOSWorkingGroup/javapos-config-loader), and [javapos-controls](https://github.com/JavaPOSWorkingGroup/javapos-controls) for their own to have control of their specific versions.
1316

1417
NOTE: The documentation shown here in the past about project evolving has been moved to a [Wiki page](https://github.com/JavaPOSWorkingGroup/javapos/wiki/Migrating-to-And-Joining-All-Sources-At-GitHub).

build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@ wrapper {
2828
def artifactName = 'javapos'
2929
group='org.javapos'
3030
def uposVersion = '1.15'
31-
version="${uposVersion}.3" // the last part after dot is the build/release version
31+
version="${uposVersion}.4" // the last part after dot is the build/release version
3232

3333
// dependency versions
3434
def javaposContractsVersion = "$uposVersion.3"
3535
def javaposControlsVersion = "$uposVersion.0"
36-
def jclVersion = '3.1.0'
37-
def xercesVersion = '1.2.3' // artificial dependency inherited from javapos-config-loader - take over from there
36+
def jclVersion = '4.0.1'
3837

3938
///////////////////////////////////////////////////////////////////////////////
4039
// Build Dependencies
@@ -73,8 +72,6 @@ configurations {
7372
}
7473

7574
dependencies {
76-
api "xerces:xerces:$xercesVersion" // artificial dependency inherited from javapos-config-loader
77-
7875
javaposLibs ("org.javapos:javapos-contracts:$javaposContractsVersion") { transitive = false }
7976
javaposLibs ("org.javapos:javapos-controls:$javaposControlsVersion") { transitive = false }
8077
javaposLibs ("org.javapos:javapos-config-loader:$jclVersion") { transitive = false }

0 commit comments

Comments
 (0)