Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-M1
-
None
-
None
Description
I have a module which has a packaging of feature from the karaf-maven-plugin. When running the mvn install command, the following error occurs:
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]
Reverting back to version 2.5.2 made the mvn install command succeed.
Attachments
Attachments
Issue Links
- duplicates
-
MINSTALL-152 Maven Install Plugin Version 3.0.0-M1 unable to build POMs with packaging set "feature"
- Closed
- is blocked by
-
MSHARED-760 Do not fail if no main artifact has been set, but attachments existing
- Closed
- is fixed by
-
MINSTALL-189 Add parameter to lax project validation
- Closed
- is related to
-
MINSTALL-118 MavenProject with only attachments must have packaging "pom"
- Closed
-
MINSTALL-169 Handle non-pom packaging with only a pom artifact
- Closed
- relates to
-
MDEPLOY-288 Deploy is failed when no primary artifact is present
- Closed