ich angefangen habe JFrog Artifactory 4.14, meine Maven-App benötigt eine ojdbc Glas zu verwenden, die von Oracle-Repository heruntergeladen werden kann, die, wenn ich Maven lokale Einstellungen zu verwenden, die ich von http://docs.oracle.com/middleware/1213/core/MAVEN/config_maven_repo.htm#MAVEN9010JFrog Artifactory und Oracle-Repository
gefassten hatteNun JFrog Artifactory mit, ich habe Remote-Repo gefassten nach http://buttso.blogspot.lt/2015/02/fronting-oracle-maven-repository-with.htmlhttps://www.jfrog.com/blog/fronting-oracle-maven-repository-artifactory/
TEST-Taste sagt Verbindung erfolgreich
ich settings.xml mit dem einen JFrog Artifactory erzeugt mir
<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<servers>
<server>
<username>${security.getCurrentUsername()}</username>
<password>${security.getEscapedEncryptedPassword()!"*** Insert encrypted password here ***"}</password>
<id>central</id>
</server>
<server>
<username>${security.getCurrentUsername()}</username>
<password>${security.getEscapedEncryptedPassword()!"*** Insert encrypted password here ***"}</password>
<id>snapshots</id>
</server>
</servers>
<mirrors>
<mirror>
<mirrorOf>*</mirrorOf>
<name>remote-repos</name>
<url>http://docker.k***.l**:8081/artifactory/remote-repos</url>
<id>remote-repos</id>
</mirror>
</mirrors>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>libs-release</name>
<url>http://docker.k***.l**:8081/artifactory/libs-release</url>
</repository>
<repository>
<snapshots />
<id>snapshots</id>
<name>libs-snapshot</name>
<url>http://docker.k***.l**:8081/artifactory/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>plugins-release</name>
<url>http://docker.k***.l**:8081/artifactory/plugins-release</url>
</pluginRepository>
<pluginRepository>
<snapshots />
<id>snapshots</id>
<name>plugins-snapshot</name>
<url>http://docker.k***.l**:8081/artifactory/plugins-snapshot</url>
</pluginRepository>
</pluginRepositories>
<id>artifactory</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>artifactory</activeProfile>
</activeProfiles>
</settings>
ich hinzugefügt haben, um meine POM
<distributionManagement>
<repository>
<id>central</id>
<name>e44b4c0db643-releases</name>
<url>http://docker.k***.l**:8081/artifactory/ext-release-local</url>
</repository>
</distributionManagement>
ersetzt haben, aber wenn ich versuche, maven Befehl auszuführen
sauber installieren
ich
Die folgenden Artefakte konnte nicht aufgelöst werden: com.oracle.jdbc: ojdbc7: jar: 12.1.0.2, com.oracle.jdbc: UCP: jar: 12.1.0.2: Könnte nicht Artefakt finden com.oracle.jdbc: ojdbc7: jar: 12.1.0.2 in Remote-Repos
Sie werden nie thos Artefakte in öffentlichen Archiven finden. – khmarbaise
Ich verstehe deinen Kommentar nicht ??? Diese Artefakte sind nicht im öffentlichen Repository, sie sind in Orakeln Repository –