[INFO] ------------------------------------------------------------------------ [INFO] 构建失败 [INFO] ------------------------------------------------------------------------ [INFO] 总时间:00.000 秒 [INFO] 完成时间:2018-10-01T00:00:00+01:00 [INFO] 最终内存:xxM/xxM [INFO] ------------------------------------------------------------------------ [错误] 无法对项目执行目标 org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy),项目名称: NoFileAssignedException:此项目的打包插件没有给项目分配主文件,但它有附件。将包装改为“pom”。 -> [Help 1]“mvn 安装”显示相同的错误:
[错误] 无法对项目执行目标 org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) ,项目名称: NoFileAssignedException:此项目的打包插件没有给项目分配主文件,但它有附件。将包装改为“pom”。 -> [Help 1]
Maven 安装插件的新版本已经发布在 Maven 公共库 (3.0.0-M1) 上。
默认情况下,Mule 不会为这个插件定义版本,而是选择最后一个。这个新版本在安装阶段失败。
1.7请确保 mule-app-maven-plugin 插件正在使用该属性
org.mule.tools.maven mule-app-maven-plugin ${mule.tools.version} true ... org.mule.tools.maven mule-app-maven-plugin 1.7 true ...
[错误]无法解析的构建扩展:Plugin org.mule.tools.maven:mule-app-maven-plugin:1.7 或其依赖项之一无法解析:找不到 artifact org.mule.tools:mule-artifact-archiver:jar:1.2-SNAPSHOT @这是该修补程序最初版本中的一个问题,现在已被更新。要纠正错误,请从项目目录中执行以下 Maven 命令:
mvn dependency:purge-local-repository -DmanualInclude="org.mule.tools.maven:mule-app-maven-plugin:1.7"这将删除早期版本,下一个版本将使用更新后的版本。
org.apache.maven.plugins maven-install-plugin 2.5.2 org.apache.maven.plugins maven-deploy-plugin 2.8.2
001117945

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.