Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 506A11052E for ; Wed, 19 Feb 2014 01:34:10 +0000 (UTC) Received: (qmail 51768 invoked by uid 500); 19 Feb 2014 01:34:09 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 51579 invoked by uid 500); 19 Feb 2014 01:34:08 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 51572 invoked by uid 99); 19 Feb 2014 01:34:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 01:34:08 +0000 X-ASF-Spam-Status: No, hits=1.4 required=5.0 tests=ASF_LIST_SERVER_DEV_A,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 01:34:02 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WFw2e-0003j5-Ur for user@geronimo.apache.org; Tue, 18 Feb 2014 17:33:41 -0800 Date: Tue, 18 Feb 2014 17:33:40 -0800 (PST) From: rwengr To: user@geronimo.apache.org Message-ID: <1392773620572-3987640.post@n3.nabble.com> Subject: Geronimo 3: car-maven-plugin changing bundle name MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I am trying to package the Apache Directory Server as a plugin for Geronimo 3.0.1 using the Maven project sources for 2.1.3 as a starting point. Bundles are still a mystery, but it seems like maven is taking care of all of that. I am using maven 2.2. I can create the CAR file for 2.1.3. But when I set the Geronimo version to 3.0.1 in the POM file, I am getting a bundle error from the maven-car-plugin when it tries to create the package. The unit test seems to work. I reviewed built in documentation for car-maven-plugin using help:describe and nothing seemed significant except adding the element to the configuration. -e and -X options for maven don't add any obvious useful info. I HOPE SOMEONE CAN SUGGEST POSSIBLE APPROACHES FOR A SOLUTION. The actual error is: [main] ERROR org.apache.geronimo.deployment.Deployer - Deployment failed due to org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class org.apache.geronimo.directory.DirectoryGBean from bundle org.apache.geronimo.plugins.directory-DEPLOYMENT_2.18.14 [59] at location reference:file:/tmp/geronimo-fileutils81463372379762518.tmpdir/ at org.apache.geronimo.gbean.annotation.AnnotationGBeanInfoFactory.getGBeanInfo(AnnotationGBeanInfoFactory.java:42) at org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:66) etc. When I moved to the car-maven-plugin for Geronimo 3 I discovered that it would insert DEPLOYMENT into the artifactId when it created plan.xml unless I specified the artifact completely. I thought that would fix the problem. As far as I can tell, plan.xml is being created correctly. But the plugin seems to be ignoring the artifactId in the plan *The problem is that the bundle name the plugin is looking for contains "DEPLOYMENT" which I do not add and I cannot find with grep in my project files. Somehow the plugin is using a modified name. Excerpts of the most relevant details are below. * I leave -SNAPSHOT out of the version because I read and observed it was converted to .SNAPSHOT. Excerpt of created plan.xml org.apache.geronimo.plugins directory 2.18.14 car Excerpt of pom.xml containing car-maven-plugin. All plugin versions managed in the parent. org.apache.geronimo.buildsupport car-maven-plugin true org.apache.geronimo.plugins directory 2.18.14 LDAP true true META-INF/server.xml var/directory/server.xml var/directory -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-car-maven-plugin-changing-bundle-name-tp3987640.html Sent from the Users mailing list archive at Nabble.com.