GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Layers DSL follow-up: configuration-cache and test cleanup by jvukicev · Pull Request #1034 · graalvm/native-build-tools

Conversation

@jvukicev

@jvukicev jvukicev commented Aug 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

  • isolate named-layer lookup behind normalized Gradle properties so binaries that do not use layers retain no layer container, project, task container, or layer callbacks
  • add configuration-cache coverage proving no-layer nativeCompile and generateResourcesConfigFile graphs do not see layer producer tasks
  • make layered functional-test fixture replacements line-ending independent and exercise the CRLF path on every platform
  • make the Maven <layer> parameter optional in the shared plugin descriptor while retaining the explicit layer-create validation failure

Fixes #1027.
Fixes #1033.
Fixes #1031.

Follow-up from #1032

This carries forward only the accepted annotation change from #1032 (@Parameter(required = false)). It intentionally does not include that PR’s early return: explicitly invoking layer-create without a configured, non-blank layer name still fails instead of silently succeeding.

Validation

  • grund check
  • grund fmt . --marker --cross-refs --check
  • Gradle and Maven plugin Checkstyle
  • Gradle plugin unit tests and focused layer configuration-cache functional tests
  • no-layer configuration-cache regression test on Gradle 9.6.1
  • CRLF fixture regression test on Gradle 9.6.1
  • full layered native-image functional test with GraalVM 25.0.3, including configuration-cache reuse after changing the application
  • generated Maven plugin descriptor reports layer as optional
  • Maven unit test confirms layer-create without a configured layer still fails
  • Maven help:describe functional test confirms the published descriptor does not mark layer required.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jvukicev jvukicev added the bug Something isn't working label Aug 24, 2026
@jvukicev jvukicev self-assigned this Aug 24, 2026
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 24, 2026
jvukicev added 2 commits August 24, 2026 13:56
@jvukicev
Fix layer DSL configuration-cache isolation
cac6940
@jvukicev
Make layered test fixture edits line-ending independent
21b2b6b
@jvukicev
jvukicev force-pushed the fix/layers-dsl-followup-cleanup branch from d379575 to 968aebb Compare August 24, 2026 11:56
@jvukicev
Make Maven layer configuration descriptor optional
b761b6b
@jvukicev
jvukicev force-pushed the fix/layers-dsl-followup-cleanup branch from 4b788ab to b761b6b Compare August 24, 2026 14:15
@jvukicev
jvukicev requested a review from vjovanov August 24, 2026 16:26
@jvukicev
jvukicev marked this pull request as ready for review August 24, 2026 16:27
vjovanov
vjovanov approved these changes Aug 26, 2026
View reviewed changes
@jvukicev
Link layer regression tests to issues
5b65b98
@jvukicev
jvukicev merged commit f328d3a into graalvm:master Aug 26, 2026
51 checks passed

Uh oh!

There was an error while loading. Please reload this page.

mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Aug 30, 2026
@mergify
chore(deps): bump org.graalvm.buildtools:native-maven-plugin from 1.1…
ea82b76
….10 to 1.1.11 [skip ci]

