Skip to content

Commit 51c5f0b

Browse files
committed
Move mojo deploy after copy of gen. features file to serverDir
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
1 parent c7c09bb commit 51c5f0b

File tree

1 file changed

+1
-1
lines changed
  • liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server

1 file changed

+1
-1
lines changed

liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/server/DevMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,12 +1175,12 @@ public boolean recompileBuildFile(File buildFile, Set<String> compileArtifactPat
11751175
} else if (createServer) {
11761176
runLibertyMojoCreate();
11771177
} else if (redeployApp) {
1178-
runLibertyMojoDeploy();
11791178
// Copy the file here to be used by updateExistingFeatures() below
11801179
// If generateToSrc is false then we must copy new generated features file from temp dir to server dir after install
11811180
if (generateFeaturesSuccess && !generateToSrc) {
11821181
util.copyGeneratedFeaturesFile(serverDirectory); // finalize the generate-features operation
11831182
}
1183+
runLibertyMojoDeploy();
11841184
// Update the features after deploy mojo has copied the config files to server dir and generated features file added
11851185
if (generateFeaturesSuccess) {
11861186
updateExistingFeatures(); // update the dev mode cache of features in the server

0 commit comments

Comments
 (0)