Skip to content

Commit

Permalink
Revert to 462e675
Browse files Browse the repository at this point in the history
We go with an old library version of xalan and some library exclusions.
For now.

Revert "Set TransformerFactory property in metamorph-test"
This reverts commit ee0e624.

Revert "Tweak test logging, update xalan dependency, set TransformerFactory"
This reverts commit 4ff77d0.

See #334.
  • Loading branch information
dr0i committed Oct 29, 2020
1 parent ee0e624 commit c7e1eec
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
6 changes: 0 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,6 @@ gradle.projectsEvaluated {
task publish {
dependsOn tasks.uploadArchives
}

test {
testLogging {
exceptionFormat = 'full'
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion metafacture-biblio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
implementation project(':metafacture-commons')
implementation project(':metafacture-flowcontrol')
implementation 'org.dspace:oclc-harvester2:0.1.12'
implementation ('xalan:xalan:2.7.2') {
implementation ('xalan:xalan:2.7.0') {
exclude group: 'xalan', module: 'serializer'
exclude group: 'xercesImpl', module: 'xercesImpl'
exclude group: 'xml-apis', module: 'xml-apis'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public final class OaiPmhOpener extends
* Default constructor
*/
public OaiPmhOpener() {
// See https://github.com/metafacture/metafacture-core/issues/334
System.setProperty("javax.xml.transform.TransformerFactory", "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");

}

/**
Expand Down
4 changes: 0 additions & 4 deletions metamorph-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@ dependencies {
testImplementation project(':metafacture-formeta')
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
}

test {
systemProperty "javax.xml.transform.TransformerFactory", "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"
}

0 comments on commit c7e1eec

Please sign in to comment.