@@ -381,7 +381,7 @@ limitations under the License.
381
381
<plugin >
382
382
<groupId >org.apache.maven.plugins</groupId >
383
383
<artifactId >maven-enforcer-plugin</artifactId >
384
- <version >1.4.1 </version >
384
+ <version >3.0.0-M3 </version >
385
385
</plugin >
386
386
<plugin >
387
387
<groupId >org.apache.maven.plugins</groupId >
@@ -522,13 +522,6 @@ limitations under the License.
522
522
<plugin >
523
523
<groupId >org.apache.maven.plugins</groupId >
524
524
<artifactId >maven-enforcer-plugin</artifactId >
525
- <dependencies >
526
- <dependency >
527
- <groupId >org.codehaus.mojo</groupId >
528
- <artifactId >animal-sniffer-enforcer-rule</artifactId >
529
- <version >1.17</version >
530
- </dependency >
531
- </dependencies >
532
525
<executions >
533
526
<execution >
534
527
<id >enforce-maven</id >
@@ -544,24 +537,6 @@ limitations under the License.
544
537
</rules >
545
538
</configuration >
546
539
</execution >
547
- <execution >
548
- <id >check-signatures</id >
549
- <phase >test</phase >
550
- <goals >
551
- <goal >enforce</goal >
552
- </goals >
553
- <configuration >
554
- <rules >
555
- <checkSignatureRule implementation =" org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule" >
556
- <signature >
557
- <groupId >org.codehaus.mojo.signature</groupId >
558
- <artifactId >java1${javaVersion}</artifactId >
559
- <version >1.0</version >
560
- </signature >
561
- </checkSignatureRule >
562
- </rules >
563
- </configuration >
564
- </execution >
565
540
</executions >
566
541
</plugin >
567
542
<plugin >
@@ -731,5 +706,43 @@ limitations under the License.
731
706
</plugins >
732
707
</build >
733
708
</profile >
709
+ <profile >
710
+ <id >java7-or-archeological-build</id >
711
+ <build >
712
+ <plugins >
713
+ <plugin >
714
+ <groupId >org.apache.maven.plugins</groupId >
715
+ <artifactId >maven-enforcer-plugin</artifactId >
716
+ <dependencies >
717
+ <dependency >
718
+ <groupId >org.codehaus.mojo</groupId >
719
+ <artifactId >animal-sniffer-enforcer-rule</artifactId >
720
+ <version >1.18</version >
721
+ </dependency >
722
+ </dependencies >
723
+ <executions >
724
+ <execution >
725
+ <id >check-signatures</id >
726
+ <phase >test</phase >
727
+ <goals >
728
+ <goal >enforce</goal >
729
+ </goals >
730
+ <configuration >
731
+ <rules >
732
+ <checkSignatureRule implementation =" org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule" >
733
+ <signature >
734
+ <groupId >org.codehaus.mojo.signature</groupId >
735
+ <artifactId >java1${javaVersion}</artifactId >
736
+ <version >1.0</version >
737
+ </signature >
738
+ </checkSignatureRule >
739
+ </rules >
740
+ </configuration >
741
+ </execution >
742
+ </executions >
743
+ </plugin >
744
+ </plugins >
745
+ </build >
746
+ </profile >
734
747
</profiles >
735
748
</project >
0 commit comments