[ https://issues.apache.org/jira/browse/KARAF-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374239#comment-16374239 ]
Felix marezki commented on KARAF-5630: -------------------------------------- Ok, then how would that go in case of a bundle project? I mean there needs to be a context, no!? Wouldn't that imply that I would have to make it an execution goal of a phase? Cause else there would be no artifact set on the Project (Well, an artifact would be set but no corresponding File). So how am I supposed to run that? Now on the use case where I want to load a Feature on run. I totally get that you could attach the feature.xml as an artifact to the Project, but that would involve using yet another Plugin, doesn't it? So to be honest I thought the Plugin didn't work at all when I first tried it. > karaf:run goal not working > --------------------------- > > Key: KARAF-5630 > URL: https://issues.apache.org/jira/browse/KARAF-5630 > Project: Karaf > Issue Type: Improvement > Components: karaf-tooling > Affects Versions: 4.0.4, 4.0.5, 4.0.10, 4.1.5, 4.2.0.M2 > Reporter: Felix marezki > Assignee: Jean-Baptiste Onofré > Priority: Major > > The karaf:run goal is supposed to run a bundle. > This doesn't work as the RunMojo tries to run the artifact that is associated > with the Project. > Even though there is an Artifact available its getFile() function return > null, as normally the setFile() function of it is being called by the > packaging Mojo which is not present nor executed beforehand. -- This message was sent by Atlassian JIRA (v7.6.3#76005)