Author: brett Date: Tue Dec 7 21:08:52 2010 New Revision: 1043203 URL: http://svn.apache.org/viewvc?rev=1043203&view=rev Log: put a check in place to make sure a bad parent download won't ruin the site accidentally
Modified: maven/site/trunk/pom.xml Modified: maven/site/trunk/pom.xml URL: http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=1043203&r1=1043202&r2=1043203&view=diff ============================================================================== --- maven/site/trunk/pom.xml (original) +++ maven/site/trunk/pom.xml Tue Dec 7 21:08:52 2010 @@ -296,6 +296,30 @@ <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>check-site-inheritance</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>site</phase> + <configuration> + <rules> + <requireFilesExist> + <message>Generated site should have inherited the correct skin from the parent</message> + <!-- check assumes you've run with "clean" --> + <files> + <file>${project.build.directory}/site/images/apache-maven-project-2.png</file> + </files> + </requireFilesExist> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution>