日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

maven工程打包老是报错_maven工程pom文件老是报错

發(fā)布時間:2025/3/12 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 maven工程打包老是报错_maven工程pom文件老是报错 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

本人mac端,從svn上下載了一個maven工程

在eclipse上使用maven install 時候老是失敗

本地倉庫已經(jīng)指定好,但是還是顯示無法獲取指定的jar包

信息如下

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building caf-template-adminlte 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] Could not transfer metadata com.cpic.caf:caf-template-service:1.0-SNAPSHOT/maven-metadata.xml from/to caf_repositories (/Users/sml/Documents/repository): Cannot access /Users/sml/Documents/repository with type default using the available connector factories: AetherRepositoryConnectorFactory, BasicRepositoryConnectorFactory

[WARNING] Failure to transfer com.cpic.caf:caf-template-service:1.0-SNAPSHOT/maven-metadata.xml from /Users/sml/Documents/repository was cached in the local repository, resolution will not be reattempted until the update interval of caf_repositories has elapsed or updates are forced. Original error: Could not transfer metadata com.cpic.caf:caf-template-service:1.0-SNAPSHOT/maven-metadata.xml from/to caf_repositories (/Users/sml/Documents/repository): Cannot access /Users/sml/Documents/repository with type default using the available connector factories: AetherRepositoryConnectorFactory, BasicRepositoryConnectorFactory

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.530 s

[INFO] Finished at: 2017-11-09T15:15:33+08:00

[INFO] Final Memory: 11M/245M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project caf-template-adminlte: Could not resolve dependencies for project com.cpic:caf-template-adminlte:war:1.0-SNAPSHOT: Failed to collect dependencies at com.oracle.jdbc.driver:ojdbc6:jar:11g: Failed to read artifact descriptor for com.oracle.jdbc.driver:ojdbc6:jar:11g: Could not transfer artifact com.oracle.jdbc.driver:ojdbc6:pom:11g from/to caf_repositories (/Users/sml/Documents/repository): Cannot access /Users/sml/Documents/repository with type default using the available connector factories: AetherRepositoryConnectorFactory, BasicRepositoryConnectorFactory -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

pom文件如下

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

4.0.0

com.cpic

caf-template-adminlte

caf-template-adminlte

war

1.0-SNAPSHOT

1.7

1.7

1.7

UTF-8

com.oracle.jdbc.driver

ojdbc6

11g

org.apache.solr

solr-solrj

4.7.2

com.cpic.caf

caf-template-service

1.0-SNAPSHOT

com.oracle.jdbc.driver

ojdbc6

jstl

jstl

1.2

junit

junit

4.8.2

test

org.springframework

spring-test

3.2.8.RELEASE

test

javax.servlet

servlet-api

2.5

provided

com.alibaba

druid

1.0.27

org.mybatis

mybatis

3.2.7

org.mybatis

mybatis-spring

1.2.2

localDev

true

env

localDev

src/main/java

**/*

src/main/resources

**/*

src/main/localDevResources

CI

env

CI

src/main/java

**/*

src/main/resources

**/*

src/main/CIResources

Server

env

server

src/main/java

**/*

src/main/resources

**/*

src/main/ServerResources

caf_repositories

/Users/sml/Documents/repository

true

interval:5

true

always

cpic-nexus

/Users/sml/Documents/repository

true

true

總結(jié)

以上是生活随笔為你收集整理的maven工程打包老是报错_maven工程pom文件老是报错的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。