From: Andreas Beeker Date: Tue, 18 Aug 2015 01:16:26 +0000 (+0000) Subject: sonar xmlbeans fix X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61a491dca9fe63015f583d1ef732caa061a636d0;p=poi.git sonar xmlbeans fix git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696355 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/sonar/ooxml-schema-encryption/pom.xml b/sonar/ooxml-schema-encryption/pom.xml index db12021919..d5c682cf2e 100644 --- a/sonar/ooxml-schema-encryption/pom.xml +++ b/sonar/ooxml-schema-encryption/pom.xml @@ -18,90 +18,40 @@ target/generated-sources/* - + - org.codehaus.mojo - xmlbeans-maven-plugin - 2.3.3 - - - generate-sources - - xmlbeans - - - + org.codehaus.mojo + xmlbeans-maven-plugin + 2.3.3 + + + generate-sources + + xmlbeans + + + ../../src/ooxml/resources/org/apache/poi/poifs/crypt + + encryptionInfo.xsd + + + ../../src/ooxml/resources/org/apache/poi/poifs/crypt/encryptionInfo.xsdconfig + 1.5 yes - - - - - com.google.code.maven-replacer-plugin - replacer - - 1.5.1 - - - generate-sources - - replace - - - - - - target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/encryption/CTKeyEncryptor.java - target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/encryption/impl/CTKeyEncryptorImpl.java - target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/password/impl/EncryptedKeyDocumentImpl.java - target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/certificate/EncryptedKeyDocument.java - target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/certificate/impl/EncryptedKeyDocumentImpl.java - target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/password/EncryptedKeyDocument.java - target/generated-sources/xmlbeans/com/microsoft/schemas/office/x2006/keyEncryptor/password/impl/EncryptedKeyDocumentImpl.java - - - - etEncryptedKey2 - etEncryptedCertificateKey - - - etEncryptedKey - etEncryptedPasswordKey - - - ewEncryptedKey2 - ewEncryptedCertificateKey - - - ewEncryptedKey - ewEncryptedPasswordKey - - - encryptedKey2\) - encryptedCertificateKey) - - - encryptedKey\) - encryptedPasswordKey) - - - - - + - + - + - org.apache.xmlbeans - xmlbeans - 2.6.0 + org.apache.xmlbeans + xmlbeans + 2.6.0 diff --git a/sonar/ooxml-schema-security/pom.xml b/sonar/ooxml-schema-security/pom.xml index 8c1b3d1c79..49cb861732 100644 --- a/sonar/ooxml-schema-security/pom.xml +++ b/sonar/ooxml-schema-security/pom.xml @@ -20,56 +20,38 @@ - - org.apache.maven.plugins - maven-antrun-plugin - 1.6 + org.codehaus.mojo + xmlbeans-maven-plugin + 2.3.3 - build-jar generate-sources - - - - - - - - run + xmlbeans - - - - - maven-resources-plugin - 2.6 - - - copy-sources - generate-sources - - copy-resources - - - ${basedir}/src/main/resources - - - target/jar - - - - - + + ../../src/ooxml/resources/org/apache/poi/poifs/crypt + + signatureInfo.xsd + + true + true + 1.5 + yes + + + org.apache.xmlbeans + xmlbeans + 2.6.0 + ${project.groupId} poi-main