2017-09-21 63 views
0

我已經面臨着一個下一個問題:未能找到在Nexus倉庫的jar文件,被兌現本地倉庫

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project mdw: Execution default of goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run failed: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failure to find com.oracle:ojdbc7:jar:12.1.0.2 in **Here nexus url** was cached in the local repository, resolution will not be reattempted until the update interval of eict-plugins has elapsed or updates are forced -> [Help 1] 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project mdw: Execution default of goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run failed: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failure to find com.oracle:ojdbc7:jar:12.1.0.2 in **Here nexus url** was cached in the local repository, resolution will not be reattempted until the update interval of eict-plugins has elapsed or updates are forced 

Maven的建設我的項目時。

如何解決,有什麼建議?

回答

0

我試過尋找並找不到oracle版本的ojdbc7。你可以嘗試下面,看看這是否有幫助。

<dependency> 
    <groupId>com.github.noraui</groupId> 
    <artifactId>ojdbc7</artifactId> 
    <version>12.1.0.2</version> 
</dependency>