File tree Expand file tree Collapse file tree 1 file changed +23
-16
lines changed Expand file tree Collapse file tree 1 file changed +23
-16
lines changed Original file line number Diff line number Diff line change 86
86
</properties >
87
87
88
88
<build >
89
- <resources >
90
- <resource >
91
- <directory >${project.basedir} /src/main/resources</directory >
92
- <filtering >true</filtering >
93
- </resource >
94
- <resource >
95
- <directory >${project.basedir} /src/site</directory >
96
- <targetPath >${project.build.directory} /site-src</targetPath >
97
- <filtering >true</filtering >
98
- </resource >
99
- </resources >
100
89
<pluginManagement >
101
90
<plugins >
91
+ <plugin >
92
+ <groupId >org.apache.maven.plugins</groupId >
93
+ <artifactId >maven-resources-plugin</artifactId >
94
+ <executions >
95
+ <!-- prepare site content by filtering ${project.*} values-->
96
+ <execution >
97
+ <id >filter-site</id >
98
+ <phase >pre-site</phase >
99
+ <goals >
100
+ <goal >copy-resources</goal >
101
+ </goals >
102
+ <configuration >
103
+ <outputDirectory >${project.build.directory} /site-src</outputDirectory >
104
+ <resources >
105
+ <resource >
106
+ <directory >src/site</directory >
107
+ <filtering >true</filtering >
108
+ </resource >
109
+ </resources >
110
+ </configuration >
111
+ </execution >
112
+ </executions >
113
+ </plugin >
102
114
<plugin >
103
115
<groupId >org.apache.maven.plugins</groupId >
104
116
<artifactId >maven-site-plugin</artifactId >
105
117
<configuration >
106
118
<locales >en,zh_CN</locales >
107
- <!-- Build using files that replace a placeholder using project properties -->
108
119
<siteDirectory >${project.build.directory} /site-src</siteDirectory >
109
120
</configuration >
110
121
</plugin >
111
- <plugin >
112
- <groupId >org.apache.maven.plugins</groupId >
113
- <artifactId >maven-surefire-plugin</artifactId >
114
- </plugin >
115
122
</plugins >
116
123
</pluginManagement >
117
124
</build >
You can’t perform that action at this time.
0 commit comments