在maven 3上构建失败

时间:2017-09-21 07:37:25

标签: maven maven-3

我遇到了一个问题,我的版本在maven 3.5.0版本上崩溃了。

我在这里有一些堆栈跟踪:

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: The following artifacts could not be resolved: com.oracle:ojdbc14:jar:10.2.0.2.0, com.oracle:ojdbc7:jar:12.1.0.2: Could not transfer artifact com.oracle:ojdbc14:jar:10.2.0.2.0 from/to maven-repository.dev.java.net (http://download.java.net/maven/1/): Cannot access http://download.java.net/maven/1/ with type legacy using the available connector factories: BasicRepositoryConnectorFactory: Cannot access http://download.java.net/maven/1/ with type legacy using the available layout factories: Maven2RepositoryLayoutFactory: Unsupported repository layout legacy -> [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: The following artifacts could not be resolved: com.oracle:ojdbc14:jar:10.2.0.2.0, com.oracle:ojdbc7:jar:12.1.0.2: Could not transfer artifact com.oracle:ojdbc14:jar:10.2.0.2.0 from/to maven-repository.dev.java.net (http://download.java.net/maven/1/): Cannot access http://download.java.net/maven/1/ with type legacy using the available connector factories: BasicRepositoryConnectorFactory

有人可以帮忙解决这个问题吗?

0 个答案:

没有答案