|
156 | 156 | <artifactId>maven-surefire-plugin</artifactId> |
157 | 157 | <version>3.2.5</version> |
158 | 158 | </plugin> |
159 | | - <plugin> |
160 | | - <!-- |
161 | | - We need this for updating the submodule during release. Maven SCM |
162 | | - doesn't support this itself apparently. See |
163 | | - https://github.com/apache/maven-scm/pull/179 |
164 | | - --> |
165 | | - <groupId>org.codehaus.mojo</groupId> |
166 | | - <artifactId>exec-maven-plugin</artifactId> |
167 | | - <!-- |
168 | | - We are using 3.0.0 as 3.1.1 fails due to this issue: |
169 | | - https://github.com/mojohaus/exec-maven-plugin/issues/373 |
170 | | - --> |
171 | | - <version>3.0.0</version> |
172 | | - <executions> |
173 | | - <execution> |
174 | | - <phase>initialize</phase> |
175 | | - <id>invoke build</id> |
176 | | - <goals> |
177 | | - <goal>exec</goal> |
178 | | - </goals> |
179 | | - </execution> |
180 | | - </executions> |
181 | | - <configuration> |
182 | | - <executable>git</executable> |
183 | | - <commandlineArgs>submodule update --init --recursive</commandlineArgs> |
184 | | - </configuration> |
185 | | - </plugin> |
186 | 159 | <plugin> |
187 | 160 | <groupId>org.codehaus.mojo</groupId> |
188 | 161 | <artifactId>versions-maven-plugin</artifactId> |
|
231 | 204 | </plugins> |
232 | 205 | </build> |
233 | 206 | </profile> |
| 207 | + <profile> |
| 208 | + <id>not-windows</id> |
| 209 | + <!-- |
| 210 | + Starting with 3.1.0, this fails on Windows. Given that we only |
| 211 | + technically need this when release and we don't release on Windows, |
| 212 | + we can just disable it on Widnows. See this issue: |
| 213 | + https://github.com/mojohaus/exec-maven-plugin/issues/373 |
| 214 | + --> |
| 215 | + <activation> |
| 216 | + <os><family>!Windows</family></os> |
| 217 | + </activation> |
| 218 | + <build> |
| 219 | + <plugins> |
| 220 | + <plugin> |
| 221 | + <!-- |
| 222 | + We need this for updating the submodule during release. Maven SCM |
| 223 | + doesn't support this itself apparently. See |
| 224 | + https://github.com/apache/maven-scm/pull/179 |
| 225 | + --> |
| 226 | + <groupId>org.codehaus.mojo</groupId> |
| 227 | + <artifactId>exec-maven-plugin</artifactId> |
| 228 | + <version>3.2.0</version> |
| 229 | + <executions> |
| 230 | + <execution> |
| 231 | + <phase>initialize</phase> |
| 232 | + <id>invoke build</id> |
| 233 | + <goals> |
| 234 | + <goal>exec</goal> |
| 235 | + </goals> |
| 236 | + </execution> |
| 237 | + </executions> |
| 238 | + <configuration> |
| 239 | + <executable>git</executable> |
| 240 | + <commandlineArgs>submodule update --init --recursive</commandlineArgs> |
| 241 | + </configuration> |
| 242 | + </plugin> |
| 243 | + </plugins> |
| 244 | + </build> |
| 245 | + </profile> |
234 | 246 | </profiles> |
235 | 247 | <distributionManagement> |
236 | 248 | <repository> |
|
0 commit comments