See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/74/display/redirect?page=changes>

Changes:

[PJ Fanning] include copy of LICENSE in root dir as well as legal dir (so 
github will find it)

[PJ Fanning] revert README change

[PJ Fanning] add SECURITY.md


------------------------------------------
[...truncated 458.22 KB...]
> Task :poi-scratchpad:cacheTest9
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-scratchpad:testClasses
> Task :poi-scratchpad:testJar

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFFont.java>:20:
 warning: [deprecation] FontCharset in org.apache.poi.ss.usermodel has been 
deprecated
import static org.apache.poi.ss.usermodel.FontCharset.*;
                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:203:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(7, run.getFontSize());
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:211:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(25, run.getFontSize());
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:589:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:598:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE, run.getFontSize());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:601:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:607:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE, run.getFontSize());
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:658:
 warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129:
 warning: [deprecation] getSeries() in XDDFChartData has been deprecated
        assertThrows(UnsupportedOperationException.class, () -> 
chartData.getSeries().remove(0));
                                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:882:
 warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
                assertEquals("CN=Muj Klic", 
result.get(0).getSubjectDN().toString());
                                                         ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:883:
 warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
                assertEquals("CN=My Second key", 
result.get(1).getSubjectDN().toString());
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:886:
 warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
                assertEquals("CN=My Second key", 
result.get(0).getSubjectDN().toString());
                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/poifs/crypt/dsig/TestSignatureInfo.java>:929:
 warning: [deprecation] getSubjectDN() in X509Certificate has been deprecated
        assertEquals("CN=Test", certs.get(0).getSubjectDN().getName());
                                            ^
17 warnings

> Task :poi-ooxml:compileTest9
> Task :poi-ooxml:cacheTest9
> Task :poi-ooxml:processTestResources
> Task :poi-ooxml:testClasses
> Task :poi-ooxml:testJar
> Task :poi-integration:compileTestJava
> Task :poi-integration:compileTest9
> Task :poi-integration:cacheTest9
> Task :poi-integration:processTestResources
> Task :poi-integration:testClasses
> Task :poi-integration:testJar
> Task :allJavaDoc
> Task :zipJavadocs

> Task :poi-integration:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; 
support was removed in 17.0
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.

> Task :poi-ooxml:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; 
support was removed in 17.0
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.

> Task :poi-excelant:compileJava
> Task :poi-excelant:compileJava9
> Task :poi-excelant:cacheJava9
> Task :poi-excelant:processResources
> Task :poi-excelant:classes
> Task :poi-excelant:jar
> Task :poi-excelant:javadoc
> Task :poi-excelant:javadocJar
> Task :poi-excelant:sourcesJar
> Task :poi-excelant:assemble
> Task :poi-excelant:forbiddenApisMain
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9
> Task :poi-excelant:cacheTest9
> Task :poi-excelant:processTestResources
> Task :poi-excelant:testClasses
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis
> Task :poi-excelant:testJar

> Task :poi-excelant:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; 
support was removed in 17.0
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.4.2/300ff084dd4d38e749c24945f2a5234bec3e99e0/spotbugs-4.4.2.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.4.2/300ff084dd4d38e749c24945f2a5234bec3e99e0/spotbugs-4.4.2.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-excelant:spotbugsTest
4 SpotBugs violations were found. See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-excelant/build/reports/spotbugs/test.xml>

> Task :poi-excelant:spotbugsMain
4 SpotBugs violations were found. See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-excelant/build/reports/spotbugs/main.xml>

> Task :poi-excelant:check
> Task :poi-excelant:build
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:forbiddenApisTest
> Task :poi-integration:forbiddenApis
> Task :poi-integration:spotbugsMain NO-SOURCE

> Task :poi-integration:spotbugsTest
6 SpotBugs violations were found. See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-integration/build/reports/spotbugs/test.xml>

> Task :poi-ooxml:javadoc
> Task :poi-integration:check
> Task :poi-integration:build
> Task :poi-ooxml:javadocJar
> Task :poi-ooxml:sourcesJar
> Task :poi-ooxml:assemble
> Task :poi-ooxml:forbiddenApisMain
> Task :poi-ooxml:forbiddenApisTest
> Task :poi-ooxml:forbiddenApis
> Task :replaceVersion

> Task :poi:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:22:
 warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
import java.security.AccessControlException;
                    ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:28:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
import java.security.AccessController;
                    ^
2 warnings

> Task :poi-ooxml:spotbugsMain
> Task :poi:javadocJar
> Task :poi-ooxml:spotbugsTest

> Task :poi:sourcesJar
Execution optimizations have been disabled for task ':poi:sourcesJar' to ensure 
correctness due to the following reasons:
  - Gradle detected a problem with the following location: 
'<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/generated-sources'.>
 Reason: Task ':poi:sourcesJar' uses this output of task 
':poi:generateVersionJava' without declaring an explicit or implicit 
dependency. This can lead to incorrect results being produced, depending on 
what order the tasks are executed. Please refer to 
https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency
 for more details about this problem.

> Task :poi:assemble
> Task :poi:forbiddenApisMain
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis

> Task :poi:test
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; 
support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports

> Task :poi-ooxml:spotbugsTest
95 SpotBugs violations were found. See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/build/reports/spotbugs/test.xml>
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.4.2/300ff084dd4d38e749c24945f2a5234bec3e99e0/spotbugs-4.4.2.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.4.2/300ff084dd4d38e749c24945f2a5234bec3e99e0/spotbugs-4.4.2.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-ooxml:spotbugsMain
585 SpotBugs violations were found. See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/build/reports/spotbugs/main.xml>

> Task :poi:spotbugsMain
> Task :poi:spotbugsTest
447 SpotBugs violations were found. See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/test.xml>

> Task :poi:spotbugsMain
445 SpotBugs violations were found. See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/main.xml>

> Task :poi:test
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
org.apache.poi.poifs.dev.TestPOIFSDump 
(<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/classes/java/test/)>
WARNING: Please consider reporting this to the maintainers of 
org.apache.poi.poifs.dev.TestPOIFSDump
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-ooxml:check
> Task :poi-ooxml:build
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:compileOoxmlLite
> Task :poi-ooxml-lite:compileJava
> Task :poi-ooxml-lite:compileJava9
> Task :poi-ooxml-lite:cacheJava9
> Task :poi-ooxml-lite:processResources
> Task :poi-ooxml-lite:classes
> Task :poi-ooxml-lite:jar
> Task :binDistTar
> Task :binDistZip
> Task :srcDistTar FAILED
> Task :fixDistDir

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':srcDistTar'.
> Entry poi-src-5.1.1-SNAPSHOT-20211105/LICENSE is a duplicate but no duplicate 
> handling strategy has been set. Please refer to 
> https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy
>  for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during 
this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 26m 47s
113 actionable tasks: 104 executed, 9 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to