可用版本: Dev (3.21) | 最新 (3.20) | 3.19 | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12 | 3.11

下载 jOOQ

适用于 ✅ 开源版   ✅ 专业版   ✅ 企业版

jOOQ 通过 3 个主要渠道分发

ZIP 文件

如果您选择通过网站下载 jOOQ,您将能够下载一个具有以下布局的 ZIP 文件

  • maven-deploy.bat:一个用于将工件部署到 maven 存储库的 Windows 批处理脚本
  • maven-deploy.sh:一个用于将工件部署到 maven 存储库的 bash 脚本
  • maven-install.bat:一个用于将工件安装到本地 maven 存储库的 Windows 批处理脚本
  • maven-install.sh:一个用于将工件安装到本地 maven 存储库的 bash 脚本

该网站托管了 jOOQ 开源版的最新版本以及所有商业 jOOQ 版本的历史版本,包括仅向付费客户提供的所有发行版的快照构建。

商业工件存储库

商业工件存储库托管了所有商业 jOOQ 版本的历史版本,包括仅向付费客户提供的所有发行版的快照构建。

以下是关于如何在 Maven / Gradle 中包含这些依赖项的信息

Maven
Gradle (Kotlin)
Gradle (Groovy)

settings.xml

<server>
    <id>jooq-pro</id>
    <username>[your licensee email]</username>
    <password>[your license key]</password>
</server>

pom.xml

<repositories>
    <repository>
        <id>central</id>
        <url>https://repo1.maven.org/maven2/</url>
    </repository>
    <!-- Other repositories ... -->

    <repository>
        <id>jooq-pro</id>
        <url>https://repo.jooq.org/repo</url>
    </repository>
</repositories>
<pluginRepositories>
    <pluginRepository>
        <id>central</id>
        <url>https://repo1.maven.org/maven2/</url>
    </pluginRepository>
    <!-- Other repositories ... -->

    <pluginRepository>
        <id>jooq-pro</id>
        <url>https://repo.jooq.org/repo</url>
    </pluginRepository>
</pluginRepositories>

settings.gradle.kts

pluginManagement {
    repositories {
        mavenCentral()
        // Other repositories...

        maven {
            url = uri("https://repo.jooq.org/repo")
            credentials {
                username = "<your licensee email>"
                password = "<your license key>"
            }
        }
    }
}

build.gradle.kts

repositories {
    mavenCentral()
    // Other repositories...

    maven {
        url = uri("https://repo.jooq.org/repo")
        credentials {
            username = "<your licensee email>"
            password = "<your license key>"
        }
    }
}

settings.gradle

pluginManagement {
    repositories {
        mavenCentral()
        // Other repositories...

        maven {
            url "https://repo.jooq.org/repo"
            credentials {
                username "<your licensee email>"
                password "<your license key>"
            }
        }
    }
}

build.gradle

repositories {
    mavenCentral()
    // Other repositories...

    maven {
        url "https://repo.jooq.org/repo"
        credentials {
            username "<your licensee email>"
            password "<your license key>"
        }
    }
}

依赖

根据您使用的版本,请在 Maven 或 Gradle 中声明以下依赖项

Maven
Gradle (Kotlin)
Gradle (Groovy)
<dependency>
                <!-- Use org.jooq                for the Open Source Edition
                         org.jooq.pro            for commercial editions with Java 21 support,
                         org.jooq.pro-java-17    for commercial editions with Java 17 support,
                         org.jooq.pro-java-11    for commercial editions with Java 11 support,
                         org.jooq.pro-java-8     for commercial editions with Java 8 support,
                         org.jooq.trial          for the free trial edition with Java 21 support,
                         org.jooq.trial-java-17  for the free trial edition with Java 17 support,
                         org.jooq.trial-java-11  for the free trial edition with Java 11 support,
                         org.jooq.trial-java-8   for the free trial edition with Java 8 support
    
                 Note: Only the Open Source Edition is hosted on Maven Central.
                       Install the others locally using the provided scripts, or access them from here: https://repo.jooq.org
                       See the JDK version support matrix here: https://jooq.org.cn/download/support-matrix-jdk -->

    <groupId>org.jooq</groupId>
    <artifactId>jooq</artifactId>
    <version>3.20.5</version>
</dependency>
dependencies {
             // Use org.jooq                for the Open Source Edition
             //     org.jooq.pro            for commercial editions with Java 21 support,
             //     org.jooq.pro-java-17    for commercial editions with Java 17 support,
             //     org.jooq.pro-java-11    for commercial editions with Java 11 support,
             //     org.jooq.pro-java-8     for commercial editions with Java 8 support,
             //     org.jooq.trial          for the free trial edition with Java 21 support,
             //     org.jooq.trial-java-17  for the free trial edition with Java 17 support,
             //     org.jooq.trial-java-11  for the free trial edition with Java 11 support,
             //     org.jooq.trial-java-8   for the free trial edition with Java 8 support
             //
             // Note: Only the Open Source Edition is hosted on Maven Central.
             //       Install the others locally using the provided scripts, or access them from here: https://repo.jooq.org
             //       See the JDK version support matrix here: https://jooq.org.cn/download/support-matrix-jdk

    implementation("org.jooq:jooq:3.20.5")
}
dependencies {
             // Use org.jooq                for the Open Source Edition
             //     org.jooq.pro            for commercial editions with Java 21 support,
             //     org.jooq.pro-java-17    for commercial editions with Java 17 support,
             //     org.jooq.pro-java-11    for commercial editions with Java 11 support,
             //     org.jooq.pro-java-8     for commercial editions with Java 8 support,
             //     org.jooq.trial          for the free trial edition with Java 21 support,
             //     org.jooq.trial-java-17  for the free trial edition with Java 17 support,
             //     org.jooq.trial-java-11  for the free trial edition with Java 11 support,
             //     org.jooq.trial-java-8   for the free trial edition with Java 8 support
             //
             // Note: Only the Open Source Edition is hosted on Maven Central.
             //       Install the others locally using the provided scripts, or access them from here: https://repo.jooq.org
             //       See the JDK version support matrix here: https://jooq.org.cn/download/support-matrix-jdk

    implementation "org.jooq:jooq:3.20.5"
}

反馈

您对此页面有任何反馈吗? 我们很乐意听到!

The jOOQ Logo