"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "buildSrc/src/main/java/org/springframework/boot/build/mavenplugin/MavenExec.java" between
spring-boot-2.7.3.tar.gz and spring-boot-2.7.4.tar.gz

About: Spring Boot helps to create Spring-powered, production-grade applications and services.

MavenExec.java  (spring-boot-2.7.3):MavenExec.java  (spring-boot-2.7.4)
skipping to change at line 49 skipping to change at line 49
*/ */
public class MavenExec extends JavaExec { public class MavenExec extends JavaExec {
private final Logger log = LoggerFactory.getLogger(MavenExec.class); private final Logger log = LoggerFactory.getLogger(MavenExec.class);
private File projectDir; private File projectDir;
public MavenExec() { public MavenExec() {
setClasspath(mavenConfiguration(getProject())); setClasspath(mavenConfiguration(getProject()));
args("--batch-mode"); args("--batch-mode");
setMain("org.apache.maven.cli.MavenCli"); getMainClass().set("org.apache.maven.cli.MavenCli");
} }
public void setProjectDir(File projectDir) { public void setProjectDir(File projectDir) {
this.projectDir = projectDir; this.projectDir = projectDir;
getInputs().file(new File(projectDir, "pom.xml")).withPathSensiti vity(PathSensitivity.RELATIVE) getInputs().file(new File(projectDir, "pom.xml")).withPathSensiti vity(PathSensitivity.RELATIVE)
.withPropertyName("pom"); .withPropertyName("pom");
} }
@Override @Override
public void exec() { public void exec() {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)