Is there a way to manually exclude layers with WildFly Glow CLI?
I think it might have detected a layer that is not used as for example JPA and Micrometer.
I'm not really sure but just ran "./wildfly-glow scan --help" and see some options that might be helpful:
"
--add-layers-for-jndi=<layer>[,<layer>...]
List of layers. In the case some
layers are missing, consider adding them manually with this
option.
--disable-deployers=<add-on>[,<add-on>...]
A comma separated list of deployer
names to disable. To retrieve all the deployer names call the show-configuration operation. To
disable them all, use ALL value. Can
only be used with OPENSHIFT kind of
provisioning.
--input-feature-packs-file=<provisioning
file path>
Galleon feature-packs used by
wildfly-glow are retrieved from an online registry. To override
the set of feature-packs you can specify a path to a Galleon
provisioning XML file containing the set of Galleon
feature-packs to be used by wildfly-glow.
"
Try the "wildfly-glow show-configuration" command to see the different feature packs and deployers. I think you would have to use the --input-feature-packs-file option with "jpa" not specified in the "Galleon provisioning XML file containing the set of Galleon feature-packs to be used by wildfly-glow" file that you pass in, where you choose which feature packs to include.
Hope that helps.
Scott
Thanks --
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/a37a516e-3340-4777-a1c0-c8073485a82bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/86d43535-ca43-45c2-ad8e-09de3dfca22d%40redhat.com.
primefaces/src/main/java/org/primefaces/model/JpaLazyDataModel.java:import javax.persistence.EntityManager;
primefaces/src/main/java/org/primefaces/model/JpaLazyDataModel.java:import javax.persistence.TypedQuery;
primefaces/src/main/java/org/primefaces/model/JpaLazyDataModel.java:import javax.persistence.criteria.*;
Their build has some shading stuff going on that I believe ends up converting those imports from javax.persistence to jakarta.persistence.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/f00e0a2a-479b-4dc1-bfff-91407af4498fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/e00670ee-b9db-40f4-8715-6b9c734dd5e1n%40googlegroups.com.