Closed GiovaniGuizzo closed 1 year ago
The following piece of code from the addDirMaven method in the Project.java class seems buggy:
addDirMaven
String outputTest = null; if (build != null) { model.getBuild().getTestOutputDirectory(); } if (outputTest == null) { outputTest = "target" + File.separator + "test-classes"; }
outputTest is always null and the result of model.getBuild().getTestOutputDirectory(); is never used. Is this line supposed to be outputTest = model.getBuild().getTestOutputDirectory();?
outputTest
null
model.getBuild().getTestOutputDirectory();
outputTest = model.getBuild().getTestOutputDirectory();
If this is buggy, then we need a few test cases to test this.
Resolved in the last commit.
The following piece of code from the
addDirMaven
method in the Project.java class seems buggy:outputTest
is alwaysnull
and the result ofmodel.getBuild().getTestOutputDirectory();
is never used. Is this line supposed to beoutputTest = model.getBuild().getTestOutputDirectory();
?