Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 91293 invoked from network); 24 Sep 2007 08:31:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2007 08:31:55 -0000 Received: (qmail 20114 invoked by uid 500); 24 Sep 2007 08:31:39 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 19917 invoked by uid 500); 24 Sep 2007 08:31:38 -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 19906 invoked by uid 99); 24 Sep 2007 08:31:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 01:31:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [134.98.65.18] (HELO gateway.elsag.de) (134.98.65.18) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 24 Sep 2007 08:33:50 +0000 Received: from esmail by gateway.elsag.de via smtpd (for nike.apache.org [192.87.106.230]) with ESMTP; Mon, 24 Sep 2007 10:31:18 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message Subject: RE: MAVEN BUG: ejb-client problem MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 24 Sep 2007 10:31:17 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: MAVEN BUG: ejb-client problem Thread-Index: Acf8ZPa/KBlnoK9pRpyUzrVoczWHFAAAAHsgAIS7viAAARw9oAAAbQUgAABgBEAAAD3QQAAA5h2g References: <200709240805.l8O85BCh019177@mail207c25.carrierzone.com> From: =?iso-8859-1?Q?J=F6rg_Schaible?= To: "Maven Users List" X-Virus-Checked: Checked by ClamAV on apache.org Hi Denis, Denis Bessmertniy wrote on Monday, September 24, 2007 10:04 AM: > If you mean this Exaclty. :) >>>> Shouldn't this be: >>>>=20 >>>> >>>> com.mhf >>>> mhfEJBModule >>>> 1.0 >>>> ejb-client >>>> >>>>=20 >>>> Or isn't your ejb-client artifact autogenerated by the ejb-plugin? >>>>=20 >>>> -Tim >=20 >=20 > I have read this. Ok, I will try to describe my situation > more concrete. >=20 > In my main project I have 4 subprojects > mhfEJBModuleClient - here I have > interfaces for EJB impl > classes and additional classes > mhfEJBModule - here I have EJB > implementation classes > mhfWebModule - here is my web-app > mhfApplication - here I store > only pom.xml, > because after mvn install here I will have ear file And that is what confused anybody here. It is as Yan explained, normally = you use the EJB module to generate your client also. In your case you = have a totally different artifact for the client. > So and here what I have in pom.xml which in mhfApplication project =20 > > com.mhf > mhfEJBModuleClient > 1.0 > ejb-client > > > com.mhf > mhfEJBModule > 1.0 > ejb > > > com.mhf > mhfWebModule > 1.0 > war > > >=20 > So, what is wrong here, because maven in anger with > ejb-client? When I replace it, no problem, but then I > don't have mhfEJBModuleClient.jar link in application.xml and > mhfEJBModuleClient.jar stores not=20 > in main dir of > ear file, but in lib dir. Your client is as far as Maven concerns a simple jar artifact. It simply = does not know that it contains your ejb client code. Therefore it = complains that it cannot find the artifact of type "ejb-client" and all = the "special handling" for ejb-clients do not apply (i.e. making an = entry in application.xml). [snip] - J=F6rg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org