maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Huffer (JIRA)" <>
Subject [jira] [Commented] (MINSTALL-151) Module packaging of `feature` fails to install
Date Mon, 01 Oct 2018 16:39:00 GMT


Peter Huffer commented on MINSTALL-151:

[~khmarbaise] I'm not sure what the best way to upload my example project is. I put up the
pom.xml though as well as an empty feature.xml file that should go under a {{src/main/feature}} directory.
If there is a better way to upload the example let me know and I'll do it.

> Module packaging of `feature` fails to install
> ----------------------------------------------
>                 Key: MINSTALL-151
>                 URL:
>             Project: Maven Install Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0-M1
>            Reporter: Peter Huffer
>            Priority: Major
>         Attachments: feature.xml, pom.xml
> 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:
> {code:java}
> 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]
> {code}
> Reverting back to version {{2.5.2}} made the {{mvn install}} command succeed.

This message was sent by Atlassian JIRA

View raw message