Skip to content

Commit bb0d203

Browse files
feat: update config for using placeholders in docs
1 parent 5be92f4 commit bb0d203

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,35 @@
397397
</execution>
398398
</executions>
399399
</plugin>
400+
<plugin>
401+
<groupId>org.apache.maven.plugins</groupId>
402+
<artifactId>maven-resources-plugin</artifactId>
403+
<executions>
404+
<!-- prepare site content by filtering ${project.*} values-->
405+
<execution>
406+
<id>filter-site</id>
407+
<phase>pre-site</phase>
408+
<goals>
409+
<goal>copy-resources</goal>
410+
</goals>
411+
<configuration>
412+
<outputDirectory>${project.build.directory}/site-src</outputDirectory>
413+
<resources>
414+
<resource>
415+
<directory>src/site</directory>
416+
<filtering>true</filtering>
417+
</resource>
418+
</resources>
419+
</configuration>
420+
</execution>
421+
</executions>
422+
</plugin>
400423
<plugin>
401424
<groupId>org.apache.maven.plugins</groupId>
402425
<artifactId>maven-site-plugin</artifactId>
403426
<configuration>
404427
<locales>en,es,ja,fr,zh_CN,ko</locales>
428+
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
405429
</configuration>
406430
</plugin>
407431
<plugin>

0 commit comments

Comments
 (0)