File tree Expand file tree Collapse file tree
meta-component/sdk-maven-artifact Expand file tree Collapse file tree Original file line number Diff line number Diff line change 107107 <target >${java.version} </target >
108108 </configuration >
109109 </plugin >
110+
111+
112+ <plugin >
113+ <groupId >org.codehaus.mojo</groupId >
114+ <artifactId >flatten-maven-plugin</artifactId >
115+ <version >${flatten-maven-plugin.version} </version >
116+ <configuration >
117+ <!-- 是否更新pom文件,此处还有更高级的用法-->
118+ <updatePomFile >true</updatePomFile >
119+ <flattenMode >resolveCiFriendliesOnly</flattenMode >
120+ </configuration >
121+ <executions >
122+ <execution >
123+ <id >flatten</id >
124+ <phase >process-resources</phase >
125+ <goals >
126+ <goal >flatten</goal >
127+ </goals >
128+ </execution >
129+ <execution >
130+ <id >flatten.clean</id >
131+ <phase >clean</phase >
132+ <goals >
133+ <goal >clean</goal >
134+ </goals >
135+ </execution >
136+ </executions >
137+ </plugin >
138+
139+
110140 </plugins >
111141 </build >
112142</project >
You can’t perform that action at this time.
0 commit comments