[
http://jira.codehaus.org/browse/MECLIPSE-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arnaud Heritier closed MECLIPSE-309.
------------------------------------
Resolution: Duplicate
Fix Version/s: 2.5
> warSourceDirectory incorrectly resolved inside a reactor (with a relative
> path)
> -------------------------------------------------------------------------------
>
> Key: MECLIPSE-309
> URL: http://jira.codehaus.org/browse/MECLIPSE-309
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: Multi-projects
> Affects Versions: 2.4
> Reporter: Arnaud Heritier
> Assignee: Arnaud Heritier
> Fix For: 2.5
>
>
> If I define another directory for the warSource like in:
> {code:xml}
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
>
> <warSourceDirectory>src/webapp</warSourceDirectory>
> </configuration>
> </plugin>
> {code}
> the generated path in the wtp component used the basedir of the reactor
> instead of the project directory :-/
> A workaround is to set it with basedir :
> {code:xml}
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
>
> <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory>
> </configuration>
> </plugin>
> {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