[FORGE-624] Source folder are not read from POM Created: 08/Aug/12  Updated: 10/Aug/12  Resolved: 08/Aug/12

Status: Closed
Project: Forge
Component/s: Build Tools - Maven
Affects Version/s: None
Fix Version/s: 1.0.6.Final

Type: Bug Priority: Major
Reporter: Jérémie Lagarde Assignee: George Gastaldi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Git Pull Request: https://github.com/forge/core/pull/186

 Description   

The name of the source directory is hardcoded into the MavenJavaSourceFacet class.

It would be interesting to read it directly in the pom file.

public DirectoryResource getSourceFolder()

{ return projectRoot.getChildDirectory("src" + File.separator + "main" + File.separator + "java"); }

@Override
public DirectoryResource getTestSourceFolder()

{ DirectoryResource projectRoot = project.getProjectRoot(); return projectRoot.getChildDirectory("src" + File.separator + "test" + File.separator + "java"); }
Generated at Tue Oct 16 18:09:08 EDT 2018 using Jira 7.12.1#712002-sha1:609a50578ba6bc73dbf8b05dddd7c04a04b6807c.