You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2007/07/25 18:05:13 UTC

[jira] Commented: (MECLIPSE-309) warSourceDirectory incorrectly resolved inside a reactor (with a relative path)

    [ http://jira.codehaus.org/browse/MECLIPSE-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103298 ] 

Dan Tran commented on MECLIPSE-309:
-----------------------------------

duplicate of http://jira.codehaus.org/browse/MECLIPSE-296.

You can try out the latest deployed 2.5-SNAPSHOT.



> 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: multiproject
>    Affects Versions: 2.4
>            Reporter: Arnaud Heritier
>            Assignee: Arnaud Heritier
>
> 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