Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 75171 invoked from network); 17 Jan 2006 01:52:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jan 2006 01:52:24 -0000 Received: (qmail 89184 invoked by uid 500); 17 Jan 2006 01:51:59 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 88530 invoked by uid 500); 17 Jan 2006 01:51:55 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 87788 invoked by uid 99); 17 Jan 2006 01:51:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 17:51:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.14.253.181] (HELO localhost.localdomain) (64.14.253.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 17:50:33 -0800 Received: from [172.16.228.217] ([203.177.212.50]) (authenticated bits=0) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id k0H2IvGk007508 for ; Mon, 16 Jan 2006 18:19:04 -0800 Message-ID: <43CC4D40.8050103@exist.com> Date: Tue, 17 Jan 2006 09:49:52 +0800 From: Henry Isidro User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maven Users List Subject: Re: [M2] Problem with maven-ear-plugin: Artifact[_:_:ejb] is not a dependency of the project. References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Stefan, Try adding ejb in your dependency declarations. HTH, Henry Stefan Rademacher wrote: > Hello, > > I have a problem, when I try creating an EAR file, that includes two > EJB modules. Nobody else seems to have this issue, so there might be an > easy solution... > > I have a project with packaging=ear and two projects with > packaging=ejb. When I package the ejb projects separately, there are no > errors. But when I want to package the ear-project (see pom below), I > get the error "Artifact[de.hhla.smd:hhla.smd.bwaclient:ejb] is not a > dependency of the project." But I added the two ejb projects as > dependencies of my ear project. > > Could anybody tell me, what I'm doing wrong? > > Thanks a lot for your help! > Regards, > Stefan > > POM of the EAR project: > ------------------------------------ > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > 4.0.0 > de.hhla.smd > hhla.smd.provider > hhla.smd.provider > 1.0-beta-1-SNAPSHOT > ear > > > de.hhla.smd > hhla.smd.aisclient > 1.0-beta-1-SNAPSHOT > > > de.hhla.smd > hhla.smd.bwaclient > 1.0-beta-1-SNAPSHOT > > > > > > org.apache.maven.plugins > maven-ear-plugin > > > > de.hhla.smd > hhla.smd.bwaclient > > > de.hhla.smd > hhla.smd.aisclient > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org