diff --git a/build.gradle b/build.gradle index aa7a1ff5bd..8e73d37643 100644 --- a/build.gradle +++ b/build.gradle @@ -119,7 +119,7 @@ subprojects { log4jVersion = '2.14.1' mockitoVersion = '4.0.0' hamcrestVersion = '2.2' - xmlbeansVersion = '5.0.1' + xmlbeansVersion = '5.0.2' batikVersion = '1.14' JAVA9_SRC = 'src/main/java9' diff --git a/poi-examples/build.gradle b/poi-examples/build.gradle index b49b11dc9d..20c6125fb5 100644 --- a/poi-examples/build.gradle +++ b/poi-examples/build.gradle @@ -25,6 +25,12 @@ sourceSets { } } +repositories { + mavenCentral() + maven { + url "https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/maven" + } +} dependencies { api project(':poi-ooxml') diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index cd9b762067..1038bdb591 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -34,6 +34,13 @@ sourceSets { } } +repositories { + mavenCentral() + maven { + url "https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/maven" + } +} + dependencies { api 'org.apache.ant:ant:1.10.11' diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle index 05e86c2626..5c86fb104d 100644 --- a/poi-integration/build.gradle +++ b/poi-integration/build.gradle @@ -40,6 +40,13 @@ sourceSets { } } +repositories { + mavenCentral() + maven { + url "https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/maven" + } +} + dependencies { testImplementation 'org.apache.ant:ant:1.10.11' testImplementation 'org.apache.commons:commons-collections4:4.4' diff --git a/poi-ooxml-full/build.gradle b/poi-ooxml-full/build.gradle index 8808c6fcc2..49b672bf51 100644 --- a/poi-ooxml-full/build.gradle +++ b/poi-ooxml-full/build.gradle @@ -35,6 +35,13 @@ sourceSets { } } +repositories { + mavenCentral() + maven { + url "https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/maven" + } +} + dependencies { api "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}" // implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}" diff --git a/poi-ooxml-lite-agent/build.gradle b/poi-ooxml-lite-agent/build.gradle index 7b6d8a3585..3a0d0af780 100644 --- a/poi-ooxml-lite-agent/build.gradle +++ b/poi-ooxml-lite-agent/build.gradle @@ -23,6 +23,13 @@ sourceSets { } } +repositories { + mavenCentral() + maven { + url "https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/maven" + } +} + dependencies { api 'net.bytebuddy:byte-buddy:1.11.20' api 'net.bytebuddy:byte-buddy-agent:1.11.20' diff --git a/poi-ooxml-lite/build.gradle b/poi-ooxml-lite/build.gradle index 0cf4ab8214..1ab543f8ff 100644 --- a/poi-ooxml-lite/build.gradle +++ b/poi-ooxml-lite/build.gradle @@ -35,6 +35,13 @@ sourceSets { } } +repositories { + mavenCentral() + maven { + url "https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/maven" + } +} + dependencies { api "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}" compileOnly project(':poi-ooxml-full') diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index 802b999ec9..40f9ed7989 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -62,6 +62,13 @@ java { } } +repositories { + mavenCentral() + maven { + url "https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/maven" + } +} + dependencies { api project(':poi') api project(':poi-ooxml-full')