You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Aaron Mulder (JIRA)" <ji...@codehaus.org> on 2006/03/04 23:05:13 UTC

[jira] Created: (MIDEA-30) Bad/missing settings for generated web app module

Bad/missing settings for generated web app module
-------------------------------------------------

         Key: MIDEA-30
         URL: http://jira.codehaus.org/browse/MIDEA-30
     Project: Maven 2.x Idea Plugin
        Type: Bug

    Reporter: Aaron Mulder


I generated an Idea project for an EAR with several modules including an EJB JAR and WAR.

The generated web app module has a web.xml location of modules/web/src/main/webapp/WEB-INF/web.xml and a web resource directory of modules/web/src/main/webapp as /

However, I have my webapp in src/webapp (not src/main/webapp) using:

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <warSourceDirectory>src/webapp</warSourceDirectory>
        </configuration>
      </plugin>
    </plugins>

Also, the app server was not populated for the web app module.

Finally, the web app module has a dependency on the EJB module.  In the generated project, that was reflected as the web app module having a library reference to the EJB output JAR.  It would be much better to reflect that as a dependency of the web app module on the EJB module, so that way any changes to the source of the EJB module would immediately be visible to the web app module, instead of waiting for a build/synchronize project cycle.

Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org