Jean-Baptiste Onofré commented on KARAF-5630:

RunMojo just runs a Karaf instance: it's up to  you to use the resource or 
assembly plugin to  put what ever you want in  the deploy folder. You can also 
use the deploy goal,  or client goal to interact with the running instance. So 
{{karaf:run}} doesn't do deployment, as it says: it just run Karaf.

> 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

Reply via email to