private BuiltProject getSubmodule(BuiltProject builtProject, String pomfile) { BuiltProjectImpl submodule = new BuiltProjectImpl( pomfile ); submodule.setMavenBuildExitCode(builtProject.getMavenBuildExitCode()); submodule.setMavenLog(builtProject.getMavenLog()); return submodule; }
final File projectDirectory = build.getModel().getProjectDirectory(); final Path normalize = projectDirectory.toPath().normalize(); return build.getDefaultBuiltArchive();
.build(); if (builtProject.getMavenBuildExitCode() != 0) { System.out.println(builtProject.getMavenLog()); throw new IllegalStateException("Maven build has failed, see logs for details");
.build(); if (builtProject.getMavenBuildExitCode() != 0) { System.out.println(builtProject.getMavenLog()); throw new IllegalStateException("Maven build has failed, see logs for details");