Build error with gradle (command line)

Kevin Rushforth kevin.rushforth at oracle.com
Tue May 11 11:41:05 UTC 2021


I see that Ajit answered already with option #1 and that you are going 
to try option #2. We might want to document this on the "Building 
JavaFX" Wiki page.

To expand on this a bit, what I think must have happened is that the 
contents of the pom files changed some time in the not-too-distant-past 
so that the current checksums don't match those previously cached pom files.

-- Kevin


On 5/11/2021 4:36 AM, Kevin Rushforth wrote:
> We've had a couple other reports about this. The solutions that you 
> can try (should only be needed one time) are:
>
> 1. gradle --refresh-dependencies ...
>
> 2. Remove the gradle cache before building:
>     cd $USERPROFILE/.gradle
>     rm -rf caches native
>     gradle ...
>
> If this doesn't work, I will propose that we disable checking of the 
> pom files in verification.xml.
>
> -- Kevin
>
>
> On 5/11/2021 2:28 AM, Jeanette Winzenburg wrote:
>>
>> Just sync'ed my local repository with upstream .. now can't build 
>> with gradle, the error:
>>
>> * Where:
>> Build file 
>> 'C:\Daten\data-for-work\eclipse\gitrep-openjdk\jfx-fork\build.gradle' 
>> line: 4249
>>
>> * What went wrong:
>> A problem occurred evaluating root project 'jfx-fork'.
>>> Dependency verification failed for configuration ':apps:lucene'
>>   8 artifacts failed verification:
>>     - apache-13.pom (org.apache:apache:13) from repository MavenRepo
>>     - lucene-core-7.7.3.pom (org.apache.lucene:lucene-core:7.7.3) 
>> from repository MavenRepo
>>     - lucene-grouping-7.7.3.pom 
>> (org.apache.lucene:lucene-grouping:7.7.3) from repository MavenRepo
>>     - lucene-parent-7.7.3.pom (org.apache.lucene:lucene-parent:7.7.3) 
>> from repository MavenRepo
>>     - lucene-queries-7.7.3.pom 
>> (org.apache.lucene:lucene-queries:7.7.3) from repository MavenRepo
>>     - lucene-queryparser-7.7.3.pom 
>> (org.apache.lucene:lucene-queryparser:7.7.3) from repository MavenRepo
>>     - lucene-sandbox-7.7.3.pom 
>> (org.apache.lucene:lucene-sandbox:7.7.3) from repository MavenRepo
>>     - lucene-solr-grandparent-7.7.3.pom 
>> (org.apache.lucene:lucene-solr-grandparent:7.7.3) from repository 
>> MavenRepo
>>   This can indicate that a dependency has been compromised. Please 
>> carefully verify the checksums.
>>
>> Looks like I have to update some local files, shouldn't that happen 
>> automagically?
>>
>> -- Jeanette
>>
>>
>



More information about the openjfx-dev mailing list