|
26 | 26 | <licenses> |
27 | 27 | <license> |
28 | 28 | <name>The Apache Software License, Version 2.0</name> |
29 | | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 29 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
30 | 30 | </license> |
31 | 31 | </licenses> |
32 | 32 |
|
|
274 | 274 | </profile> |
275 | 275 |
|
276 | 276 | <profile> |
277 | | - <id>git-hooks</id> |
| 277 | + <id>mustache-specs</id> |
| 278 | + <activation> |
| 279 | + <file> |
| 280 | + <missing>${mustache-specs}</missing> |
| 281 | + </file> |
| 282 | + </activation> |
| 283 | + <build> |
| 284 | + <plugins> |
| 285 | + <plugin> |
| 286 | + <groupId>org.codehaus.mojo</groupId> |
| 287 | + <artifactId>exec-maven-plugin</artifactId> |
| 288 | + <version>3.2.0</version> |
| 289 | + <executions> |
| 290 | + <execution> |
| 291 | + <phase>initialize</phase> |
| 292 | + <id>mustache-specs</id> |
| 293 | + <goals> |
| 294 | + <goal>exec</goal> |
| 295 | + </goals> |
| 296 | + </execution> |
| 297 | + </executions> |
| 298 | + <configuration> |
| 299 | + <executable>git</executable> |
| 300 | + <arguments> |
| 301 | + <argument>submodule</argument> |
| 302 | + <argument>update</argument> |
| 303 | + <argument>--init</argument> |
| 304 | + <argument>--recursive</argument> |
| 305 | + </arguments> |
| 306 | + <successCodes> |
| 307 | + <successCode>0</successCode> |
| 308 | + <!-- git submodule fails in child projects, just ignore the error and continue --> |
| 309 | + <successCode>1</successCode> |
| 310 | + </successCodes> |
| 311 | + </configuration> |
| 312 | + </plugin> |
| 313 | + </plugins> |
| 314 | + </build> |
| 315 | + </profile> |
| 316 | + |
| 317 | + <profile> |
| 318 | + <id>spotless-hook</id> |
278 | 319 | <activation> |
279 | 320 | <file> |
280 | 321 | <exists>${pre-commit-hook}</exists> |
|
328 | 369 | <id>sonatype</id> |
329 | 370 | <build> |
330 | 371 | <plugins> |
331 | | - <!-- This is a workaround to get submodules working with the maven release plugin --> |
332 | | - <plugin> |
333 | | - <groupId>org.codehaus.mojo</groupId> |
334 | | - <artifactId>exec-maven-plugin</artifactId> |
335 | | - <version>3.2.0</version> |
336 | | - <executions> |
337 | | - <execution> |
338 | | - <phase>initialize</phase> |
339 | | - <id>invoke build</id> |
340 | | - <goals> |
341 | | - <goal>exec</goal> |
342 | | - </goals> |
343 | | - </execution> |
344 | | - </executions> |
345 | | - <configuration> |
346 | | - <executable>git</executable> |
347 | | - <arguments> |
348 | | - <argument>submodule</argument> |
349 | | - <argument>update</argument> |
350 | | - <argument>--init</argument> |
351 | | - <argument>--recursive</argument> |
352 | | - </arguments> |
353 | | - <successCodes> |
354 | | - <successCode>0</successCode> |
355 | | - <!-- git submodule fails in child projects, just ignore the error and continue --> |
356 | | - <successCode>1</successCode> |
357 | | - </successCodes> |
358 | | - </configuration> |
359 | | - </plugin> |
360 | | - |
361 | 372 | <!-- Source --> |
362 | 373 | <plugin> |
363 | 374 | <groupId>org.apache.maven.plugins</groupId> |
|
423 | 434 | <maven.compiler.source>17</maven.compiler.source> |
424 | 435 | <maven.compiler.target>17</maven.compiler.target> |
425 | 436 | <pre-commit-hook>src${file.separator}etc${file.separator}formatter.sh</pre-commit-hook> |
| 437 | + <mustache-specs>handlebars${file.separator}src${file.separator}test${file.separator}resources${file.separator}mustache</mustache-specs> |
426 | 438 | </properties> |
427 | 439 | </project> |
0 commit comments