运行mvn clean install
后,当我尝试运行mvn -pl setup exec:exec
时出现以下错误:
[INFO]扫描项目...
[信息]
[信息] -------------------------------------------------- ----------------------
[INFO] building sikulixsetup 1.1.1
[INFO] -------------------------------------------------- ----------------------
[INFO]
[INFO] --- exec-maven-plugin:1.3.1:exec (default-cli)@ sikulixsetup ---
[debug] RunTimeINIT:global init:输入为: SETUP
[debug] RunTimeINIT:ScreenDevice 0有(0,0)---将 主屏幕(0)
[debug] RunTimeINIT:监视器0:(0,0)1600 x 900
[debug] RunTimeINIT:以sikulixsetup-1.1.1-forsetup.jar运行 在: C:\ Users \用户bhowmik \下载\ TEST_NIGHTLY \ SikuliX-2014主\设置\目标
[debug] RunTimeINIT:检测到文件夹目标 - 假设Maven 项目:C:\ Users \ bhowmik \ Downloads \ TEST_NIGHTLY \ SikuliX-2014-master *****显示SETUP的环境(build 201605140512)user.home:C:\ Users \ bhowmik user.dir(work dir): C:\ Users \用户bhowmik \下载\ TEST_NIGHTLY \ SikuliX-2014主\设置 user.name:bhowmik java.io.tmpdir:C:\ Users \ bhowmik \ AppData \ Local \ Temp 从一些jar java在Maven项目中的Windows(6.1)上运行64Bit 8-64版本1.8.0_91-b14 vm 25.91-b14 class 52.0 arch amd64 app data 文件夹:C:\ Users \ bhowmik \ AppData \ Roaming \ Sikulix libs文件夹:null 执行jar: C:\ Users \用户bhowmik \下载\ TEST_NIGHTLY \ SikuliX-2014主\设置\目标\ sikulixsetup-1.1.1- forsetup.jar * classpath dump sikulix 0:/C:/Users/bhowmik/Downloads/TEST_NIGHTLY/SikuliX-2014-master/Setup/target/sikulixsetup-1.1.1-forsetup.jar * classpath dump end ***** show environment end [debug] RunTimeSETUP:global init:leave
[debug] RunTimeSETUP:initAPI:进入
[debug] RunTimeSETUP:resourceList:输入
[debug] RunTimeSETUP: resourceLocation :(类org.sikuli.setup.RunSetup)/ Lib / sikuli
[debug] RunTimeSETUP:resourceList:有jar: 罐子:文件:/ C:/Users/bhowmik/Downloads/TEST_NIGHTLY/SikuliX-2014-master/Setup/target/sikulixsetup-1.1.1-forsetup.jar /库/ sikuli
[debug] RunTimeSETUP:导出的文件:7从:Lib / sikuli到: C:\ Users \ bhowmik \ AppData \ Roaming \ Sikulix \ Lib \ sikuli
[debug] RunTimeSETUP:initAPI:离开[debug] RunTimeSETUP:存在libs 文件夹在: C:\用户\ bhowmik \应用程序数据\漫游\ Sikulix \ SikulixLibs_201605140512
[debug] RunTimeSETUP:libs文件夹为空或内容有误
[debug] RunTimeSETUP:现在导出libs * classpath dump 0:/C:/Users/bhowmik/Downloads/TEST_NIGHTLY/SikuliX-2014-master/Setup/target/sikulixsetup-1.1.1-forsetup.jar * classpath dump end
[错误] RunTimeSETUP:***终止:在类路径上找不到要导出的库: / sikulixlibs / windows / libs64
[debug] RunTimeSETUP:最终清理
[debug] FileManager:deleteFileOrFolder: C:\ Users \ bhowmik \ AppData \ Local \ Temp \ Sikulix_387398274
[INFO] -------------------------------------------------- ----------------------
[INFO] BUILD FAILURE
[INFO] -------------------------------------------------- ----------------------
[INFO]总时间:3.279 s
[信息]完成于: 2016-05-14T11:10:34 + 05:30 [最后记忆:13M / 153M
[信息] -------------------------------------------------- ----------------------
[ERROR]无法执行目标 org.codehaus.mojo:exec-maven-plugin:1.3.1:exec(default-cli)on project sikulixsetup:命令执行失败。流程退出了 错误:1(退出值:1) - > [帮助1]