Unless you are using a custom velocity template, you shouldn't set the <templateDirectory/> configuration option.

Jochen Wiedmann wrote:
Hi,

I've got a project, which I am currently moving to Maven.
Historically, the directory "src" is used for Java sources and this
cannot be changed easily. Not now, at least. Obviously, "src/site"
would be an unfortunate choice, which is why I am using the directory
"site".

Therefore, my POM contains the following section:

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <configuration>
          <siteDirectory>site</siteDirectory>
          <templateDirectory>site</templateDirectory>
        </configuration>
      </plugin>
    </plugins>
  </build>

However, the file site/site.xml is completely ignored. Am I doing
something wrong? Or is there something else I need to change?

Thanks,

Jochen





--
Dennis Lundberg

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

Reply via email to