HDDS-1165. Document generation in maven should be configured on execution level. Contributed by Anu Engineer.
This commit is contained in:
parent
d0e21ac16b
commit
1b87668a3b
@ -31,6 +31,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -43,17 +44,17 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||||||
<goal>exec</goal>
|
<goal>exec</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>compile</phase>
|
<phase>compile</phase>
|
||||||
|
<configuration>
|
||||||
|
<executable>${shell-executable}</executable>
|
||||||
|
<workingDirectory>${project.build.directory}</workingDirectory>
|
||||||
|
<arguments>
|
||||||
|
<argument>${basedir}/dev-support/bin/generate-site.sh</argument>
|
||||||
|
<argument>${hdds.version}</argument>
|
||||||
|
<argument>${project.build.directory}</argument>
|
||||||
|
</arguments>
|
||||||
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
|
||||||
<executable>${shell-executable}</executable>
|
|
||||||
<workingDirectory>${project.build.directory}</workingDirectory>
|
|
||||||
<arguments>
|
|
||||||
<argument>${basedir}/dev-support/bin/generate-site.sh</argument>
|
|
||||||
<argument>${hdds.version}</argument>
|
|
||||||
<argument>${project.build.directory}</argument>
|
|
||||||
</arguments>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.rat</groupId>
|
<groupId>org.apache.rat</groupId>
|
||||||
|
Loading…
Reference in New Issue
Block a user