Hard coded org.jooq depedency conflicts with org.jooq.pro
MelleD opened this issue · comments
Dennis Melzer commented
We use jooq pro dependency
<dependency>
<groupId>org.jooq.pro</groupId>
<artifactId>jooq</artifactId>
</dependency>
This conflicts with the jooq free variant in jooq provider
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
<version>3.18.7</version>
</dependency>
The dependency should possibly be provided
or optional
.
Dennis Melzer commented
See further discussion with Lucas here:
jOOQ/jOOQ#15827
Dennis Melzer commented
Current solution is to override it. Similar like in spring boot with jetty.
Maybe you can add this to the documentation it that the recommended way
<dependencyManagement>
<dependency>
<groupId>net.javacrumbs.shedlock</groupId>
<artifactId>shedlock-provider-jooq</artifactId>
<version>${spring-shedlock-version}</version>
<!-- Exclude the jOOQ Open Source Edition -->
<exclusions>
<exclusion>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencyManagement>