Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.2
-
Fix Version/s: 1.3
-
Labels:None
Description
I changed maven.final.name in project.properties and built the EAR.
=> ${maven.final.name}.ear in /target
Running ear:install copies this file to MavenRepoLocal/.../${pom.artifactId}.ear
=> Different file names
The target filename is generated in org.apache.maven.artifact.deployer.DefaultArtifactDeployer.getRepositoryFullPath(...) and doesn't depends on ${maven.final.name}.
It should copy it to
repo/${pom.groupId}/ears/${pom.artifactId}-${pom.currentVersion}.ear