dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03795
Re: JAR File and External Dependency in POM
OK in that case you can use the "exlusion" element:
<dependency>
<groupId>group-a</groupId>
<artifactId>artifact-a</artifactId>
<version>1.0</version>
<exclusions>
<exclusion>
<groupId>group-c</groupId>
<artifactId>excluded-artifact</artifactId>
</exclusion>
</exclusions>
</dependency>
But I am not sure if this is a good practise, you need to make sure it is
safe and meaningful to exclude that dependency..
Follow ups
References