Skip to content

Commit

Permalink
[m2e] Change the configuration of the source folders.
Browse files Browse the repository at this point in the history
see #980

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Mar 2, 2020
1 parent 6187370 commit cc98568
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -236,7 +236,7 @@ protected void addSourceFolders(
descriptor = classpath.addSourceEntry(
outputPath,
facade.getOutputLocation(),
false);
true);
descriptor.setPomDerived(true);
descriptor.setClasspathAttribute(IClasspathAttribute.IGNORE_OPTIONAL_PROBLEMS, Boolean.TRUE.toString());
subMonitor.worked(1);
Expand All @@ -251,7 +251,7 @@ protected void addSourceFolders(
descriptor = classpath.addSourceEntry(
testInputPath,
facade.getTestOutputLocation(),
true);
false);
descriptor.setPomDerived(true);
descriptor.setClasspathAttribute(IClasspathAttribute.TEST, Boolean.TRUE.toString());
}
Expand Down

0 comments on commit cc98568

Please sign in to comment.