【问题标题】:Adding Oracle Remote Introdoc Cleint dependencies in maven pom.xml在 maven pom.xml 中添加 Oracle Remote Introdoc Cleint 依赖项
【发布时间】:2018-06-01 13:27:20
【问题描述】:

我无法使用 maven 下载 Oracle RIDC 客户端依赖项。我在 pom.xml 中添加了以下代码

<dependency>
<groupId>com.oracle.ucm</groupId>
<artifactId>ridc</artifactId>
<version>11.1.1</version>
</dependency>

我的问题是我需要添加任何插件还是无法使用 maven 下载ridc 依赖项

【问题讨论】:

  • I am unable to download ... 是什么意思?错误信息?登录是因为它似乎是一个神器神器?

标签: maven oracle-ucm


【解决方案1】:

Oracle 依赖项通常在公共 maven 存储库中不可用。为此,您可以做一些事情。

  • 在您的存储库中本地安装该项目。使用这个mvn install:install-file -Dfile=<path> -DgroupId=<group> -DartifactId=<id> -Dversion=<version> -Dpackaging=jar
  • 如果您有像 nexus、artifactory 这样的本地存储库,您可以在其中安装它。
  • 或者您可以将该依赖项标记为已提供,并确保您的运行时已将其放置到位。

【讨论】:

    【解决方案2】:

    来自我的Maven repo

    <?xml version="1.0" encoding="UTF-8" ?>
    <settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
              xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
    
        <profiles>
            <profile>
                <repositories>
                    <repository>
                        <snapshots>
                            <enabled>false</enabled>
                        </snapshots>
                        <id>bintray-jhult-maven</id>
                        <name>bintray</name>
                        <url>https://dl.bintray.com/jhult/maven</url>
                    </repository>
                </repositories>
                <pluginRepositories>
                    <pluginRepository>
                        <snapshots>
                            <enabled>false</enabled>
                        </snapshots>
                        <id>bintray-jhult-maven</id>
                        <name>bintray-plugins</name>
                        <url>https://dl.bintray.com/jhult/maven</url>
                    </pluginRepository>
                </pluginRepositories>
                <id>bintray</id>
            </profile>
        </profiles>
        <activeProfiles>
            <activeProfile>bintray</activeProfile>
        </activeProfiles>
    </settings>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-11-07
      • 2014-02-19
      • 2021-09-19
      • 1970-01-01
      • 2015-12-08
      • 2015-01-16
      • 2011-08-05
      • 2014-12-17
      相关资源
      最近更新 更多