Hi Ilya,

Please see inline answers.

Ilya Sterin wrote:

Hello, I have two questions.  First, I'm still trying to figure out how to
generate an ear archive from a multi-module project.  The site, nor google
has any documentation on this, other than a listing of goals and/or how to
customize the module.  Also, most stuff on google refers to maven 1, and I'm
using 2.


In a multi-module project, you can have a submodule for the ear itself and separate submodules for the other artifacts that you want in your ear, ie:

- parent
  - submodule 1 (can be a war, jar, ejb or anything)
  - submodule 2 (can be a war, jar, ejb or anything)
  ....
  - submodule n (ear)


In the ear submodule, be sure to specify packaging as ear and place any of the submodules above it as dependencies.


My second question is again, due to me not being able to find
documentation.  How do I use libraries that are not in the ibiblio
repository, nor anywhere else.  Is the only way to have them in a maven like
repository?  Can I point it to a directory/jar file somewhere on my local
and/or remote drive?


You can either ask for it to be uploaded to ibiblio, http://maven.apache.org/guides/mini/guide-ibiblio-upload.html

or you can place it (install) in your local repository by: http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html

HTH,
Henry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to