You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from version >= 3.x the behaviour of the maven-install-plugin changed.
It is not longer possible to install "attached artefacts" only.
Thus when running a build with a new maven-install-plugin version you might see the following 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]
Starting from version >= 3.x the behaviour of the maven-install-plugin changed.
It is not longer possible to install "attached artefacts" only.
Thus when running a build with a new maven-install-plugin version you might see the following 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]
The issue is also discussed here: https://issues.apache.org/jira/browse/MINSTALL-151
The text was updated successfully, but these errors were encountered: