Skip to content

Commit

Permalink
Added export of hasMainJavaSourceDirectory field
Browse files Browse the repository at this point in the history
  • Loading branch information
salmonb committed Mar 19, 2024
1 parent 5cd5750 commit d61562d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/dev/webfx/mavenplugin/ExportMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ private static void exportChildModuleProject(ProjectModule childModule, DevProje
Element childProjectElement = (Element) document.importNode(childDocument.getDocumentElement(), true);
// Making the project name explicit (so the import knows what module we are talking about)
childProjectElement.setAttribute("name", childModule.getName());
childProjectElement.setAttribute("hasMainJavaSourceDirectory", String.valueOf(childModule.hasMainJavaSourceDirectory()));
childProjectElement.setAttribute("hasMainWebFxSourceDirectory", String.valueOf(childModule.hasMainWebFxSourceDirectory()));
// Removing tags that are not necessary for the import: <update-options>, <maven-pom-manual>
String[] unnecessaryTags = {"update-options", "maven-pom-manual"};
Expand Down

0 comments on commit d61562d

Please sign in to comment.