Fix plugin phase

This commit is contained in:
Fabio Sinibaldi 2022-07-08 15:53:59 +02:00
parent c20e11ff8e
commit da9bbdc563
1 changed files with 30 additions and 19 deletions

View File

@ -207,6 +207,31 @@
</executions>
</plugin>
<!-- SPHINX PLUGIN triggered at 'compile'-->
<plugin>
<groupId>kr.motd.maven</groupId>
<artifactId>sphinx-maven-plugin</artifactId>
<version>2.10.0</version>
<configuration>
<outputDirectory>${project.build.directory}/wiki</outputDirectory>
<builder>html</builder>
<configDirectory>src/site/sphinx</configDirectory>
</configuration>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Copy Enunciate Documentation from your-application/docs to your-application.war -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -227,6 +252,11 @@
<directory>${project.build.directory}/docs</directory>
<filtering>true</filtering>
</resource>
<!-- <resource>-->
<!-- <targetPath>${project.build.directory}/${project.artifactId}-${project.version}/wiki</targetPath>-->
<!-- <directory>${project.build.directory}/wiki</directory>-->
<!-- <filtering>true</filtering>-->
<!-- </resource>-->
</resources>
</configuration>
</execution>
@ -253,26 +283,7 @@
</executions>
</plugin>
<!-- SPHINX PLUGIN triggered at 'package'-->
<plugin>
<groupId>kr.motd.maven</groupId>
<artifactId>sphinx-maven-plugin</artifactId>
<version>2.10.0</version>
<configuration>
<outputDirectory>${project.build.directory}/wiki</outputDirectory>
<builder>html</builder>
<configDirectory>src/site/sphinx</configDirectory>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>