Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Enable exclusion of certain reflection entries during build #897

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

aclement
Copy link
Contributor

@aclement aclement commented Jul 8, 2021

Using a comma separated list of Java regexes, exclude entries from reflect-config.json. For example:

mvn -DskipTests -Dspring.native.reflection-exclusions=\
  "org.springframework.boot.autoconfigure.sql.init.Sql.*,org.springframework.aop.*" -Pnative clean package

mvn -DskipTests -Dspring.native.reflection-exclusions="org.springframework.boot..*Configuration" -Pnative clean package

Possibly useful if experimenting with excluding configurations as 0.11 takes shape

Using a comma separated list of Java regexes, exclude entries from
reflect-config.json.  For example:

mvn -DskipTests -Dspring.native.reflection-exclusions=\
  "org.springframework.boot.autoconfigure.sql.init.Sql.*,org.springframework.aop.*" -Pnative clean package

Possibly useful if experimenting with excluding configurations
as 0.11 takes shape
@sdeleuze sdeleuze added this to the 0.10.2 milestone Jul 9, 2021
@sdeleuze sdeleuze added the type: enhancement A general enhancement label Jul 9, 2021
@sdeleuze sdeleuze merged commit 41cbcc7 into spring-attic:main Jul 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement A general enhancement
Development

Successfully merging this pull request may close these issues.

2 participants