1 of 1 people found this helpful
Well that artifact is not of type jar but pom.
But in any case you shouldn't be importing wildfly parent, as it will bring way too much stuff.
for user applications one needs only deps that are provided by WildFly boms.
see GitHub - wildfly/boms: Various Useful WildFly BOMs for how to use them.
I needed some time to read into all these documents. I understand now the concept of a BOM and know how to use it but there is still something missing.
It seems these BOMs contain only artefacts which are under control of jboss. For example they don't include commons-lang3, log4j but these libraries are shipped with wildfly (
How can I make sure at runtime the commons-lang3 from the wildfly container is being used and not additionally deployed by maven.
Can I just use:
<version>3.0</version> // add version because it's not in the BOM
<scope>provided</scope> // tell maven to use the containers jar