Hi all,

I am trying to specify a site descriptor for a legacy project that does
not have a standard maven layout, and so I need to define that site.xml
should be found in ${basedir}/site/site.xml.

Apparently the siteDirectory parameter within the site plugin is used to
specify where the site.xml file can be found, but this isn't stated
explicitly in any docs I have found to date.

In this case the site.xml file is being ignored (it's contents have no
effect, and the stdout of mvn site makes no reference whatsoever to
site.xml).

First question: does the siteDirectory parameter specify the location of
the site.xml file, in addition to the apt, fml and xdoc directories, or am
I barking up the wrong tree?

Is there some kind of debugging strategy I can use to confirm where maven
is looking for the site.xml file, if at all?

I have configured siteDirectory as follows:

  <build>
    <plugins>
      <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-site-plugin</artifactId>
       <configuration>
         <siteDirectory>${basedir}/site/</siteDirectory>
       </configuration>
      </plugin>
    </plugins>
  </build>

Does anyone have any ideas?

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to