Bumps [org.graalvm.buildtools:native-maven-plugin](https://github.com/graalvm/native-build-tools) from 1.1.10 to 1.1.11.
Release notes

*Sourced from [org.graalvm.buildtools:native-maven-plugin's releases](https://github.com/graalvm/native-build-tools/releases).*

> 1.1.11
> ------
>
> What's Changed
> --------------
>
> * Release 1.1.9 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1022](https://redirect.github.com/graalvm/native-build-tools/pull/1022)
> * Bump version to 1.1.10-SNAPSHOT by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1023](https://redirect.github.com/graalvm/native-build-tools/pull/1023)
> * Update reachability metadata to 1.0.11 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1028](https://redirect.github.com/graalvm/native-build-tools/pull/1028)
> * Make NativeImageLayerRuntimeTest platform-independent by [`@​vpelikh`](https://github.com/vpelikh) in [graalvm/native-build-tools#1024](https://redirect.github.com/graalvm/native-build-tools/pull/1024)
> * Release 1.1.10 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1030](https://redirect.github.com/graalvm/native-build-tools/pull/1030)
> * Move grund.toml to the project roots by [`@​vjovanov`](https://github.com/vjovanov) in [graalvm/native-build-tools#1026](https://redirect.github.com/graalvm/native-build-tools/pull/1026)
> * Bump version to 1.1.11-SNAPSHOT by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1035](https://redirect.github.com/graalvm/native-build-tools/pull/1035)
> * Update reachability metadata to 1.0.12 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1036](https://redirect.github.com/graalvm/native-build-tools/pull/1036)
> * Layers DSL follow-up: configuration-cache and test cleanup by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1034](https://redirect.github.com/graalvm/native-build-tools/pull/1034)
> * Fix Maven metadata copy across reactor modules by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1020](https://redirect.github.com/graalvm/native-build-tools/pull/1020)
> * Make embedded Maven output concise and reproducible by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1019](https://redirect.github.com/graalvm/native-build-tools/pull/1019)
> * Fix additive reachability metadata requires selection by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1018](https://redirect.github.com/graalvm/native-build-tools/pull/1018)
>
> New Contributors
> ----------------
>
> * [`@​vpelikh`](https://github.com/vpelikh) made their first contribution in [graalvm/native-build-tools#1024](https://redirect.github.com/graalvm/native-build-tools/pull/1024)
>
> **Full Changelog**: <graalvm/native-build-tools@1.1.9...1.1.11>


Commits

* [`6cf521c`](graalvm/native-build-tools@6cf521c) Release 1.1.11
* [`37fab88`](graalvm/native-build-tools@37fab88) Fix additive reachability metadata requires selection ([#1018](https://redirect.github.com/graalvm/native-build-tools/issues/1018))
* [`c300d9f`](graalvm/native-build-tools@c300d9f) Make embedded Maven output concise and reproducible ([#1019](https://redirect.github.com/graalvm/native-build-tools/issues/1019))
* [`1987e3c`](graalvm/native-build-tools@1987e3c) Fix Maven metadata copy across reactor modules ([#1020](https://redirect.github.com/graalvm/native-build-tools/issues/1020))
* [`f328d3a`](graalvm/native-build-tools@f328d3a) Layers DSL follow-up: configuration-cache and test cleanup ([#1034](https://redirect.github.com/graalvm/native-build-tools/issues/1034))
* [`8ae8060`](graalvm/native-build-tools@8ae8060) Update reachability metadata to 1.0.12 ([#1036](https://redirect.github.com/graalvm/native-build-tools/issues/1036))
* [`6a60e3b`](graalvm/native-build-tools@6a60e3b) Merge pull request [#1035](https://redirect.github.com/graalvm/native-build-tools/issues/1035) from graalvm/bump-version-to-1.1.11-SNAPSHOT
* [`0eac49e`](graalvm/native-build-tools@0eac49e) Bump version to 1.1.11-SNAPSHOT
* [`f2d657c`](graalvm/native-build-tools@f2d657c) Move grund.toml to the project roots ([#1026](https://redirect.github.com/graalvm/native-build-tools/issues/1026))
* [`395d386`](graalvm/native-build-tools@395d386) Merge pull request [#1030](https://redirect.github.com/graalvm/native-build-tools/issues/1030) from graalvm/release/1.1.10
* Additional commits viewable in [compare view](graalvm/native-build-tools@1.1.10...1.1.11)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.graalvm.buildtools:native-maven-plugin&package-manager=maven&previous-version=1.1.10&new-version=1.1.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mergify Bot added a commit to robfrank/linklift that referenced this pull request Sep 6, 2026
@mergify
chore(deps): bump org.graalvm.buildtools:native-maven-plugin from 1.1…
8c4ce50
….9 to 1.1.11 [skip ci]

Bumps [org.graalvm.buildtools:native-maven-plugin](https://github.com/graalvm/native-build-tools) from 1.1.9 to 1.1.11.
Release notes

*Sourced from [org.graalvm.buildtools:native-maven-plugin's releases](https://github.com/graalvm/native-build-tools/releases).*

> 1.1.11
> ------
>
> What's Changed
> --------------
>
> * Release 1.1.9 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1022](https://redirect.github.com/graalvm/native-build-tools/pull/1022)
> * Bump version to 1.1.10-SNAPSHOT by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1023](https://redirect.github.com/graalvm/native-build-tools/pull/1023)
> * Update reachability metadata to 1.0.11 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1028](https://redirect.github.com/graalvm/native-build-tools/pull/1028)
> * Make NativeImageLayerRuntimeTest platform-independent by [`@​vpelikh`](https://github.com/vpelikh) in [graalvm/native-build-tools#1024](https://redirect.github.com/graalvm/native-build-tools/pull/1024)
> * Release 1.1.10 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1030](https://redirect.github.com/graalvm/native-build-tools/pull/1030)
> * Move grund.toml to the project roots by [`@​vjovanov`](https://github.com/vjovanov) in [graalvm/native-build-tools#1026](https://redirect.github.com/graalvm/native-build-tools/pull/1026)
> * Bump version to 1.1.11-SNAPSHOT by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1035](https://redirect.github.com/graalvm/native-build-tools/pull/1035)
> * Update reachability metadata to 1.0.12 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1036](https://redirect.github.com/graalvm/native-build-tools/pull/1036)
> * Layers DSL follow-up: configuration-cache and test cleanup by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1034](https://redirect.github.com/graalvm/native-build-tools/pull/1034)
> * Fix Maven metadata copy across reactor modules by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1020](https://redirect.github.com/graalvm/native-build-tools/pull/1020)
> * Make embedded Maven output concise and reproducible by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1019](https://redirect.github.com/graalvm/native-build-tools/pull/1019)
> * Fix additive reachability metadata requires selection by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#1018](https://redirect.github.com/graalvm/native-build-tools/pull/1018)
>
> New Contributors
> ----------------
>
> * [`@​vpelikh`](https://github.com/vpelikh) made their first contribution in [graalvm/native-build-tools#1024](https://redirect.github.com/graalvm/native-build-tools/pull/1024)
>
> **Full Changelog**: <graalvm/native-build-tools@1.1.9...1.1.11>
>
> 1.1.10
> ------
>
> What's Changed
> --------------
>
> * Release 1.1.9 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1022](https://redirect.github.com/graalvm/native-build-tools/pull/1022)
> * Bump version to 1.1.10-SNAPSHOT by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#1023](https://redirect.github.com/graalvm/native-build-tools/pull/1023)
>
> **Full Changelog**: <graalvm/native-build-tools@1.1.9...1.1.10>


Commits

* [`6cf521c`](graalvm/native-build-tools@6cf521c) Release 1.1.11
* [`37fab88`](graalvm/native-build-tools@37fab88) Fix additive reachability metadata requires selection ([#1018](https://redirect.github.com/graalvm/native-build-tools/issues/1018))
* [`c300d9f`](graalvm/native-build-tools@c300d9f) Make embedded Maven output concise and reproducible ([#1019](https://redirect.github.com/graalvm/native-build-tools/issues/1019))
* [`1987e3c`](graalvm/native-build-tools@1987e3c) Fix Maven metadata copy across reactor modules ([#1020](https://redirect.github.com/graalvm/native-build-tools/issues/1020))
* [`f328d3a`](graalvm/native-build-tools@f328d3a) Layers DSL follow-up: configuration-cache and test cleanup ([#1034](https://redirect.github.com/graalvm/native-build-tools/issues/1034))
* [`8ae8060`](graalvm/native-build-tools@8ae8060) Update reachability metadata to 1.0.12 ([#1036](https://redirect.github.com/graalvm/native-build-tools/issues/1036))
* [`6a60e3b`](graalvm/native-build-tools@6a60e3b) Merge pull request [#1035](https://redirect.github.com/graalvm/native-build-tools/issues/1035) from graalvm/bump-version-to-1.1.11-SNAPSHOT
* [`0eac49e`](graalvm/native-build-tools@0eac49e) Bump version to 1.1.11-SNAPSHOT
* [`f2d657c`](graalvm/native-build-tools@f2d657c) Move grund.toml to the project roots ([#1026](https://redirect.github.com/graalvm/native-build-tools/issues/1026))
* [`395d386`](graalvm/native-build-tools@395d386) Merge pull request [#1030](https://redirect.github.com/graalvm/native-build-tools/issues/1030) from graalvm/release/1.1.10
* Additional commits viewable in [compare view](graalvm/native-build-tools@1.1.9...1.1.11)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.graalvm.buildtools:native-maven-plugin&package-manager=maven&previous-version=1.1.9&new-version=1.1.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vjovanov vjovanov vjovanov approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@jvukicev jvukicev

Labels

bug Something isn't working OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

LayeredApplicationFunctionalTest fixture replacement fails with CRLF on Windows native-maven-plugin requires layer configuration Regression: 1.1.9 native tasks are not configuration-cache compatible

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jvukicev @vjovanov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.