With 'mvn package site -Pjacoco' all is well.

So +1!

Gary

On Sat, Oct 14, 2017 at 12:56 PM, Gary Gregory <garydgreg...@gmail.com>
wrote:

> Running with:
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T13:39:06-06:00)
> Maven home: C:\Java\apache-maven-3.5.0\bin\..
> Java version: 1.8.0_144, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_144\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Not a blocker:
>
> [WARNING] Javadoc Warnings
> [WARNING] C:\temp\rc\commons-compress-1.15-src\src\main\java\org\
> apache\commons\compress\archivers\zip\ZipLong.java:127: warning: no
> description for @return
> [WARNING] * @return
> [WARNING] ^
> [WARNING] C:\temp\rc\commons-compress-1.15-src\src\main\java\org\
> apache\commons\compress\archivers\zip\ZipLong.java:86: warning: no
> description for @param
> [WARNING] * @param value
> [WARNING] ^
>
> Running 'mvn clean site' fails for me with:
>
> [INFO] Generating "japicmp" report       --- japicmp-maven-plugin:0.9.3:
> cmp-report
> [debug] No packaging support defined, no filtering
> [debug] Searching for versions in versionRange: (,1.15)
> [debug] Parameter <oldVersionPattern> not configured, i.e. no version
> filtered.
> [warn] No new version specified and file 
> 'C:\temp\rc\commons-compress-1.15-src\target\classes'
> of artifact could not be opened as jar archive:
> C:\temp\rc\commons-compress-1.15-src\target\classes (Access is denied)
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 01:47 min
> [INFO] Finished at: 2017-10-14T12:43:58-06:00
> [INFO] Final Memory: 74M/810M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.6:site
> (default-site) on project commons-compress: Error generating
> japicmp-maven-plugin:0.9.3:cmp-report: Failed to generate report: Please
> provide at least one resolvable new version using one of the configuration
> elements <newVersion/> or <newVersions/>. -> [Help 1]
> [ERROR]
>
> I notice that the RM's site contains a japicmp report.
>
> If I run with the latest japicmp plugin 0.10.0, I get the same error but
> presented differently:
>
> mvn clean site -Dcommons.japicmp.version=0.10.0
>
> [INFO] Generating "japicmp" report       --- japicmp-maven-plugin:0.10.0:
> cmp-report
> [debug] No packaging support defined, no filtering
> [debug] Searching for versions in versionRange: (,1.15)
> [debug] Parameter <oldVersionPattern> not configured, i.e. no version
> filtered.
> [warn] No new version specified and file 
> 'C:\temp\rc\commons-compress-1.15-src\target\classes'
> of artifact could not be opened as jar archive:
> C:\temp\rc\commons-compress-1.15-src\target\classes (Access is denied)
>
> java.io.FileNotFoundException: 
> C:\temp\rc\commons-compress-1.15-src\target\classes
> (Access is denied)
>         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)
>         at japicmp.maven.JApiCmpMojo.populateArchivesListsFromParam
> eters(JApiCmpMojo.java:317)
>         at japicmp.maven.JApiCmpMojo.getOptions(JApiCmpMojo.java:680)
>         at japicmp.maven.JApiCmpMojo.executeWithParameters(
> JApiCmpMojo.java:112)
>         at japicmp.maven.JApiCmpReport.executeReport(JApiCmpReport.
> java:72)
>         at org.apache.maven.reporting.AbstractMavenReport.generate(
> AbstractMavenReport.java:255)
>         at org.apache.maven.plugins.site.render.ReportDocumentRenderer.
> renderDocument(ReportDocumentRenderer.java:229)
>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(
> DefaultSiteRenderer.java:337)
>         at org.apache.maven.plugins.site.render.SiteMojo.renderLocale(
> SiteMojo.java:178)
>         at org.apache.maven.plugins.site.render.SiteMojo.execute(
> SiteMojo.java:132)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> DefaultBuildPluginManager.java:134)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:208)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:154)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:146)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:117)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:81)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.
> SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.
> execute(LifecycleStarter.java:128)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> main(Launcher.java:356)
>
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 01:41 min
> [INFO] Finished at: 2017-10-14T12:50:46-06:00
> [INFO] Final Memory: 76M/796M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.6:site
> (default-site) on project commons-compress: Error generating
> japicmp-maven-plugin:0.10.0:cmp-report: Failed to generate report: Please
> provide at least one resolvable new version using one of the configuration
> elements <newVersion/> or <newVersions/>. -> [Help 1]
> [ERROR]
>
> Switching to Java 7:
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T13:39:06-06:00)
> Maven home: C:\Java\apache-maven-3.5.0\bin\..
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_80\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
>
> Same problem:
>
> [INFO] Generating "japicmp" report       --- japicmp-maven-plugin:0.9.3:
> cmp-report
> [debug] No packaging support defined, no filtering
> [debug] Searching for versions in versionRange: (,1.15)
> [debug] Parameter <oldVersionPattern> not configured, i.e. no version
> filtered.
> [warn] No new version specified and file 
> 'C:\temp\rc\commons-compress-1.15-src\target\classes'
> of artifact could not be opened as jar archive:
> C:\temp\rc\commons-compress-1.15-src\target\classes (Access is denied)
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 01:56 min
> [INFO] Finished at: 2017-10-14T12:54:40-06:00
> [INFO] Final Memory: 69M/470M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.6:site
> (default-site) on project commons-compress: Error generating
> japicmp-maven-plugin:0.9.3:cmp-report: Failed to generate report: Please
> provide at least one resolvable new version using one of the configuration
> elements <newVersion/> or <newVersions/>. -> [Help 1]
> [ERROR]
>
> Thoughts?
>
> ASC, MD5, SHA1 OK
> CLIRR and RAT checks OK.
>
> Gary
>
> On Sat, Oct 14, 2017 at 7:45 AM, Stefan Bodewig <bode...@apache.org>
> wrote:
>
>> Hi all
>>
>> this is mostly a bugfix release but it was about time for a new release.
>>
>> Compress 1.15 RC1 is available for review here:
>>     https://dist.apache.org/repos/dist/dev/commons/compress/ (svn
>> revision 22476)
>>
>> The tag is here:
>>     https://git-wip-us.apache.org/repos/asf?p=commons-compress.g
>> it;a=tag;h=ae82f93454d4dcd57ac1ed7d53114bda2f82c8f3
>>     on commit
>>     https://git-wip-us.apache.org/repos/asf?p=commons-compress.g
>> it;a=commit;h=01b06d5ef5c5ac3bd651bedcfec7433231cea371
>>
>> Maven artifacts are here:
>>     https://repository.apache.org/content/repositories/orgapache
>> commons-1277/org/apache/commons/commons-compress/1.15/
>>
>> These are the Maven artifacts and their sha1 hashes
>>
>> b686cd04abaef1ea7bc5e143c080563668eec17e  commons-compress-1.15.jar
>> 3f5c9429da7cc2ca4b73a415928fac5f9949c798  commons-compress-1.15.jar.asc
>> 9a165c3cc83158820bfa0691dcd15379fa3c8ab9  commons-compress-1.15-javadoc.
>> jar
>> 05b6759fa95e7981c7ca0982c37880bd784e6642  commons-compress-1.15-javadoc.
>> jar.asc
>> 670c082e6fc3a99950ee385edc4d9352fb0a99d7  commons-compress-1.15.pom
>> d68decca16fa849cf432fd8e29510f1a21100518  commons-compress-1.15.pom.asc
>> a82a61e0bbce4e06281c675af7422553bf20ca8f  commons-compress-1.15-sources.
>> jar
>> 73da7e4ccac26460b301edd7ece1ac3546e2842e  commons-compress-1.15-sources.
>> jar.asc
>> 0e23a1617451c69488e57141c1ca99929d25ed5e  commons-compress-1.15-tests.jar
>> 8d7535a2d7efa4c870f93946289669efc74a7f78  commons-compress-1.15-tests.ja
>> r.asc
>> 9149c762ebf2248c0f20b62b59d827535f6604a4  commons-compress-1.15-test-sou
>> rces.jar
>> e545455b5fd7ec12b8ddfa8cec92af2df056aa9a  commons-compress-1.15-test-sou
>> rces.jar.asc
>>
>> I have tested this with JDK 8 using Maven 3.3.9.
>>
>> Details of changes since 1.14 are in the release notes:
>>     https://dist.apache.org/repos/dist/dev/commons/compress/RELE
>> ASE-NOTES.txt
>>     https://stefan.samaflost.de/staging/commons-compress-1.15/ch
>> anges-report.html
>>
>> Site:
>>     https://stefan.samaflost.de/staging/commons-compress-1.15/
>>   (as usual I'll re-create the site once the release date is known,
>>     download links and the links for thr 1.15 javadocs don't work)
>>
>> japicmp Report (compared to 1.14):
>>     https://stefan.samaflost.de/staging/commons-compress-1.15/ja
>> picmp.html
>>
>> RAT Report:
>>     https://stefan.samaflost.de/staging/commons-compress-1.15/ra
>> t-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 14:00 UTC 17-October 2017
>>
>>   [ ] +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
>>
>>
>

Reply via email to