> On Apr 9, 2018, at 9:09 AM, Gary Gregory <garydgreg...@gmail.com> wrote: > > Dang, confusing, we need better docs in the parent pom for japicmp then? > Would that do it? Front and center.
And/Or we (I) just fix it for them. > > Gary > > > >> On Mon, Apr 9, 2018, 06:19 Rob Tompkins <chtom...@gmail.com> wrote: >> >> >> >>> On Apr 7, 2018, at 1:56 PM, Gary Gregory <garydgreg...@gmail.com> wrote: >>> >>> Hi Rob, >>> >>> Thank you for preparing yet another RC. >>> >>> When I run 'mvn clean package site' and 'mvn clean site' I get: >> >> Here’s the fun bit about this. If I include the “japicmp.skip” parameter, >> this exception still occurs. This happens when the >> “JApiCmpReport.getDescription()” method gets called by maven because in >> turn calls into "JApiCmpMojo.getOptions()” which has no references to skip >> whatsoever. References: >> >> >> https://github.com/siom79/japicmp/blob/master/japicmp-maven-plugin/src/main/java/japicmp/maven/JApiCmpReport.java#L126 >> < >> https://github.com/siom79/japicmp/blob/master/japicmp-maven-plugin/src/main/java/japicmp/maven/JApiCmpReport.java#L126 >>> >> >> https://github.com/siom79/japicmp/blob/master/japicmp-maven-plugin/src/main/java/japicmp/maven/JApiCmpMojo.java#L703 >> < >> https://github.com/siom79/japicmp/blob/master/japicmp-maven-plugin/src/main/java/japicmp/maven/JApiCmpMojo.java#L703 >>> >> >> I think we’ll have to do more fixes to japicmp to get these to go away. >> I’m still ok with rolling a new RC simply for the fact of updating the >> archive plugin, but I’m not sure if we can get around this error. Note, my >> stacktrace when running with “japicmp.skip” follows after my name. >> >> -Rob >> >> [info] Skipping execution because parameter 'skip' was set to true. >> [debug] Searching for versions in versionRange: (,46) >> [info] Unable to find a previous version of the project in the repository. >> [warn] No new version specified and file >> '/Users/tompkicr/Dropbox/devhome/svn/commons-parent/pom.xml' of artifact >> could not be opened as jar archive: error in opening zip file >> >> java.util.zip.ZipException: error in opening zip file >> 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.populateArchivesListsFromParameters(JApiCmpMojo.java:345) >> at japicmp.maven.JApiCmpMojo.getOptions(JApiCmpMojo.java:708) >> at japicmp.maven.JApiCmpReport.getOptions(JApiCmpReport.java:108) >> at >> japicmp.maven.JApiCmpReport.getDescription(JApiCmpReport.java:127) >> at >> org.apache.maven.plugins.site.render.CategorySummaryDocumentRenderer.renderDocument(CategorySummaryDocumentRenderer.java:155) >> at >> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:349) >> at >> org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java:184) >> at >> org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:133) >> at >> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) >> 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:56) >> at >> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956) >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:194) >> 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] Generating "japicmp" report --- >>> japicmp-maven-plugin:0.11.1:cmp-report >>> [debug] No packaging support defined, no filtering >>> [info] Skipping execution because packaging of this module is 'pom'. >>> [debug] Searching for versions in versionRange: (,46) >>> [INFO] artifact org.apache.commons:commons-parent: checking for updates >>> from central >>> [debug] Parameter <oldVersionPattern> not configured, i.e. no version >>> filtered. >>> [warn] No new version specified and file >>> 'C:\temp\rc\commons-parent-46-src\pom.xml' of artifact could not be >> opened >>> as jar archive: error in opening zip file >>> >>> java.util.zip.ZipException: error in opening zip file >>> 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.populateArchivesListsFromParameters(JApiCmpMojo.java:345) >>> at japicmp.maven.JApiCmpMojo.getOptions(JApiCmpMojo.java:708) >>> at japicmp.maven.JApiCmpReport.getOptions(JApiCmpReport.java:108) >>> at >>> japicmp.maven.JApiCmpReport.getDescription(JApiCmpReport.java:127) >>> at >>> >> org.apache.maven.plugins.site.render.CategorySummaryDocumentRenderer.renderDocument(CategorySummaryDocumentRenderer.java:155) >>> at >>> >> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:349) >>> at >>> >> org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java:184) >>> at >>> org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:133) >>> at >>> >> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) >>> 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:56) >>> at >>> >> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) >>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956) >>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290) >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:194) >>> 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) >>> >>> [warn] Please provide at least one resolvable new version using one of >> the >>> configuration elements <newVersion/> or <newVersions/>. >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] BUILD SUCCESS >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 22.978 s >>> [INFO] Finished at: 2018-04-07T11:52:28-06:00 >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> Running 'mvn package' is OK. >>> >>> I am using: >>> >>> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; >>> 2018-02-24T12:49:05-07:00) >>> Maven home: C:\Java\apache-maven-3.5.3\bin\.. >>> Java version: 1.8.0_162, vendor: Oracle Corporation >>> Java home: C:\Program Files\Java\jdk1.8.0_162\jre >>> Default locale: en_US, platform encoding: Cp1252 >>> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >>> >>> Gary >>> >>> >>> >>> >>> On Sat, Apr 7, 2018 at 8:33 AM, Rob Tompkins <chtom...@apache.org> >> wrote: >>> >>>> Hello all, >>>> >>>> >>>> This is a [LAZY][VOTE] for releasing Apache Commons Parent 46 (from >> RC1). >>>> >>>> >>>> Tag name: >>>> commons-parent-46-RC1 >>>> >>>> >>>> Tag URL: >>>> https://svn.apache.org/repos/asf/commons/proper/commons- >>>> parent/tags/commons-parent-46-RC1/ >>>> >>>> >>>> Commit ID the tag points at: >>>> 1828594 >>>> >>>> >>>> Site Zip: >>>> >> https://dist.apache.org/repos/dist/dev/commons/commons-parent/site.zip >>>> >>>> >>>> Distribution files (committed at revision 26215): >>>> https://dist.apache.org/repos/dist/dev/commons/commons-parent/ >>>> >>>> >>>> Distribution files hashes (SHA1): >>>> commons-parent-46-src.tar.gz >>>> (SHA1: e7f853fb128e265dda53378e0dc48496e234b515) >>>> commons-parent-46-src.zip >>>> (SHA1: f8a541ee6c47087faadd15b965a639ffc1479308) >>>> >>>> >>>> These are the Maven artifacts and their hashes: >>>> commons-parent-46-site.xml >>>> (SHA1: 02b3b54d26d97a72fd55b20d027040ca0daf52b7) >>>> commons-parent-46.pom >>>> (SHA1: ab870c61db51aec38cba6ee86f594a7f744d9a26) >>>> >>>> >>>> KEYS file to check signatures: >>>> http://www.apache.org/dist/commons/KEYS >>>> >>>> >>>> Maven artifacts: >>>> https://repository.apache.org/content/repositories/ >>>> orgapachecommons-1322 >>>> >>>> >>>> Please select one of the following options[1]: >>>> [ ] +1 Release it. >>>> [ ] +0 Go ahead; I don't care. >>>> [ ] -0 There are a few minor glitches: ... >>>> [ ] -1 No, do not release it because ... >>>> >>>> >>>> This vote will be open at least 72 hours, i.e. until >>>> 2018-04-10T15:00:00Z >>>> (this is UTC time). >>>> >>>> -------- >>>> >>>> >>>> Cheers, >>>> -Rob >>>> >>>> >>>> [1] http://apache.org/foundation/voting.html >>>> --------------------------------------------------------------------- >>>> 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