]
George Gastaldi updated FORGE-624:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Source folder are not read from POM
-----------------------------------
Key: FORGE-624
URL:
https://issues.jboss.org/browse/FORGE-624
Project: Forge
Issue Type: Bug
Components: Maven Integration
Reporter: Jérémie Lagarde
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");
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: