Web modules are enumerated but with no effect for deployment
------------------------------------------------------------
Key: MECLIPSE-647
URL: http://jira.codehaus.org/browse/MECLIPSE-647
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Components: WTP support
Affects Versions: 2.8
Reporter: Dmitry Katsubo
Attachments: java_ee_dependencies.png
After running {{mvn eclipse:eclipse}} WST modules are enumerated in
{{.settings/org.eclipse.wst.common.component}} but with no effect: when I
deploy the project into embedded Tomcat server, the dependant modules are not
included into deployment (see attachment). I need to go to project properties
and select all projects manually. I have tried to force
{{maven-eclipse-plugin}} to disable project links via
{{[useProjectReference|http://jira.codehaus.org/browse/MECLIPSE-20]}}, but it
had no effect. It would be nice of course to keep references as project
references to enable on spot synchronization, but if there is not other way out
then just link them as snapshot jars.
Additional information:
* Eclipse v3.5.2
* I have simple WAR project in Maven:
{code}
+- client
+ .settings
+ src
+ webapp
+ pom.xml
...
{code}
* Relative plugin settings are:
{code:xml|title=pom.xml}
<project>
...
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<useProjectReference>false</useProjectReference>
<wtpversion>2.0</wtpversion>
</configuration>
</plugin>
</plugins>
</build>
</project>
{code}
--
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