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> </executions>
</plugin> </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 --> <!-- Copy Enunciate Documentation from your-application/docs to your-application.war -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -227,6 +252,11 @@
<directory>${project.build.directory}/docs</directory> <directory>${project.build.directory}/docs</directory>
<filtering>true</filtering> <filtering>true</filtering>
</resource> </resource>
<!-- <resource>-->
<!-- <targetPath>${project.build.directory}/${project.artifactId}-${project.version}/wiki</targetPath>-->
<!-- <directory>${project.build.directory}/wiki</directory>-->
<!-- <filtering>true</filtering>-->
<!-- </resource>-->
</resources> </resources>
</configuration> </configuration>
</execution> </execution>
@ -253,26 +283,7 @@
</executions> </executions>
</plugin> </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>