Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C61542004C8 for ; Mon, 9 May 2016 12:29:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C49E916098A; Mon, 9 May 2016 10:29:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E52241601D4 for ; Mon, 9 May 2016 12:29:02 +0200 (CEST) Received: (qmail 65556 invoked by uid 500); 9 May 2016 10:29:02 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 65544 invoked by uid 99); 9 May 2016 10:29:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 10:29:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4E85A180573 for ; Mon, 9 May 2016 10:29:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.021 X-Spam-Level: X-Spam-Status: No, score=-0.021 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id zwyDs3E_K4zF for ; Mon, 9 May 2016 10:28:59 +0000 (UTC) Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 220575F3A1 for ; Mon, 9 May 2016 10:28:59 +0000 (UTC) Received: by mail-ig0-f179.google.com with SMTP id c3so14625233igl.0 for ; Mon, 09 May 2016 03:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=aMwoO8SM7GqNAd5FRg9T4SCInQLpiAVBSVVIuZzUvnY=; b=UUyf/KTUvjPAcoNgZSQ/lp3t9vWYiDIuK+QfVVbQ/GY06j2OKianhgNqSSH/pTKOE5 3QkfV8A07XIP0leLHwfEMiz9IV9jhqic3i6K3YvYeJPmDCQYWvRebNmjkBNsk6Voa05q mQkMHKGOfkuVbYhI9OIEkfncV7sXGd7r27QqLQePGk296gl9Ey4OjMSgp4kKqJ18bQT5 g5mRrz7bNuYVnvN9hOqpXFGXBzG15sglfokIIV9116WpKQmYiauz3el4y8hbMyvZN/18 zkx1kQSwvHQnFHXt6wAYG04LnzlJ+t60SPJ+EjIXf5dD7O9A8UGZuPGbZFXUYNbuaVlw 6Szg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=aMwoO8SM7GqNAd5FRg9T4SCInQLpiAVBSVVIuZzUvnY=; b=QE+NI79Tkxd6Y4ocUh0IgcYc/lY1wFGdtCjgYb6X7SJRTpitRba5Q+rk+eaTa+GVKb VJvxy8IpeusIHwSFZgdHbb/03y/BWxgv7x0KtZw/iQ3ey5t/PShflEKccEaokMWBkPON vtMZWrok2gcR0oybPtI7Y+XyPFUbmgg56etoqiT3hStrwcFtvX0dvzQUuUFJY1oZN/bY XG2junqBwMRrPJGlnBSSbC6zfM1EmCkHhl+oMsR941FdNWQlxrV4PWRlEWeEmYItuYKW uqCp6wpplMlVtY8wd0hXrKG7eIf3L/AWztvDrQqA2t+1UNAhllWFboTLOAWhNDyjuZrA 4hAw== X-Gm-Message-State: AOPr4FWiYBtR1hVohy3yCLBbfNkAoAIhxJZzb+k6cgtp9ZtnWMN+XYf0PyTYLQg6rAdCojIgejLrvLoxZ1M1VA== MIME-Version: 1.0 X-Received: by 10.50.114.135 with SMTP id jg7mr11001740igb.53.1462789732018; Mon, 09 May 2016 03:28:52 -0700 (PDT) Received: by 10.107.148.79 with HTTP; Mon, 9 May 2016 03:28:51 -0700 (PDT) In-Reply-To: References: <20160506123146.3AC433A019E@svn01-us-west.apache.org> Date: Mon, 9 May 2016 11:28:51 +0100 Message-ID: Subject: Re: svn commit: r1742539 - /commons/proper/io/trunk/pom.xml From: sebb To: Commons Developers List Content-Type: text/plain; charset=UTF-8 archived-at: Mon, 09 May 2016 10:29:04 -0000 On 9 May 2016 at 10:56, sebb wrote: > On 9 May 2016 at 08:15, Benedikt Ritter wrote: >> Hi, >> >> Benson Margulies schrieb am So., 8. Mai 2016 um >> 15:11 Uhr: >> >>> As far as I could see, mvn site-deploy is running the >>> maven-scm-publish-plugin, that is using that URL from >>> distribution-management. maybe someone configured it wrong. I'm happy >>> to pass the whole issue off to you. >>> >> >> I've tried building the site from trunk, but I got: >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on >> project commons-io: Execution default-site of goal >> org.apache.maven.plugins:maven-site-plugin:3.4:site failed. >> NullPointerException -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e >> switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException >> >> Any idea? > > How does the IO pom differ from other Commons projects that don't have > this issue? Actually that won't help. However using -e as suggested by Maven shows: Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.4:site failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: java.lang.NullPointerException at org.codehaus.mojo.clirr.ClirrReportGenerator$ApiChangeComparator.compare(ClirrReportGenerator.java:64) at org.codehaus.mojo.clirr.ClirrReportGenerator$ApiChangeComparator.compare(ClirrReportGenerator.java:57) So there's a bug in the Clirr plugin. -Dclirr.skip=true should in theory skip the report, however that does not work. My guess is that it would not run that code if report generation were skipped, thus avoiding the NPE. One can use -Dcommons.clirr.version=2.6 to downgrade the Clirr version; that fixes the issue for me. The version can be overridden in the pom properties for now in any projects that trigger the issue. NET also uses CP40 but does not cause the NPE. Note: to speed up such testing, the -Psite-quick profile is useful (although in theory it will not run Clirr!) I will try reporting the bugs against the plugin >> Benedikt >> >> >>> >>> On Sun, May 8, 2016 at 8:13 AM, Benedikt Ritter >>> wrote: >>> > Hi Benson, >>> > >>> > Benson Margulies schrieb am So., 8. Mai 2016 um >>> > 14:05 Uhr: >>> > >>> >> When I arrived as the RM, I found a URL in there that ended with >>> >> 'commons-i'. >>> >> >>> >> So, when I did the release, I patched it to end with 'commons-io' >>> >> before running the site-deploy that runs the maven-scm-publish-plugin. >>> >> >>> >> The result was javadoc at the root of the site, instead of down where >>> >> it belongs. >>> >> >>> >> So, I hypothesized that I needed to make the change that is under >>> >> discussion here. If it's the wrong change, someone please replace it >>> >> with the right change. >>> >> >>> > >>> > your first patch was correct. The URL should end with commons-io. Have a >>> > look at the site directory of commons lang [1]. The apidocs directory >>> > contains the current JavaDocs. It is deployed by mvn site-deploy. In >>> > addition to that, we manually add release JavaDocs to the javadoc >>> > directory. It serves as an archive. >>> > >>> > For whatever reason, the apidocs directory is missing in the commons-io >>> > site directory. I'll try to have a look later today or tomorrow morning. >>> > >>> > BR, >>> > Benedikt >>> > >>> > [1] >>> > >>> https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang/ >>> > >>> > >>> >> >>> >> >>> >> On Sun, May 8, 2016 at 7:44 AM, Benedikt Ritter >>> >> wrote: >>> >> > sebb schrieb am So., 8. Mai 2016 um 13:17 Uhr: >>> >> > >>> >> >> On 6 May 2016 at 13:31, wrote: >>> >> >> > Author: bimargulies >>> >> >> > Date: Fri May 6 12:31:46 2016 >>> >> >> > New Revision: 1742539 >>> >> >> > >>> >> >> > URL: http://svn.apache.org/viewvc?rev=1742539&view=rev >>> >> >> > Log: >>> >> >> > Fix the javadoc publication URL. >>> >> >> >>> >> >> -1 >>> >> >> >>> >> >> That is not only used for Javadoc. >>> >> >> It is used for the entire site. >>> >> >> >>> >> > >>> >> > Yes, it is interpreted by mvn site-deploy. What exactly where you >>> trying >>> >> to >>> >> > fix? I'm sure we can find another way to fix this. >>> >> > >>> >> > Benedikt >>> >> > >>> >> > >>> >> >> >>> >> >> > Modified: >>> >> >> > commons/proper/io/trunk/pom.xml >>> >> >> > >>> >> >> > Modified: commons/proper/io/trunk/pom.xml >>> >> >> > URL: >>> >> >> >>> >> >>> http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=1742539&r1=1742538&r2=1742539&view=diff >>> >> >> > >>> >> >> >>> >> >>> ============================================================================== >>> >> >> > --- commons/proper/io/trunk/pom.xml (original) >>> >> >> > +++ commons/proper/io/trunk/pom.xml Fri May 6 12:31:46 2016 >>> >> >> > @@ -44,7 +44,7 @@ file comparators, endian transformation >>> >> >> > >>> >> >> > apache.website >>> >> >> > Apache Commons Site >>> >> >> > - scm:svn: >>> >> >> >>> >> >>> https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-io/ >>> >> >> >>> >> >> > + scm:svn: >>> >> >> >>> >> >>> https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-io/javadocs/api-${project.version} >>> >> >> >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> >>> >> >> --------------------------------------------------------------------- >>> >> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>> >> >> For additional commands, e-mail: dev-help@commons.apache.org >>> >> >> >>> >> >> >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>> >> For additional commands, e-mail: dev-help@commons.apache.org >>> >> >>> >> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>> For additional commands, e-mail: dev-help@commons.apache.org >>> >>> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org