Left menu not generated when run site:site outside the pom.xm directory 
specifying the pom.xml location with -f maven argument
------------------------------------------------------------------------------------------------------------------------------

                 Key: MSITE-305
                 URL: http://jira.codehaus.org/browse/MSITE-305
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-6
         Environment: Windows XP Professional Version 2002 Service Pack 2
            Reporter: Mael Caldas
            Priority: Critical


When a run the mvn site:site outside the root pom.xml 's directory, specifying 
the location of the pom.xml with the -f argument, the site menu is generated 
empty!

That is my dir structure:

My_CC_View\
           |
           |____My_CC_VOB\
                              |
                              |____project
                              
                                            |
                                            |___pom.xml

So, I go to the My_CC_View and run the command:

mvn -f My_CC_VOB/project/pom.xml site:site site:deploy

The build goes ok, the site is generated, but without the left menu!!!!

This is because I'm using Continuum with ClearCase, and the directory structure 
is aways created like this on checkout, so I have to specify the pom.xml file 
with the relative path, and continuum runs the maven commands on the root view 
directory... and that is used as the basedir, not the pom.xml 's dir...



-- 
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