HBASE-14764 Stop using post-site target
This commit is contained in:
parent
48be35cb7e
commit
21b607e322
100
pom.xml
100
pom.xml
|
@ -909,7 +909,7 @@
|
||||||
<goals>
|
<goals>
|
||||||
<goal>transform</goal>
|
<goal>transform</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>pre-site</phase>
|
<phase>site</phase>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -965,54 +965,6 @@
|
||||||
<suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
|
<suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
|
||||||
<!--$NO-MVN-MAN-VER$ -->
|
|
||||||
<inherited>false</inherited>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-htaccess</id>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<phase>post-site</phase>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>${basedir}/src/main/site/resources/</directory>
|
|
||||||
<includes>
|
|
||||||
<include>.htaccess</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<!-- needed to make the redirect above work -->
|
|
||||||
<execution>
|
|
||||||
<id>copy-empty-book-dir</id>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<phase>post-site</phase>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>${basedir}/src/main/site/resources/</directory>
|
|
||||||
<includes>
|
|
||||||
<include>book/**</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<escapeString>\</escapeString>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
|
@ -1087,6 +1039,54 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<!--$NO-MVN-MAN-VER$ -->
|
||||||
|
<inherited>false</inherited>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-htaccess</id>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>site</phase>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${basedir}/src/main/site/resources/</directory>
|
||||||
|
<includes>
|
||||||
|
<include>.htaccess</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<!-- needed to make the redirect above work -->
|
||||||
|
<execution>
|
||||||
|
<id>copy-empty-book-dir</id>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>site</phase>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${basedir}/src/main/site/resources/</directory>
|
||||||
|
<includes>
|
||||||
|
<include>book/**</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<escapeString>\</escapeString>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
@ -1096,7 +1096,7 @@
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>rename-pdf</id>
|
<id>rename-pdf</id>
|
||||||
<phase>post-site</phase>
|
<phase>site</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target name="rename file">
|
<target name="rename file">
|
||||||
<move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
|
<move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
|
||||||
|
|
Loading…
Reference in New Issue