Skip to content

wildfly/wildfly-archetypes

Repository files navigation

WildFly archetypes

This project contains Maven Archetypes to generate Maven projects to develop Jakarta EE applications with WildFly

Component dependencies

The versions of all dependencies and plugins that are used by this archetype are configured in the parent's pom.xml.

To update the archetypes to new versions:

Injection of dependencies in the archetypes resources

The versions of all dependencies and plugins that are used by this archetype are configured in the parent's pom.xml.

For each archetype, their archetype-resources pom.xml is still in Git but in a separate source tree (e.g. wildfly-jakartaee-ear-archetype/src/main/resources-filtered/archetype-resources/pom.xml). When the archetypes are built, their pom.xml are filtered with the property values from the parent pom (so their own version.wildfly.bom will have the actual value of the parent's version.wildfly.bom).

The reason of this structure is that we want to evaluate some property values when we built the archetype (for the versions) and keep others that will be evaluate when the project is generated by the archetypes (eg ${rootArtifactId}) . The latter properties are escaped from filtering by prepending a /.