From b56bda3d9394ee72a654110cfe8893b2d99f868d Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Thu, 20 Aug 2015 23:06:00 +0000 Subject: [PATCH] Move security schemas to security module Fork xmlbeans plugin and run with more memory depending on 32/64bit runtime git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696874 13f79535-47bb-0310-9956-ffa450edef68 --- sonar/ooxml-schema-security/pom.xml | 105 ++++++++++++++++++++++++++-- sonar/ooxml-schema/pom.xml | 65 +++++++++-------- 2 files changed, 135 insertions(+), 35 deletions(-) diff --git a/sonar/ooxml-schema-security/pom.xml b/sonar/ooxml-schema-security/pom.xml index 49cb861732..1ec9f02353 100644 --- a/sonar/ooxml-schema-security/pom.xml +++ b/sonar/ooxml-schema-security/pom.xml @@ -16,10 +16,109 @@ target/generated-sources/* + true + + + + com.googlecode.maven-download-plugin + maven-download-plugin + 1.1.0 + + + install-xsds-part-1 + generate-sources + wget + + http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip + true + c8f0eac388691d5be0d1647146400a10 + + + + install-xsds-part-2 + generate-sources + wget + + target/schemas + http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd + + + + install-xsds-part-3 + generate-sources + wget + + target/schemas + http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd + + + + install-xsds-part-4 + generate-sources + wget + + target/schemas + http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd + + + + install-xsds-part-5 + generate-sources + wget + + target/schemas + http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd + + + + install-xsds-part-6 + generate-sources + wget + + target/schemas + http://uri.etsi.org/01903/v1.3.2/XAdES.xsd + + + + install-xsds-part-7 + generate-sources + wget + + target/schemas + http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.6 + + + unzip-schema + generate-sources + + + + + + + + + run + + + + + org.codehaus.mojo xmlbeans-maven-plugin @@ -33,12 +132,10 @@ - ../../src/ooxml/resources/org/apache/poi/poifs/crypt - - signatureInfo.xsd - + target/schemas true true + true 1.5 yes diff --git a/sonar/ooxml-schema/pom.xml b/sonar/ooxml-schema/pom.xml index 3200bce60f..36183c643a 100644 --- a/sonar/ooxml-schema/pom.xml +++ b/sonar/ooxml-schema/pom.xml @@ -16,7 +16,40 @@ target/generated-sources/* + true + + + + + + + + 32bitstuff + + + sun.arch.data.model + 32 + + + + 512m + + + + + 64bitstuff + + + sun.arch.data.model + 64 + + + + 768m + + + @@ -38,18 +71,6 @@ abe6bb6e7799e854934b3c634e8bcf7b - - install-xsds-part-2 - generate-sources - - wget - - - http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip - true - c8f0eac388691d5be0d1647146400a10 - - @@ -65,23 +86,6 @@ - - - - - - - - - - - - - - - - - @@ -105,10 +109,9 @@ target/schemas - true - true 1.5 yes + true