diff options
author | tholenst <tholenst@google.com> | 2022-12-19 03:13:32 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-12-19 03:14:31 -0800 |
commit | 4a08f0b98ac1463a5233b6f65753e1d6a73792cc (patch) | |
tree | c12229ce924ca9f787c657ad23295c044f6550a2 /java_src/examples | |
parent | 366bdcd097ea56ae21991a2b2f35f10b4182a9ea (diff) | |
download | tink-4a08f0b98ac1463a5233b6f65753e1d6a73792cc.tar.gz |
Remove usage of the maven enforcer plugin and exclusions.
PiperOrigin-RevId: 496355542
Diffstat (limited to 'java_src/examples')
-rw-r--r-- | java_src/examples/helloworld/pom.xml | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/java_src/examples/helloworld/pom.xml b/java_src/examples/helloworld/pom.xml index be295aad0..4d2b1bcb9 100644 --- a/java_src/examples/helloworld/pom.xml +++ b/java_src/examples/helloworld/pom.xml @@ -50,49 +50,16 @@ <groupId>com.google.crypto.tink</groupId> <artifactId>tink</artifactId> <version>HEAD-SNAPSHOT</version> - <exclusions> - <!-- Exclude indirect guava as it is provided by the Tink KMS extensions. --> - <exclusion> - <groupId>com.google.guava</groupId> - <artifactId>guava</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpcore</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>com.google.crypto.tink</groupId> <artifactId>tink-awskms</artifactId> <version>HEAD-SNAPSHOT</version> - <exclusions> - <!-- Exclude conflicting indirect dependencies. --> - <exclusion> - <groupId>com.google.errorprone</groupId> - <artifactId>error_prone_annotations</artifactId> - </exclusion> - <exclusion> - <groupId>joda-time</groupId> - <artifactId>joda-time</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>com.google.crypto.tink</groupId> <artifactId>tink-gcpkms</artifactId> <version>HEAD-SNAPSHOT</version> - <exclusions> - <exclusion> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpcore</artifactId> - </exclusion> - <!-- Use guava provided by tink-awskms --> - <exclusion> - <groupId>com.google.guava</groupId> - <artifactId>guava</artifactId> - </exclusion> - </exclusions> </dependency> </dependencies> @@ -125,26 +92,6 @@ <mainClass>com.helloworld.HelloWorld</mainClass> </configuration> </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <version>${maven-enforcer-plugin.version}</version> - <executions> - <execution> - <id>enforce</id> - <configuration> - <rules> - <DependencyConvergence/> - </rules> - <fail>true</fail> - </configuration> - <goals> - <goal>enforce</goal> - </goals> - </execution> - </executions> - </plugin> </plugins> </build> </project> |