maven-resources-plugin介绍:
copies the resources for the main source code to the main output
directory. This goal usually executes automatically, because it is
bound by default to the process-resources life-cycle phase. It
always uses the project.build.resources element to specify the
resources, and by default uses the project.build.outputDirectory to
specify the copy destination.
拷贝main resources到main output directory。它绑定了process-resources生命周期阶段,当执行Compiler:compile插件目标前就会执行此阶段。
其实就是 resource 的 打包输出的东西 ,今天打包时遇到个错误 :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project ringsetting-gateway: Input length = 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with th在这里插入代码片e -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/MojoExecutionException
[ERROR]