Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-624

Source folder are not read from POM

    XMLWordPrintable

Details

    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"); }

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            jer_jira Jérémie Lagarde (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: