Build error with gradle (command line)

Kevin Rushforth kevin.rushforth at oracle.com
Tue May 11 11:36:28 UTC 2021


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