我无法使用maven下载Oracle RIDC客户端依赖项。我在pom.xml中添加了以下代码
<dependency>
<groupId>com.oracle.ucm</groupId>
<artifactId>ridc</artifactId>
<version>11.1.1</version>
</dependency>
我的问题是我需要添加任何插件,否则无法使用maven下载ridc依赖项
从我的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>
Oracle依赖项通常在公共maven仓库中不可用。要做到这一点,你可以做一些事情。
mvn install:install-file -Dfile=<path>
-DgroupId=<group> -DartifactId=<id> -Dversion=<version> -Dpackaging=jar