[
https://issues.apache.org/jira/browse/KARAF-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-5630.
-----------------------------------------
Resolution: Not A Problem
As you can see on this example (that will included in Karaf 4.2.0 with dev
guide upgraded):
https://github.com/jbonofre/karaf/tree/DEV_GUIDE_MVN_RUN/examples/karaf-maven-example/karaf-maven-example-run-bundle
The {{run}} goal is able to deploy the current bundle into the running instance
(started by the goal itself).
> 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)