deleting the caches did work, at last ;)

To summarize:

./gradlew --refresh-dependencies
got rid of the initial error (problems with dependencies around lucene libs), but then barked about junit

cd MyProfile/.gradle
rm -rf caches native

made it work gain (hopefully permanent ;)

Thanks everybody for the quick help,

-- Jeanette

Zitat von Kevin Rushforth <kevin.rushfo...@oracle.com>:

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





Reply via email to