The japicmp error is a bug in CP.

The tag <ignoreMissingNewVersion /> does not define the value as true;
instead it is ignored. The pom needs to provide an explicit value.

Also the config needs to be added to the report section instead (or
possibly as well to allow for cli use) because mvn site reports don't
use the build settings.

Fixing this avoids the build failure, though there is a stack trace
which should not be shown (this seems to have been introduced in
0.9.4)

Note that japicmp is enabled in compress; it can be disabled using -P-japicmp

I also see:

Feb 03, 2018 10:28:16 AM
net.sourceforge.pmd.lang.java.typeresolution.ClassTypeResolver visit
WARNING: Could not find class
org.apache.commons.compress.archivers.sevenz.LZMADecoder, due to:
java.lang.IllegalAccessError: class
org.apache.commons.compress.archivers.sevenz.LZMADecoder cannot access
its superclass org.apache.commons.compress.archivers.sevenz.CoderBase


On 3 February 2018 at 09:40, sebb <seb...@gmail.com> wrote:
> I get the following failure with 'mvn clean site' using
>
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T16:41:47+00:00)
> Maven home: /opt/apache-maven-3.3.9
> Java version: 1.8.0_151, vendor: Oracle Corporation
> Java home: 
> /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "mac os x", version: "10.13.3", arch: "x86_64", family: "mac"
>
>
>
> [INFO] Generating "japicmp" report              ---
> japicmp-maven-plugin:0.11.0:cmp-report
> [debug] No packaging support defined, no filtering
> [debug] Searching for versions in versionRange: (,1.16)
> [INFO] artifact org.apache.commons:commons-compress: checking for
> updates from central
> [debug] Parameter <oldVersionPattern> not configured, i.e. no version 
> filtered.
> [warn] No new version specified and file
> '/private/tmp/CC/commons-compress-1.16-src/target/classes' of artifact
> could not be opened as jar archive:
> /private/tmp/CC/commons-compress-1.16-src/target/classes (Is a
> directory)
> java.io.FileNotFoundException:
> /private/tmp/CC/commons-compress-1.16-src/target/classes (Is a
> directory)
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:225)
> at java.util.zip.ZipFile.<init>(ZipFile.java:155)
> at java.util.jar.JarFile.<init>(JarFile.java:166)
> at java.util.jar.JarFile.<init>(JarFile.java:130)
> ...
>
> Looks like this might be a pom config issue?
>
> There are also some quite noisy tests.
>
> On 2 February 2018 at 18:14, Stefan Bodewig <bode...@apache.org> wrote:
>> As indicated I think it is time to get Compress 1.16 out.
>>
>> Compress 1.16 RC1 is available for review here:
>>     https://dist.apache.org/repos/dist/dev/commons/compress/ (svn revision 
>> 24646)
>>
>> The tag is here:
>>     
>> https://git-wip-us.apache.org/repos/asf?p=commons-compress.git;a=tag;h=ead7ce22ad9aae1d099bb920a5bd6968a62177ad
>>
>> Maven artifacts are here:
>>     
>> https://repository.apache.org/content/repositories/orgapachecommons-1303/org/apache/commons/commons-compress/1.16/
>>
>> These are the Maven artifacts and their sha256 hashes
>>
>> 24aecd2a5223cf38fa438c789eb150bf87808dde225c9f199025af3a3bf5f2a8  
>> commons-compress-1.16.jar
>> a7e719e734e28c2b05ad97cde17491d76ed2f82bfdaa3445d2ab0a5108494fc5  
>> commons-compress-1.16-javadoc.jar
>> 2f6f535dbad8d3929204608d0c6bf81bd0f94782aa2df89129e3ca10d7f54943  
>> commons-compress-1.16.pom
>> 1472aca5ea66fe67c4dcde1a90667a3b0908b0f4ae56b55ef02f0b31f0709c82  
>> commons-compress-1.16-sources.jar
>> 6381b09dfff184da2454b5590b94807604e5d7ee72af6eea6573d3b8af518a78  
>> commons-compress-1.16-tests.jar
>> d963a9cc8e314de0aabc3d7adccf4bc8449223b50b97722a9c17c7bb34117677  
>> commons-compress-1.16-test-sources.jar
>>
>> I have tested this with JDK 8 ... using Maven 3
>>
>> Details of changes since 1.15 are in the release notes:
>>     https://dist.apache.org/repos/dist/dev/commons/compress/RELEASE-NOTES.txt
>>     
>> https://stefan.samaflost.de/staging/commons-compress-1.16/changes-report.html
>>
>> Site:
>>     https://stefan.samaflost.de/staging/commons-compress-1.16/
>>
>> As usual when I cut a release this is not the site I'm going to
>> publish. I'll publish a fresh site from master once the release date
>> is known.
>>
>> The download link and the link to the 1.16 javadocs are not expected
>> to work.
>>
>> japicmp Report (compared to 1.15):
>>     https://stefan.samaflost.de/staging/commons-compress-1.16/japicmp.html
>>
>> Note that japicmp reports a source incompatible change to
>> LZ77Compressor.Block that I consider OK as the class is only used
>> internally and nobody is supposed to create subclasses outside of
>> Commons Compress.
>>
>> RAT Report:
>>     https://stefan.samaflost.de/staging/commons-compress-1.16/rat-report.html
>>
>> KEYS:
>>   https://www.apache.org/dist/commons/KEYS
>>
>> Please review the release candidate and vote.
>> This vote will close no sooner that 72 hours from now,
>> i.e. sometime after 19:00 UTC 05-March 2018
>>
>>   [ ] +1 Release these artifacts
>>   [ ] +0 OK, but...
>>   [ ] -0 OK, but really should fix...
>>   [ ] -1 I oppose this release because...
>>
>> Thanks!
>>
>> Stefan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to