I need to configure where my Maven 2 project's site files are located, by default they are src/site/, I'd like to point them to src-documentation/site, how would I override Maven's default conventin?
+1
A:
As maven-site-plugin documentation says you need to configure plugin
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0</version>
<configuration>
<siteDirectory>${basedir}/src-documentation/site</siteDirectory>
</configuration>
</plugin>
</plugins>
cetnar
2009-11-12 10:33:31
+1 for the right answer
Pascal Thivent
2010-03-26 16:02:29