Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-305

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0-beta-6
    • 2.0-beta-7
    • None
    • None
    • Windows XP Professional Version 2002 Service Pack 2

    Description

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

      Attachments

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            maelcaldas Mael Caldas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: