Hi
I have an ear artifact with the finalName tag in its assembly definition in POM.
<artifactId>application-app</artifactId>
...
<build>
<finalName>application</finalName>
This causes me to get the artifact application application as the application.ear file when I create it. It is important that the ear file be named so due to some difficult integration with other solutions.
The problem is that we have several specific building projects that include this ear as a dependency provided. Since the actual name of the artifact is the application, it is issued as application-app.ear -> crash on execution.
Changing the artifact identifier from application to application is not an option.
Do you know how to implement finalName as an operation subject to dependecies (I think in the package phase ...)?
source
share