[ http://jira.codehaus.org/browse/MIDEA-30?page=all ]
Brett Porter closed MIDEA-30:
-----------------------------
Assign To: Brett Porter
Resolution: Fixed
> 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
> Assignee: Brett Porter
> Fix For: 2.0
> Attachments: MIDEA-30.patch
>
>
> 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