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

        

Reply via email to