HADOOP-11743. maven doesn't clean all the site files (Contributed by ramtin)

This commit is contained in:
Vinayakumar B 2015-05-22 16:37:38 +05:30
parent 132d909d4a
commit 55ed6558ba
6 changed files with 64 additions and 2 deletions

View File

@ -746,6 +746,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11955. Fix a typo in the cluster setup doc. HADOOP-11955. Fix a typo in the cluster setup doc.
(Yanjun Wang via aajisaka) (Yanjun Wang via aajisaka)
HADOOP-11743. maven doesn't clean all the site files
(ramtin via vinayakumarb)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -942,7 +942,8 @@
<fileset> <fileset>
<directory>src/site/markdown/release</directory> <directory>src/site/markdown/release</directory>
<includes> <includes>
<include>${project.version}</include> <include>${project.version}/</include>
<include>index.md</include>
</includes> </includes>
<followSymlinks>false</followSymlinks> <followSymlinks>false</followSymlinks>
</fileset> </fileset>

View File

@ -395,6 +395,21 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src/site/resources</directory>
<includes>
<include>configuration.xsl</include>
<include>hdfs-default.xml</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@ -97,6 +97,21 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src/site/resources</directory>
<includes>
<include>configuration.xsl</include>
<include>mapred-default.xml</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -293,7 +293,21 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src/site/resources</directory>
<includes>
<include>configuration.xsl</include>
<include>yarn-default.xml</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -149,6 +149,20 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src/site/resources</directory>
<includes>
<include>configuration.xsl</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>