Skip to content

Commit

Permalink
Makes picocli dependency optional for core
Browse files Browse the repository at this point in the history
  • Loading branch information
filipelautert committed Oct 16, 2023
1 parent 8fab1f6 commit 5c040ab
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions liquibase-core/pom.xml
Expand Up @@ -35,16 +35,18 @@
<artifactId>liquibase-standard</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.7.5</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>liquibase-cli</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<!--
liquibase-core should not have a hard dependency on picocli since most people using the library is not using the CLI
It would be nice if it come through as an optional dependency, but maven doesn't easily do that
-->
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
</exclusion>
Expand Down

0 comments on commit 5c040ab

Please sign in to comment.