[
https://issues.jboss.org/browse/FORGE-624?page=com.atlassian.jira.plugin....
]
George Gastaldi updated FORGE-624:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 1.0.6.Final
Resolution: Done
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
Assignee: George Gastaldi
Fix For: 1.0.6.Final
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira