I used to have the same problem as you. Then I realised that's because of
my misunderstanding of maven.ejb.src. The property does not refers to the
source files of your EJBs. It actually refers to the files that are
required to build your EJB jar. That is, your ejb-jar.xml, your
manifest.mf and whatever container specific extension.
I actually created a preGoal in a maven.xml file to create a folder to
house all these files together. Then I set the maven.ejb.src to point to
this folder.
Regards,
Eng Hoe
App Dev-DCS
SGX-IT Division
DID: (65) 62368963
FAX: (65) 64388840
email: [EMAIL PROTECTED]
St�phane Philippart
<[EMAIL PROTECTED] To: "Maven Users List" <[EMAIL
PROTECTED]>
tions.com> cc:
Subject: RE: ejb-jar
generation pb with the ejb Maven's plugin
10/12/2003 10:28 PM
Please respond to "Maven Users
List"
If a remove the maven.ejb.src=${basedir}/src line it's work.
But i am confused of the use of the propertie maven.ejb.src, i thought
it was the root of the source files of my EJBs but it seems it is the
source root of the ressource files for may EJBs.
Wrong ?
-----Original Message-----
From: St�phane Philippart
Sent: mercredi 10 d�cembre 2003 14:34
To: Maven Users List (E-mail)
Subject: ejb-jar generation pb with the ejb Maven's plugin
Hello everybody,
I use Maven since few days and i try to create an ejb-jar using the
ejb:ejb command.
The generation and compilation are fine but when i open the ejb-jar
created there is my sources (all *.java files) and my compiled clases
(that is normal !).
Obviously i dont't want the sources inthe ejb-jar !
My project.properties is like following :
maven.build.dest=${basedir}/build
maven.build.dir=${basedir}
....
maven.ejb.src=${basedir}/src
I tried to append
maven.ejb.excludes=**/*.java,**/vssver.scc
but in the doc it says that it is relative to ${maven.build.dest}. Is
it a way to have the same exclusion on the ${maven.ejb.src} properties ?
Maven version : 1.0-rc1
Thanks for your answers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Confidentiality Caution
=======================
Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Opinions, conclusions and other
information in this message that is not of an official nature shall be
deemed as neither given nor endorsed by SGX unless indicated by an
authorised representative independent of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]