[ 
https://issues.apache.org/jira/browse/KARAF-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372370#comment-16372370
 ] 

Jean-Baptiste Onofré commented on KARAF-5630:
---------------------------------------------

For me, it's not a bug. It's an improvement. Let me explain. When using 
{{karaf:run}} without any "context", by default, it assumes your Maven project 
has a bundle artifact attached. Then, it's able to bootstrap Karaf and deploy 
this artifact in Karaf.

Anyway, your improvement is interesting as it would allow to use {{karaf:run}} 
for non bundle packaging.

> 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)

Reply via email to