File tree Expand file tree Collapse file tree 1 file changed +21
-28
lines changed Expand file tree Collapse file tree 1 file changed +21
-28
lines changed Original file line number Diff line number Diff line change 607
607
</extension >
608
608
</extensions >
609
609
<plugins >
610
- <plugin >
611
- <groupId >org.apache.maven.plugins</groupId >
612
- <artifactId >maven-enforcer-plugin</artifactId >
613
- <version >3.1.0</version >
614
- <executions >
615
- <execution >
616
- <id >enforce-declared-grpc-and-proto-version</id >
617
- <goals >
618
- <goal >enforce</goal >
619
- </goals >
620
- <configuration >
621
- <rules >
622
- <bannedDependencies >
623
- <includes >
624
- <dependency >io.grpc:*:[${grpc.version} ]</dependency >
625
- <dependency >com.google.protobuf:*:[${protobuf.version} ]</dependency >
626
- </includes >
627
- <excludes >
628
- <dependency >io.grpc:*</dependency >
629
- <dependency >com.google.protobuf:*</dependency >
630
- </excludes >
631
- </bannedDependencies >
632
- </rules >
633
- </configuration >
634
- </execution >
635
- </executions >
636
- </plugin >
637
610
<plugin >
638
611
<groupId >org.xolstice.maven.plugins</groupId >
639
612
<artifactId >protobuf-maven-plugin</artifactId >
678
651
<plugin >
679
652
<groupId >org.apache.maven.plugins</groupId >
680
653
<artifactId >maven-enforcer-plugin</artifactId >
681
- <version >3.2.1 </version >
654
+ <version >3.3.0 </version >
682
655
<executions >
683
656
<!-- Prevent users from mistyping a profile name -->
684
657
<execution >
704
677
<goal >enforce</goal >
705
678
</goals >
706
679
</execution >
680
+ <execution >
681
+ <id >enforce-declared-grpc-and-proto-version</id >
682
+ <goals >
683
+ <goal >enforce</goal >
684
+ </goals >
685
+ <configuration >
686
+ <rules >
687
+ <bannedDependencies >
688
+ <includes >
689
+ <dependency >io.grpc:*:[${grpc.version} ]</dependency >
690
+ <dependency >com.google.protobuf:*:[${protobuf.version} ]</dependency >
691
+ </includes >
692
+ <excludes >
693
+ <dependency >io.grpc:*</dependency >
694
+ <dependency >com.google.protobuf:*</dependency >
695
+ </excludes >
696
+ </bannedDependencies >
697
+ </rules >
698
+ </configuration >
699
+ </execution >
707
700
</executions >
708
701
<!--
709
702
workaround for https://github.com/mojohaus/extra-enforcer-rules/issues/132
You can’t perform that action at this time.
0 commit comments