From issues-return-39218-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Mon Mar 26 18:14:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id DD9C6180671 for ; Mon, 26 Mar 2018 18:14:17 +0200 (CEST) Received: (qmail 83178 invoked by uid 500); 26 Mar 2018 16:14:15 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 83077 invoked by uid 99); 26 Mar 2018 16:14:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2018 16:14:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 78A65C1A76 for ; Mon, 26 Mar 2018 16:14:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id memtOtLpbziw for ; Mon, 26 Mar 2018 16:14:14 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 930E060E7C for ; Mon, 26 Mar 2018 16:14:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id ECDB9E0E23 for ; Mon, 26 Mar 2018 16:14:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5322C21505 for ; Mon, 26 Mar 2018 16:14:00 +0000 (UTC) Date: Mon, 26 Mar 2018 16:14:00 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (KARAF-5630) karaf:run goal not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-5630?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 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-mav= en-example/karaf-maven-example-run-bundle The {{run}} goal is able to deploy the current bundle into the running inst= ance (started by the goal itself). > karaf:run goal not working=20 > --------------------------- > > 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=C3=A9 > Priority: Major > > The karaf:run goal is=C2=A0supposed to run a bundle. > This doesn't work as the RunMojo tries to run=C2=A0the artifact that is a= ssociated 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 packa= ging Mojo which is not present nor executed beforehand. -- This message was sent by Atlassian JIRA (v7.6.3#76005)