FileNameMapping is now deprecated after the version 3.0.0 of the maven-ear-plugin.
Is there an equivalent way of using "no-version-for-ejb" with OutputFileNameMapping ?
FileNameMapping is now deprecated after the version 3.0.0 of the maven-ear-plugin.
Is there an equivalent way of using "no-version-for-ejb" with OutputFileNameMapping ?
I think you can use this: Customizing A Module Filename
For me, it worked when omitting the new "outputFileNameMapping" and adding this snippet to "pom.xml" of the EAR project:
My sample EAR contained also a Web module. After adding this snippet, the EJB jar had a fixed named, but the WAR file still had the default name built from "groupId-artifactId-version.war".