Skip to content

Make it run with JAVA 11#1

Merged
TobiasNx merged 7 commits into
masterfrom
testBuildingJar
Jun 10, 2026
Merged

Make it run with JAVA 11#1
TobiasNx merged 7 commits into
masterfrom
testBuildingJar

Conversation

@TobiasNx

Copy link
Copy Markdown
Contributor

@blackwinter I checked the script.

I was not able to build fatJar with JAVA 8 without the adjustments in 0ebcd5f
With the adjustments I was able to create metafacture-solr-0.3.0-plugin.jar

Interestingly I was able to use the created metafacture-solr-0.3.0-plugin.jar as plugin with the new runner of release 8.0.0 after adjusting he example workflows 1edd6af

After upgrading gradle and java and the dependencies to the status in core c345278
I was not able to build metafacture-solr-0.3.0-plugin.jar
The process runs into the following problem:

$ bash gradlew test fatJar

[Incubating] Problems report is available at: file:///home/tobias/git/metafacture-solr-plugin/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* Where:
Build file '/home/tobias/git/metafacture-solr-plugin/build.gradle' line: 30

* What went wrong:
A problem occurred evaluating root project 'metafacture-solr-plugin'.
> Could not set unknown property 'archiveName' for task ':fatJar' of type org.gradle.api.tasks.bundling.Jar.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 6s

Comment thread build.gradle Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you upgraded the Gradle version, you have to replace archiveName with archiveFileName (see documentation).

Comment thread README.adoc Outdated

```
gradlew test fatJar
bash gradlew test fatJar

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depends on your environment. Ideally, it would have been better written as ./gradlew. But since the Gradle wrapper scripts weren't made executable, you have to specify the script interpreter explicitly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I have no idea how to adjust this.

@blackwinter blackwinter assigned TobiasNx and unassigned blackwinter Feb 27, 2026
TobiasNx added 2 commits March 2, 2026 10:54
Turn README to md and update some content
@TobiasNx

TobiasNx commented Mar 2, 2026

Copy link
Copy Markdown
Contributor Author

@blackwinter could you have another look?

@TobiasNx TobiasNx assigned blackwinter and unassigned TobiasNx Mar 2, 2026
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@TobiasNx TobiasNx requested a review from blackwinter March 10, 2026 14:37
@TobiasNx TobiasNx assigned blackwinter and unassigned TobiasNx Mar 10, 2026
@TobiasNx TobiasNx moved this to Review in Metafacture Mar 10, 2026
@TobiasNx TobiasNx changed the title Test building jar Make it run with JAVA 11 Mar 10, 2026
Comment thread README.md Outdated
@blackwinter blackwinter assigned TobiasNx and unassigned blackwinter Mar 11, 2026
@TobiasNx TobiasNx removed their assignment Apr 14, 2026
@blackwinter blackwinter assigned TobiasNx and unassigned blackwinter Apr 14, 2026
@TobiasNx TobiasNx moved this from Review to Selected in Metafacture Jun 1, 2026
@TobiasNx TobiasNx merged commit d4a41e2 into master Jun 10, 2026
@TobiasNx TobiasNx deleted the testBuildingJar branch June 10, 2026 08:05
@github-project-automation github-project-automation Bot moved this from Selected to Done in Metafacture Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants