Jérémie Lagarde created FORGE-624:
-------------------------------------
Summary: 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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira