YARN-10563. Fix dependency exclusion problem in poms. Contributed by Peter Bacsko

This commit is contained in:
Szilard Nemeth 2021-01-12 15:29:17 +01:00
parent 9c6e093783
commit 85b1c017ee
2 changed files with 46 additions and 38 deletions

View File

@ -1755,44 +1755,6 @@
<groupId>org.jsonschema2pojo</groupId> <groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-core</artifactId> <artifactId>jsonschema2pojo-core</artifactId>
<version>${jsonschema2pojo.version}</version> <version>${jsonschema2pojo.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</exclusion>
<exclusion>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-scalagen</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.javaparser</groupId>
<artifactId>javaparser</artifactId>
</exclusion>
<exclusion>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.xerial.snappy</groupId> <groupId>org.xerial.snappy</groupId>

View File

@ -256,6 +256,52 @@
<dependency> <dependency>
<groupId>org.jsonschema2pojo</groupId> <groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-core</artifactId> <artifactId>jsonschema2pojo-core</artifactId>
<exclusions>
<exclusion>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</exclusion>
<exclusion>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-scalagen</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.javaparser</groupId>
<artifactId>javaparser</artifactId>
</exclusion>
<exclusion>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.fasterxml.jackson.core</groupId> <groupId>com.fasterxml.jackson.core</groupId>