[forge-issues] [JBoss JIRA] (FORGE-1014) Web Root directory is hard-coded to src/main/webapp

George Gastaldi (JIRA) jira-events at lists.jboss.org
Mon Jul 15 10:01:26 EDT 2013


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

George Gastaldi closed FORGE-1014.
----------------------------------

         Assignee: George Gastaldi
    Fix Version/s: 1.3.4.Final
                   2.0.0.Alpha7
       Resolution: Done


Fixed
                
> Web Root directory is hard-coded to src/main/webapp
> ---------------------------------------------------
>
>                 Key: FORGE-1014
>                 URL: https://issues.jboss.org/browse/FORGE-1014
>             Project: Forge
>          Issue Type: Bug
>          Components: Maven Plugin
>    Affects Versions: 1.3.3.Final
>            Reporter: Fred Bricon
>            Assignee: George Gastaldi
>             Fix For: 1.3.4.Final, 2.0.0.Alpha7
>
>
> 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> :
> {noformat}
>       <plugin>
>         <artifactId>maven-war-plugin</artifactId>
>         <version>2.4</version>
>         <configuration>
>           <warSourceDirectory>WebContent</warSourceDirectory>
>           <failOnMissingWebXml>false</failOnMissingWebXml>
>         </configuration>
>       </plugin>
> {noformat}
> Scaffolding UI from entities generates resources under src/main/webapp.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list