See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/34/display/redirect?page=changes>
Changes:
[Andreas Beeker] #64773 - Visual signatures for .xlsx/.docx
------------------------------------------
[...truncated 598.58 KB...]
[tar] Building tar:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/34/artifact/build/dist/poi-src-5.0.0-SNAPSHOT-20201011.tar.gz>
[echo] Creating Maven POMs
maven-poms:
[copy] Copying 6 files to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/dist/maven>
[echo] Maven POMs are located in
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/dist>
[echo] Use ant dist-nexus to deploy the artifacts in the remote repository
[echo] Distribution located in
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/dist>
[echo] Use "ant dist-checksum" to create sha256/sha512 checksums and GPG
signatures
findbugs:
[mkdir] Created dir:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/config>
[get] Getting:
https://repo1.maven.org/maven2/com/github/spotbugs/spotbugs/4.0.2/spotbugs-4.0.2.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/spotbugs.jar>
[get] Getting:
https://repo1.maven.org/maven2/com/github/spotbugs/spotbugs-ant/4.0.2/spotbugs-ant-4.0.2.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/spotbugs-ant.jar>
[get] Getting:
https://repo1.maven.org/maven2/com/github/spotbugs/spotbugs-annotations/4.0.2/spotbugs-annotations-4.0.2.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/spotbugs-annotations.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/dom4j/dom4j/2.1.1/dom4j-2.1.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/dom4j-2.1.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/jaxen-1.1.6.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/apache/bcel/bcel/6.4.1/bcel-6.4.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/bcel-6.4.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/slf4j-api-1.8.0-beta4.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.10/commons-lang3-3.10.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/commons-lang3-3.10.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/apache/commons/commons-text/1.8/commons-text-1.8.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/commons-text-1.8.jar>
[get] Getting:
https://repo1.maven.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/jcip-annotations-1.0.jar>
[get] Getting:
https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/jsr305-3.0.2.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/ow2/asm/asm/8.0.1/asm-8.0.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/asm-8.0.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/8.0.1/asm-analysis-8.0.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/asm-analysis-8.0.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/8.0.1/asm-commons-8.0.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/asm-commons-8.0.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/8.0.1/asm-tree-8.0.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/asm-tree-8.0.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/ow2/asm/asm-util/8.0.1/asm-util-8.0.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/asm-util-8.0.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.13.1/log4j-api-2.13.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/log4j-api-2.13.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.13.1/log4j-core-2.13.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/log4j-core-2.13.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-slf4j18-impl/2.13.1/log4j-slf4j18-impl-2.13.1.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/log4j-slf4j18-impl-2.13.1.jar>
[get] Getting:
https://repo1.maven.org/maven2/net/sf/saxon/Saxon-HE/9.9.1-2/Saxon-HE-9.9.1-2.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/Saxon-HE-9.9.1-2.jar>
[get] Getting:
https://repo1.maven.org/maven2/com/ibm/icu/icu4j/63.2/icu4j-63.2.jar
[get] To:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/icu4j-63.1.jar>
[spotbugs] Executing SpotBugs FindBugsTask from ant task
[spotbugs] Running SpotBugs...
[spotbugs] Java Result: 1
[spotbugs] Output saved to build/findbugs.xml
[xslt] Transforming into
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build>
[xslt] Processing
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs.xml> to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/34/artifact/build/findbugs.html>
[xslt] Loading stylesheet
jar:<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/findbugs/lib/spotbugs.jar!/fancy.xsl>
release-notes:
[copy] Copying 1 file to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/dist>
rat-check:
[mkdir] Created dir:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build/rat>
[echo]
[echo] *****************************************************
[echo] Summary
[echo] -------
[echo] Generated at: 2020-10-11T01:13:40+00:00
[echo]
[echo] Notes: 0
[echo] Binaries: 114
[echo] Archives: 0
[echo] Standards: 3785
[echo]
[echo] Apache Licensed: 3782
[echo] Generated Documents: 0
[echo]
[echo] JavaDocs are generated, thus a license header is optional.
[echo] Generated files do not require license headers.
[echo]
[echo] 3 Unknown Licenses
[echo]
[echo] *****************************************************
[echo]
[echo] Files with unapproved licenses:
[echo]
[echo]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/java/org/apache/poi/common/usermodel/PictureType.java>
[echo]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSignatureLine.java>
[echo]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/ooxml/resources/org/apache/poi/schemas/vmlDrawing.xsd>
[echo]
[echo] *****************************************************
[echo]
[echo] *****************************************************
[echo] Files with Apache License headers will be marked AL
[echo] Binary files (which do not require any license headers) will be
marked B
[echo] Compressed archives will be marked A
[echo] Notices, licenses etc. will be marked N
[echo] !?????
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/java/org/apache/poi/common/usermodel/PictureType.java>
[echo] !?????
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSignatureLine.java>
[echo] !?????
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/ooxml/resources/org/apache/poi/schemas/vmlDrawing.xsd>
[echo]
[echo] *****************************************************
[echo]
[echo] Printing headers for text files without a valid license header...
[echo]
[echo] =====================================================
[echo] == File:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/java/org/apache/poi/common/usermodel/PictureType.java>
[echo] =====================================================
[echo] package org.apache.poi.common.usermodel;
[echo]
[echo] /**
[echo] * General enum class to define a picture format/type
[echo] *
[echo] * @since POI 5.0
[echo] */
[echo] public enum PictureType {
[echo] /** Extended windows meta file */
[echo] EMF("image/x-emf",".emf"),
[echo] /** Windows Meta File */
[echo] WMF("image/x-wmf",".wmf"),
[echo] /** Mac PICT format */
[echo] PICT("image/pict",".pict"), // or image/x-pict (for HSLF) ???
[echo] /** JPEG format */
[echo] JPEG("image/jpeg",".jpg"),
[echo] /** PNG format */
[echo] PNG("image/png",".png"),
[echo] /** Device independent bitmap */
[echo] DIB("image/dib",".dib"),
[echo] /** GIF image format */
[echo] GIF("image/gif",".gif"),
[echo] /** Tag Image File (.tiff) */
[echo] TIFF("image/tiff",".tif"),
[echo] /** Encapsulated Postscript (.eps) */
[echo] EPS("image/x-eps",".eps"),
[echo] /** Windows Bitmap (.bmp) */
[echo] BMP("image/x-ms-bmp",".bmp"),
[echo] /** WordPerfect graphics (.wpg) */
[echo] WPG("image/x-wpg",".wpg"),
[echo] /** Microsoft Windows Media Photo image (.wdp) */
[echo] WDP("image/vnd.ms-photo",".wdp"),
[echo] /** Scalable vector graphics (.svg) - supported by Office 2016
and higher */
[echo] SVG("image/svg+xml", ".svg"),
[echo] /** Unknown picture type - specific to escher bse record */
[echo] UNKNOWN("", ".dat"),
[echo] /** Picture type error - specific to escher bse record */
[echo] ERROR("", ".dat"),
[echo] /** JPEG in the YCCK or CMYK color space. */
[echo] CMYKJPEG("image/jpeg", ".jpg"),
[echo] /** client defined blip type - native-id 32 to 255 */
[echo] CLIENT("", ".dat")
[echo] ;
[echo]
[echo] public final String contentType,extension;
[echo]
[echo] PictureType(String contentType,String extension) {
[echo] this.contentType = contentType;
[echo] this.extension = extension;
[echo] }
[echo]
[echo] =====================================================
[echo] == File:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSignatureLine.java>
[echo] =====================================================
[echo] package org.apache.poi.xssf.usermodel;
[echo]
[echo] import java.io.IOException;
[echo] import java.io.OutputStream;
[echo]
[echo] import javax.xml.namespace.QName;
[echo]
[echo] import com.microsoft.schemas.office.excel.CTClientData;
[echo] import com.microsoft.schemas.office.excel.STCF;
[echo] import com.microsoft.schemas.office.excel.STObjectType;
[echo] import com.microsoft.schemas.office.excel.STTrueFalseBlank;
[echo] import com.microsoft.schemas.office.office.CTSignatureLine;
[echo] import com.microsoft.schemas.vml.CTImageData;
[echo] import com.microsoft.schemas.vml.CTShape;
[echo] import org.apache.poi.common.usermodel.PictureType;
[echo] import org.apache.poi.ooxml.POIXMLDocumentPart;
[echo] import org.apache.poi.ooxml.POIXMLException;
[echo] import org.apache.poi.ooxml.POIXMLRelation;
[echo] import org.apache.poi.ooxml.util.XPathHelper;
[echo] import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
[echo] import org.apache.poi.poifs.crypt.dsig.SignatureLine;
[echo] import org.apache.poi.schemas.vmldrawing.CTXML;
[echo] import org.apache.xmlbeans.XmlException;
[echo]
[echo] public class XSSFSignatureLine extends SignatureLine {
[echo] private static final String MS_VML_URN =
"urn:schemas-microsoft-com:vml";
[echo]
[echo] public void parse(XSSFSheet sheet) throws XmlException {
[echo] XSSFVMLDrawing vml = sheet.getVMLDrawing(false);
[echo] if (vml == null) {
[echo] return;
[echo] }
[echo] CTSignatureLine line =
XPathHelper.selectProperty(vml.getDocument(), CTSignatureLine.class, null,
[echo] new QName[]{XSSFVMLDrawing.QNAME_VMLDRAWING},
[echo] new QName[]{new QName(MS_VML_URN, "shape")},
[echo] new QName[]{QNAME_SIGNATURE_LINE});
[echo]
[echo] if (line != null) {
[echo] setSignatureShape(line);
[echo] parse();
[echo] }
[echo] }
[echo]
[echo] public void add(XSSFSheet sheet, XSSFClientAnchor anchor) {
[echo] XSSFVMLDrawing vml = sheet.getVMLDrawing(true);
[echo] CTXML root = vml.getDocument().getXml();
[echo] add(root, (image, type) -> addPicture(image,type,sheet));
[echo] CTShape shape = getSignatureShape();
[echo] CTClientData clientData = shape.addNewClientData();
[echo] // LeftColumn, LeftOffset, TopRow, TopOffset, RightColumn,
RightOffset, BottomRow, BottomOffset
[echo]
[echo] =====================================================
[echo] == File:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/src/ooxml/resources/org/apache/poi/schemas/vmlDrawing.xsd>
[echo] =====================================================
[echo] <?xml version="1.0" encoding="utf-8"?>
[echo] <xsd:schema
[echo] xmlns:xsd="http://www.w3.org/2001/XMLSchema"
[echo] xmlns="urn:schemas-poi-apache-org:vmldrawing"
[echo] targetNamespace="urn:schemas-poi-apache-org:vmldrawing"
[echo] >
[echo] <xsd:import namespace="urn:schemas-microsoft-com:vml"
schemaLocation="vml-main.xsd"/>
[echo] <xsd:import namespace="urn:schemas-microsoft-com:office:office"
schemaLocation="vml-officeDrawing.xsd"/>
[echo] <xsd:import namespace="urn:schemas-microsoft-com:office:excel"
schemaLocation="vml-spreadsheetDrawing.xsd"/>
[echo] <xsd:element name="xml" type="CT_XML"/>
[echo] <xsd:complexType name="CT_XML">
[echo] <xsd:choice maxOccurs="unbounded">
[echo] <xsd:any
namespace="urn:schemas-microsoft-com:office:office"/>
[echo] <xsd:any namespace="urn:schemas-microsoft-com:vml"/>
[echo] <xsd:any
namespace="urn:schemas-microsoft-com:office:excel"/>
[echo] </xsd:choice>
[echo] </xsd:complexType>
[echo] </xsd:schema>
BUILD FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.xml>:2278:
condition satisfied
Total time: 47 minutes 1 second
Build step 'Invoke Ant' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
[Fast Archiver] Compressed 222.26 MB of artifacts by 31.0% relative to #33
Skipping publisher since build result is FAILURE
Recording test results
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]