File tree 1 file changed +37
-0
lines changed 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 528
528
</plugins >
529
529
</build >
530
530
</profile >
531
+ <profile >
532
+ <id >clone-git-submodules</id >
533
+ <activation >
534
+ <file >
535
+ <missing >${basedir} /src/test/resources/README.md</missing >
536
+ </file >
537
+ </activation >
538
+ <build >
539
+ <plugins >
540
+ <!-- https://sumit-jha.medium.com/how-to-make-maven-release-plugin-work-with-git-submodules-917825a253f2 -->
541
+ <plugin >
542
+ <groupId >org.codehaus.mojo</groupId >
543
+ <artifactId >exec-maven-plugin</artifactId >
544
+ <version >1.3</version >
545
+ <inherited >false</inherited >
546
+ <executions >
547
+ <execution >
548
+ <id >clone git submodule</id >
549
+ <phase >initialize</phase >
550
+ <configuration >
551
+ <executable >git</executable >
552
+ <arguments >
553
+ <argument >submodule</argument >
554
+ <argument >update</argument >
555
+ <argument >--init</argument >
556
+ <argument >--recursive</argument >
557
+ </arguments >
558
+ </configuration >
559
+ <goals >
560
+ <goal >exec</goal >
561
+ </goals >
562
+ </execution >
563
+ </executions >
564
+ </plugin >
565
+ </plugins >
566
+ </build >
567
+ </profile >
531
568
</profiles >
532
569
</project >
You can’t perform that action at this time.
0 commit comments