Skip to content

Commit 7bd2590

Browse files
authored
Add Mule package type to getTopmostApplicationModules (#385)
1 parent 527ebd3 commit 7bd2590

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/sbm-core/src/main/java/org/springframework/sbm/build/api/ApplicationModules.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ private List<Module> getModulesContainingMavens(List<MavenResolutionResult> mave
112112
*/
113113
public List<Module> getTopmostApplicationModules() {
114114
List<Module> topmostModules = new ArrayList<>();
115-
Set<String> packagingTypes = Set.of("jar","war");
115+
Set<String> packagingTypes = Set.of("jar","war","mule-application");
116116
modules.forEach(module -> {
117-
// is jar
118117
if (packagingTypes.contains(module.getBuildFile().getPackaging())) {
119118
// no other pom depends on this pom in its dependency section
120119
if (noOtherPomDependsOn(module.getBuildFile())) {

0 commit comments

Comments
 (0)