It looks like the issue is related to the dist-archive module. A while ago, I 
used the approach from commons-rng and included the dist-archive module under 
the "release" profile. However, the dist-archive build requires "mvn site" to 
be run before or as part of the build (as indicated in the maven error message) 
and Jenkins uses the command "mvn clean deploy -Dgpg.skip -Prelease 
-Pjava-1.8", which does not build the site. commons-rng avoids this problem by 
not using the "release" profile in the Jenkins build at all. The 
commons-numbers Jenkins job does use the "release" profile but the build passes 
because dist-archive is not included in the profile. I followed commons-numbers 
here and removed dist-archive from the "release" profile and the Jenkins build 
is back to normal. My question now is, do we need/want to have dist-archive in 
the "release" profile?

-Matt
________________________________
From: Alex Herbert <alex.d.herb...@gmail.com>
Sent: Sunday, April 5, 2020 7:44 PM
To: Commons Developers List <dev@commons.apache.org>
Subject: Re: [Geometry] Build fails on Jenkins



> On 6 Apr 2020, at 00:15, Alex Herbert <alex.d.herb...@gmail.com> wrote:
>
>
>
>> On 5 Apr 2020, at 23:23, Gilles Sadowski <gillese...@gmail.com> wrote:
>>
>> Hello.
>>
>> All build have been failing[1], due to CheckStyle checking
>> a file which it shouldn't.
>>
>
> Jenkins runs the full release build and not the default goal (which is what 
> Travis is configured to do). So this is not usually seen during development 
> checks.
>
> Matt saw this when he was trialling the dist-archive release. It is fine the 
> first time on a clean checkout but the process creates this sha512 file in 
> the target output. So a second run within the same directory has the error.
>
> I’ve added an exclude for this file in the parent pom. We will see if it 
> fixes Jenkins.

It gets bit further now but fails at the stage-distributions goal in the 
commons-release-plugin. I’d have to reproduce locally to investigate.

Perhaps Matt may know if anything has changed in the dist-archive module 
recently with the preparations for the beta release.

>
> Alex
>
>
>> Regards,
>> Gilles
>>
>> [1] https://builds.apache.org/view/A-D/view/Commons/job/commons-geometry/
>>
>> ---------------------------------------------------------------------
>> 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