Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 76402 invoked from network); 14 May 2010 07:30:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 May 2010 07:30:10 -0000 Received: (qmail 39067 invoked by uid 500); 14 May 2010 07:30:10 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 38879 invoked by uid 500); 14 May 2010 07:30:10 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 38867 invoked by uid 99); 14 May 2010 07:30:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 May 2010 07:30:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 May 2010 07:30:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4E7ThGf025184 for ; Fri, 14 May 2010 07:29:44 GMT Message-ID: <20181416.40271273822183712.JavaMail.jira@thor> Date: Fri, 14 May 2010 03:29:43 -0400 (EDT) From: "yuanyun.cn (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-5306) Can't import Geronimo projects into eclipse, because two projects called 'client'. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Can't import Geronimo projects into eclipse, because two projects called 'client'. ---------------------------------------------------------------------------------- Key: GERONIMO-5306 URL: https://issues.apache.org/jira/browse/GERONIMO-5306 Project: Geronimo Issue Type: Improvement Security Level: public (Regular issues) Affects Versions: 2.2 Environment: Geronimo 2.2 Reporter: yuanyun.cn Priority: Minor After run mvn eclipse:eclipse, and try to import the projects into eclipse, It fails, and it reports: "Resource '/client' already exsits'.". This is because there are two projects called 'client'. search the source code, and find there are indeed two projects named 'client': ${geronimo_src_base_dir}\geronimo-2.2\plugins\client\client, in its generated .project file: client Client plugin ... ${geronimo_src_base_dir}\geronimo-2.2\plugingroups\client, in its generated .project file: client This plugin group provides Client functionality. ... quick google search, and find http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html seems to fix this problem, we can configure eclipse plugin to appende the groupId of the artifact to the name of the generated Eclipse project. We can add the following section to outermost pom.xml: org.apache.maven.plugins maven-eclipse-plugin true ... so for each geronimo subproject - take ${geronimo_src_base_dir}\geronimo-2.2\plugins\client\client as example, eclipse project name would be org.apache.geronimo.configs.client. ${geronimo_src_base_dir}\geronimo-2.2\plugingroups\client, in its generated .project file: org.apache.geronimo.configs.client Client plugin Have verified the fix works, Geronimo projects can be successfully imported to eclipse. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.