Skip to content

Commit

Permalink
Handle bundle packaging type
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Jun 23, 2023
1 parent 9dab2a6 commit 5b6adea
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ protected String getAppFileName(MavenProject project, boolean stripVersionIfConf
name += "-" + classifier;
}

if (project.getPackaging().equals("liberty-assembly")) {
String packagingType = project.getPackaging();
if (packagingType.equals("liberty-assembly")) {
name += ".war";
} else if (project.getPackaging().equals("ejb")) {
} else if (packagingType.equals("ejb") || packagingType.equals("bundle")) {
name += ".jar";
} else {
name += "." + project.getPackaging();
name += "." + packagingType;
}

return name;
Expand Down

0 comments on commit 5b6adea

Please sign in to comment.