2017-09-21 59 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>