谁能为 XMLType xdb.jar 和 xmlparserv2.jar 提供 Maven 存储库

Can anyone provide Maven repository for XMLType xdb.jar and xmlparserv2.jar

我想通过 JDBC 将 Oracle XMLType 插入数据库。我在一些网站上看到我们为此需要 xdb.jar 和 xmlparserv2.jar。

任何人都可以提供这些的 Maven 存储库和依赖项吗?

我认为您不会在 public Maven 存储库中找到这些库。 您必须从 Oracle XDK 下载它们:http://www.oracle.com/technetwork/database/index-100632.html 然后按照 Maven 手册 (https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html)

中的说明在本地存储库中安装

在 JDBC 下载页面查看 xdb6.jar。 (http://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html)

我发现 oracle 拥有这些 jar 的版权,你不会在任何 public 存储库中找到它们 我们必须从 oracle 网站下载它们,然后手动将 jar 添加到您的本地存储库

使用 Oracle Maven repository 您可以添加到您的 pom.xml:

    <dependency>
        <groupId>com.oracle.jdbc</groupId>
        <artifactId>xmlparserv2</artifactId>
        <version>12.1.0.2</version>
    </dependency>

Oracle 有它自己的 Maven 存储库,但是您需要先在 Oracle 技术网网站上注册一个用户,然后才能使用它。更多详情可在这找到: http://docs.oracle.com/middleware/1213/core/MAVEN/config_maven_repo.htm#MAVEN9010

有关配置 Sonatype Nexus 存储库以使用 Oracle maven 存储库的说明,您可以按照有关此 link 的信息进行操作: http://www.sonatype.org/nexus/2015/02/19/using-the-oracle-maven-repository-with-nexus/