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

本人mac端,从svn上下载了一个maven工程

在eclipse上使用maven install 时候老是失败

本地仓库已经指定好,但是还是显示无法获取指定的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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/563511.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

python 整数逆位运算_Python 进制转换、位运算

一、进制转换编程用十进制,十进制转换为二进制、八进制、十六进制In [135]: bin(23)Out[135]: 0b10111In [136]: oct(23)Out[136]: 0o27In [137]: hex(23)Out[137]: 0x17也可以直接反向获取十进制In [146]: 0b10111Out[146]: 23In [147]: 0o27Out[147]: 23In [148]:…

python高频词_python几万条微博高频词分析

python几万条微博高频词分析看到别人有做影视热评的分析统计,觉得挺好玩的,就来试试看看效果Screenshot_2018-05-21-11-00-42-879_com.master.wei.png思路抓取想要的微博数据写入数据库分词统计出词汇出现次数过滤无意义的干扰词存入数据库写接口&#x…

属性值动态调整_【VBA】Range对象的常用方法属性(三)

本文继续上一节的Range对象的方法和属性的讲解。上一讲讲到了End属性寻找最后一个已经使用的单元格。这一节继续讲解关于动态找单元格区域方面的属性。Offset 偏移相信学过OFFSET工作表函数的人对这个印象比较深刻,它可是函数中高手必备函数之一。在VBA中&#xff0…

git 新建分支并切换到该分支_git切换到指定分支,git新建分支与合并

一,git切换到指定分支使用git进行开发的时候经常会遇到需要切换远程分支并且提交到远程指定分支的情况,操作如下1,查看远程所有分支git branch -agit branch不带参数,列出本地已经存在的分支,并且在当前分支的前面用*标记&#xf…

mysql入门到跑路_Mysql入门二十小题(DBA老司机带你删库到跑路)2018.11.26

1、 请介绍数据库管理系统的种类及代表产品RDBMS: mysql oracle mssqlNoSQL: redis mongoab memcache2、 请简述数据库管理系统的作用数据存储,管理数据,备份恢复,安全性,权限管理,3、 请简述RDBMS和NoSQL的特性对比RDBMS:强大的查询功能、强一致性、二级索引、支…

mysql用户如何迁移_迁移MySQL用户及权限

导出[rootdb01 tmp]# mysql -B -N -uroot -p -e "SELECT CONCAT(\, user,\\, host, \) FROM user WHERE user ! debian-sys-maint AND user ! root AND user ! " mysql > /tmp/mysql_all_users.txt[rootdb01 tmp]# cat /tmp/mysql_all_users.txt[rootdb01 tmp]# c…

mysql安装包没有安装程序_MySQL5.6的zip包安装教程详解

之前我们都是后缀为.msi的文件,换言之就是傻瓜式安装,但是有些版本不容易控制安装路径,或者数据库编码格式,还有些会安装很多无用的服务,但是都没有后缀为.zip文件简单直接,说是在哪里,就在哪里…

mysql not in 多列,MySQL中的多列外键?

I have a table that has a primary key consisting of two columns (product_id, attribute_id). I have another table that needs to reference this table. How can I make a foreign key in the other table to link it to a row in the table with two primary keys?解决…

导入mysql source_mysql导入source数据库

首先要确保数据库存在,如果不存在则创建方法1 source很智能,很方便,很快捷。# mysql -uroot -pEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 54467Server version: 5.6.36-log Sour…

mysql count优化_MySQL count()函数及其优化

很简单,就是为了统计记录数由SELECT返回为了理解这个函数,让我们祭出 employee_tbl 表所有记录统计行的总数计算 Zara 的记录数注意:由于 SQL 查询对大小写不敏感,所以在 WHERE 条件中,无论是写成 ZARA 还是 Zara&…

dz论坛连接mysql数据库_dz论坛搬家后连接数据库等教程

dz搬家后,第一步就是上传源文件到网站根目录和导入数据库然后修改对应的数据库连接配置文件 一共有三个这样修改之后网站就可以访问啦1、config/config_global.php$_config[db][1][dbuser] 数据库用户名;$_config[db][1][dbpw] 数据库密码;$_config[db][1][dbname…

mysql创建表时默认默认_mysql创建数据表时指定默认值教程

指定默认值如果在插入行时没有给出值,MySQL允许指定此时使用的默认值。默认值用 CREATE TABLE 语句的列定义中的 DEFAULT 关键字指定。请看下面的例子:输入:create table orderitems(order_num int NOT NULL,order_item int NOT NULL,prod_id…

csv mysql 导入 mac_将sqlserver导出的csv数据导入到ubuntu和mac上的mysql

最近在捣鼓一些数据相关的东西。将sql server里的数据导入到ubuntu和mac上的mysql,方法有很多。不过我选择了最简单的一种:将sql server的数据导成csv,然后将csv导入到mysql。想法挺好,坑挺多。sql server是windows的,…

2012 安装mysql 5.6_如何安装mysql server 5.6

匿名用户1级2016-02-22 回答有两种方法,一种方法使用mysql的check table和repair table 的sql语句,另一种方法是使用MySQL提供的多个myisamchk, isamchk数据检测恢复工具。前者使用起来比较简便。推荐使用。1. check table 和 repair table登陆mysql 终端…

php mysql循环语句怎么写_mysql数据库循环语句该怎么写???

数据库结构num date2 2013-07-245 2013-07-258 2013-08-0310 2013-08-224 2013-09-10最后要在页面中输出为一个行行统计格式7月份 7条记录8月份 18条记录9月份 4条记录要求sql语句只有一句话,有的人会想可以select (count(条件))关键是还要换行的。。有点不会了。回…

mac mysql 安装 简书_在Mac系统上配置MySQL以及Squel Pro

为了响应nodejs的大红大紫,最近应用其实现了一些server端的功能。数据库方面选择了老少咸宜的MySQL。今后肯定还会有相关应用需求。特此记录Mac系统下如何安装、配置MySQL及其管理工具Squel Pro。为什么选择MYSQL:数据库有很多,为什么么我选择…

ntext在mysql_varchar和text说不清的那些事

数据库定义到char类型的字段时,不知道大家是否会犹豫一下,到底选char、nchar、varchar、nvarchar、text、ntext中哪一种呢?结果很可能是两种,一种是节俭人士的选择:最好是用定长的,感觉比变长能省些空间&am…

win+mysql自动备份吗_Windows下mysql自动备份的最佳方案

网上有很多关于window下Mysql自动备份的方法,其实不乏一些不好的地方和问题,现总结出一个最好的方法供大家参考:新建一个记事本,然后重命名为: mysql_backup.bat 然后单击右键选择编辑,把下面的部分粘贴进来…

字符串转16进制_16、atoi-整数字符串转整数-leetcode8-中等

思路:借助正则表达式。class Solution:def myAtoi(self, s: str) -> int:import repattern re.compile(r^[-]?d) # 生成patterns s.lstrip() #去除左侧空格num_str pattern.findall(s) #找到pattern,返回一个listnum int(*num_str) #用*将list解…

python递归查找_[Python]递归查找文件(最简洁)

google了一下发现大多数人都是自己实现的,其实python标准库里是有相关方法的,更简洁,而且支持pattern匹配。其实自己实现也没多难,但是一个非常重要的经验告诉我,内置方法哪怕代码跟你的一模一样都会比你自己写的快很多…