[forge-issues] [JBoss JIRA] (FORGE-624) Source folder are not read from POM

George Gastaldi (JIRA) jira-events at lists.jboss.org
Fri Aug 10 17:30:06 EDT 2012


     [ https://issues.jboss.org/browse/FORGE-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-624.
---------------------------------


    
> 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

       



More information about the forge-issues mailing list