Skip to content

Commit 20a4d94

Browse files
authored
chore(v2): Remove rule preventing production release of 2.0.0 (#1867)
* Remove redundant version declaration of aws-embedded-metrics.version in pom.xml * Remove maven enforcer plugin enforcing SNAPSHOT release only.
1 parent fa1c37d commit 20a4d94

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
8888
<maven-gpg-plugin.version>3.2.1</maven-gpg-plugin.version>
8989
<junit.version>5.10.0</junit.version>
90-
<aws-embedded-metrics.version>1.0.6</aws-embedded-metrics.version>
9190
<aspectj-maven-plugin.version>1.14</aspectj-maven-plugin.version>
9291
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
9392
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
@@ -505,28 +504,6 @@
505504
<id>release</id>
506505
<build>
507506
<plugins>
508-
<plugin>
509-
<groupId>org.apache.maven.plugins</groupId>
510-
<artifactId>maven-enforcer-plugin</artifactId>
511-
<version>3.5.0</version>
512-
<executions>
513-
<execution>
514-
<id>enforce-snapshot-versions</id>
515-
<phase>validate</phase>
516-
<goals>
517-
<goal>enforce</goal>
518-
</goals>
519-
<configuration>
520-
<rules>
521-
<requireSnapshotVersion>
522-
<message>Release build should not have snapshot dependencies!</message>
523-
</requireSnapshotVersion>
524-
</rules>
525-
<fail>true</fail>
526-
</configuration>
527-
</execution>
528-
</executions>
529-
</plugin>
530507
<plugin>
531508
<groupId>org.apache.maven.plugins</groupId>
532509
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)