ear.bundle.name) to define the name a dependency should have the EAR.maven.ear.displayname.ear.bundle.dir) to define where a dependency should be added in the EAR.(it does not matter if the value of ear.bundle.dir starts with a slash (/) or not - it will always be relative to the root of the EAR)
+ It is also possible to change the name by which the dependency will be bundles using the ear.bundle.name property:
+
In the example above, the dependency will be bundled simply as aJar and not jarArtifactId.aversion; note that ear.bundle.name and ear.bundle.dir can be used together:
Finally, please note that if a jar is a java client module, you will need to declare
it using the ear.module property, rather than ear.bundle: