博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用mvn生成webapp失败,尚未找到原因
阅读量:6968 次
发布时间:2019-06-27

本文共 1686 字,大约阅读时间需要 5 分钟。

执行命令:

mvn archetype:create -DgroupId=com.jd.ads.test -DartifactId=testTools -DarchetypeArtifactId=maven-archetype-webapp

返回:

[INFO] Scanning for projects...[INFO] Searching repository for plugin with prefix: 'archetype'.[INFO] ------------------------------------------------------------------------[INFO] Building Maven Default Project[INFO] task-segment: [archetype:create] (aggregator-style)[INFO] ------------------------------------------------------------------------[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-archetype-plugin:2.3 Cause: Cannot assign configuration entry 'pomRemoteRepositories' to 'interface java.util.List' from 'null', which is of type class java.lang.String[INFO] ------------------------------------------------------------------------[INFO] For more information, run Maven with the -e switch[INFO] ------------------------------------------------------------------------[INFO] Total time: 1 second[INFO] Finished at: Mon Aug 03 10:33:01 CST 2015[INFO] Final Memory: 23M/218M[INFO] ------------------------------------------------------------------------

  

怎么导致的?

可能的原因:

exec.arguments was used before version 1.1 of the exec plugin, it did not support conversion of command line String to String[] array.

  1. If possible upgrade to 1.1 or later and use exec.args instead of exec.arguments.
  2. If you can't upgrade the plugin version, you can still use command line arguments with a profile and use multiple <argument> tags associated in the pom.xml

转载地址:http://jnisl.baihongyu.com/

你可能感兴趣的文章
Codeforces Global Round 1 晕阙记
查看>>
相机相册
查看>>
百度文化秘籍
查看>>
VSTO Office二次开发对PPT自定义任务窗格测试
查看>>
Algs4-1.3.33一个双向队列Deque-双向链表实现
查看>>
Algs4-2.2.29自然的归并排序(未解决)
查看>>
Python学习——模块的基本知识
查看>>
iOS开发UI篇—ios应用数据存储方式(XML属性列表-plist)
查看>>
shell中数组基础语法
查看>>
P1215 母亲的牛奶
查看>>
DBA_Oracle基本体系内存和进程结构(概念)
查看>>
winform中获取指定文件夹下的所有图片
查看>>
linux学习笔记(四):vi
查看>>
最大连续子序列(dp)
查看>>
mysql触发器trigger
查看>>
谷歌地图API位置请求_Google Maps API
查看>>
20165330 结对编程项目-四则运算 第一周
查看>>
window.showModalDialog
查看>>
mongodb分片扩展架构
查看>>
vue音乐项目歌手详情页小结
查看>>