jpos:构建突然无故失败
jpos : Build failed suddenly for no reason
我正在构建 jpos 应用程序,这些天一直都很好。
我使用 运行 下面的命令进行构建,两者都运行良好。
gradlew.bat assemble -x signArchives installApp 或
gradlew.bat assemble -x signArchives 安装
但突然构建失败并显示以下消息,我没有做任何更改。
不知道为什么会失败。请帮助我如何才能成功构建。
> Task :jpos:processResources FAILED
Caching disabled for task ':jpos:processResources' because:
Caching has not been enabled for the task
Task ':jpos:processResources' is not up-to-date because:
Task.upToDateWhen is false.
:jpos:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.106 secs.
> Task :qnode:javadoc
Build cache key for task ':qnode:javadoc' is 1b25edb3d0d8c177cce7379d93017208
Task ':qnode:javadoc' is not up-to-date because:
Input property 'classpath' file C:\Users\e064070\IdeaProjects\jPOS\qnode\build\resources\main\org\jpos\qnode\buildinfo.prop
erties has changed.
Starting process 'command 'C:\Program Files\Java\jdk1.8.0_231\bin\javadoc.exe''. Working directory: C:\Users\e064070\IdeaProj
ects\jPOS\qnode Command: C:\Program Files\Java\jdk1.8.0_231\bin\javadoc.exe @C:\Users\e064070\IdeaProjects\jPOS\qnode\build\t
mp\javadoc\javadoc.options
Successfully started process 'command 'C:\Program Files\Java\jdk1.8.0_231\bin\javadoc.exe''
Packing task ':qnode:javadoc'
:qnode:javadoc (Thread[Execution worker for ':' Thread 4,5,main]) completed. Took 9.925 secs.
FAILURE: Build failed with an exception.
问题是项目中没有任务 signArchives
。
您只需删除 -x signArchives
部分。
但是也就是说,除非您尝试修改它,否则您不需要手动编译 jPOS。
要创建自定义渠道,您也不需要(也不想)在 jPOS 项目中进行,您可以(并且应该)在自己的项目中进行。
我正在构建 jpos 应用程序,这些天一直都很好。
我使用 运行 下面的命令进行构建,两者都运行良好。
gradlew.bat assemble -x signArchives installApp 或
gradlew.bat assemble -x signArchives 安装
但突然构建失败并显示以下消息,我没有做任何更改。 不知道为什么会失败。请帮助我如何才能成功构建。
> Task :jpos:processResources FAILED
Caching disabled for task ':jpos:processResources' because:
Caching has not been enabled for the task
Task ':jpos:processResources' is not up-to-date because:
Task.upToDateWhen is false.
:jpos:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.106 secs.
> Task :qnode:javadoc
Build cache key for task ':qnode:javadoc' is 1b25edb3d0d8c177cce7379d93017208
Task ':qnode:javadoc' is not up-to-date because:
Input property 'classpath' file C:\Users\e064070\IdeaProjects\jPOS\qnode\build\resources\main\org\jpos\qnode\buildinfo.prop
erties has changed.
Starting process 'command 'C:\Program Files\Java\jdk1.8.0_231\bin\javadoc.exe''. Working directory: C:\Users\e064070\IdeaProj
ects\jPOS\qnode Command: C:\Program Files\Java\jdk1.8.0_231\bin\javadoc.exe @C:\Users\e064070\IdeaProjects\jPOS\qnode\build\t
mp\javadoc\javadoc.options
Successfully started process 'command 'C:\Program Files\Java\jdk1.8.0_231\bin\javadoc.exe''
Packing task ':qnode:javadoc'
:qnode:javadoc (Thread[Execution worker for ':' Thread 4,5,main]) completed. Took 9.925 secs.
FAILURE: Build failed with an exception.
问题是项目中没有任务 signArchives
。
您只需删除 -x signArchives
部分。
但是也就是说,除非您尝试修改它,否则您不需要手动编译 jPOS。
要创建自定义渠道,您也不需要(也不想)在 jPOS 项目中进行,您可以(并且应该)在自己的项目中进行。