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

Web Root directory is hard-coded to src/main/webapp

XMLWordPrintable

      Similar to FORGE-103, the web root directory is hard coded to src/main/webapp in https://github.com/forge/core/blob/c178b19bbae655b04648be21e2a368a5e57cf7d3/project-model-maven/src/main/java/org/jboss/forge/maven/facets/MavenWebResourceFacet.java#L48

      An eclipse project converted to maven uses WebContent as <warSourceDirectory> :

            <plugin>
              <artifactId>maven-war-plugin</artifactId>
              <version>2.4</version>
              <configuration>
                <warSourceDirectory>WebContent</warSourceDirectory>
                <failOnMissingWebXml>false</failOnMissingWebXml>
              </configuration>
            </plugin>
      

      Scaffolding UI from entities generates resources under src/main/webapp.

              rhn-support-ggastald George Gastaldi
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: