Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 11273 invoked from network); 18 Apr 2007 02:14:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Apr 2007 02:14:50 -0000 Received: (qmail 62862 invoked by uid 500); 18 Apr 2007 02:14:49 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 62633 invoked by uid 500); 18 Apr 2007 02:14:48 -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 62618 invoked by uid 99); 18 Apr 2007 02:14:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 19:14:48 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gonzalo.vasquez.saez@gmail.com designates 64.233.162.235 as permitted sender) Received: from [64.233.162.235] (HELO nz-out-0506.google.com) (64.233.162.235) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 19:14:41 -0700 Received: by nz-out-0506.google.com with SMTP id n29so2082nzf for ; Tue, 17 Apr 2007 19:14:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ob/cfaBWE/Au/+d4v9nUYDn38pQ6NY326Oq3s0akOIs2oKhaqgw/ldSg3ipfEjjsle1u1KpN2f1ow0R7Pja797Yic/467M7lFGNI6Fd8jdIbHjFANFAIrprC17Of/LfYAh+ARBszjCAJamCVsti0yPD7fb6TODjDTIBT262/AU8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=svEGFCBsQsdNoB1+1cg9tTowIL41bvNDCqi5hCdekSEjmuvh2qtjcnFBbHaaDtMWjxcR8xfJYSQsY52x2zSLCefyyX27vo+7rlG9nQ+rJmEN9OiI++pBkH6EoIqIIfqR2oVK6WzIqGFXng9aKC1nTPPsc7Mbztao3iESj0BJhWY= Received: by 10.114.176.1 with SMTP id y1mr1208314wae.1176862459897; Tue, 17 Apr 2007 19:14:19 -0700 (PDT) Received: by 10.115.91.17 with HTTP; Tue, 17 Apr 2007 19:14:19 -0700 (PDT) Message-ID: <8494257f0704171914q32d7bd1el5e61723d915c9bcd@mail.gmail.com> Date: Tue, 17 Apr 2007 22:14:19 -0400 From: "=?ISO-8859-1?Q?Gonzalo_V=E1squez_S=E1ez?=" To: "Maven Users List" Subject: Re: Problem building/installing an ejb project In-Reply-To: <52bab8690704171831m6c5e4c98xa1c8490fc6c9ab4c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78336_9179684.1176862459826" References: <8494257f0704171439u2de5e993uda2ed36ed0e9377f@mail.gmail.com> <52bab8690704171454t25b0af98o7b9f4af4c34d48a8@mail.gmail.com> <8494257f0704171506k113c020bi51f5908b59b90c45@mail.gmail.com> <52bab8690704171831m6c5e4c98xa1c8490fc6c9ab4c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_78336_9179684.1176862459826 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Mmmm....you are right, I have a custom directory structure, how do I tell maven where to search for this file? On 17/04/07, Wayne Fay wrote: > > Where is this file (ejb-jar.xml) located in your project? > > If it is not in src/main/resources/META-INF, you will get this error > message. > > Wayne > > On 4/17/07, Gonzalo V=E1squez S=E1ez wro= te: > > What other info can I provide you? I don't have that file locally, as I > > guess it's validated online, as most other tools do, doesn't maven does > so? > > > > I've downloaded the XSD, and checked against it, but I'm can't seem to > find > > the problem. > > > > Just in case the attachment didn't go in the previous message, I'll cop= y > it > > as text here: > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D START ejb-jar.xml FILE =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > > > > > > xmlns=3D"http://java.sun.com/xml/ns/j2ee" > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee > > http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"> > > HttpDataReceiver > > > > > id=3D"net.excelsys.framework.logger.queue.MessageReceiver"> > > HttpDataMessageReceiver > > MessageReceiver > > > > net.excelsys.framework.logger.queue.MessageReceiver > > > > javax.jms.MessageListener > > Bean > > > > javax.jms.Queue > > > > > > PackageReceivedDestination > > > > > > > > > > acknowledgeMode > > > > > > Auto-acknowledge > > > > > > > > > > messageSelector > > > > > > JMSType =3D httpdata_received > > > > > > > > > > > > > > > > > > > > PackageReceivedDestination > > > > > > > > > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D END ejb-jar.xml FILE =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > > > On 17/04/07, Wayne Fay wrote: > > > > > > Without knowing anything more than you've told us, I'd assume the XSD > > > is available at: > > > http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd > > > > > > And also I think you have most likely put this file in the wrong plac= e > > > in your project. It needs to be in /src/main/resources/META-INF. Mave= n > > > will throw an error if the file is not located there. > > > > > > Wayne > > > > > > On 4/17/07, Gonzalo V=E1squez S=E1ez > wrote: > > > > I'm getting the following error: > > > > > > > > "Error assembling EJB: META-INF/ejb-jar.xml is required for > ejbVersion > > > 2.x" > > > > > > > > Attached is the ejb-jar.xml file that I'm using, which actually > being > > > > deployed onto a WebSphere 6.0 works fine, but according to Maven an= d > Xml > > > > Writer it's not valid (doesn't comply to the refered XSD), but I > can't > > > seem > > > > to find where the problem is. > > > > > > > > Against what XSD is maven checking? Which is maven's supported > structure > > > for > > > > this kind of files? Are there any properties I can configure to > avoid > > > this > > > > check being done? > > > > > > > > Any help would be appreciated. > > > > > > > > Regards, > > > > > > > > Gonzalo Vasquez > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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 > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > ------=_Part_78336_9179684.1176862459826--