[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time:00.000 s [INFO] Finished at:2018-10-01T00:00:00+01:00 [INFO] Final Memory: xxM/xxM [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project project-name: NoFileAssignedException:The packaging plugin for this project did not assign a main file to the project but it has attachments.Change packaging to 'pom'. -> [Help 1]同じエラーが「mvn install」でも表示されます。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project project-name: NoFileAssignedException:The packaging plugin for this project did not assign a main file to the project but it has attachments.Change packaging to '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 ...
[ERROR] Unresolveable build extension:Plugin org.mule.tools.maven:mule-app-maven-plugin:1.7 or one of its dependencies could not be resolved:Could not find 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.