Add boost dependencies to classpath
@@ -304,9 +304,7 @@ public class DevMojo extends StartDebugMojoSupport {
if (usingBoost) {
log.info("Running boost:package");
runBoostMojo("package", true);
- this.existingPom = modifiedPom;
- return true;
- } else {
+ }
MavenProject updatedProject = loadProject(buildFile);
List<Dependency> dependencies = updatedProject.getDependencies();
log.debug("Dependencies size: " + dependencies.size());
@@ -361,6 +359,10 @@ public class DevMojo extends StartDebugMojoSupport {
this.existingDependencies = dependencies;
this.existingPom = modifiedPom;
+ return true;
+ } else {
+ if (usingBoost) {
+ this.existingPom = modifiedPom;
return true;
} else {
log.info(
@@ -368,7 +370,6 @@ public class DevMojo extends StartDebugMojoSupport {
}
}
}
-
} catch (Exception e) {
log.debug("Could not recompile pom.xml", e);
}
