You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Carl Hall <ca...@gmail.com> on 2009/07/27 17:51:18 UTC

How to use/include commons bundle(s)

I found the great page on how to create and contribute pom wrappers
for libraries.  I would like to use commons-email in my project but
how should I go about including it in my build?  Do I need to copy the
pom from Felix?  BTW, my project is built on Sling, if that changes
anything.  Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: How to use/include commons bundle(s)

Posted by Filippo Diotalevi <fi...@gmail.com>.
On Mon, Jul 27, 2009 at 5:51 PM, Carl Hall<ca...@gmail.com> wrote:
> I found the great page on how to create and contribute pom wrappers
> for libraries.  I would like to use commons-email in my project but
> how should I go about including it in my build?  Do I need to copy the
> pom from Felix?  BTW, my project is built on Sling, if that changes
> anything.  Thanks!

Usually, you just include a submodule in your Maven build.

The submodule will contain just the pom.xml file that wraps the jar in
a OSGi bundle.

You can find a (possibly a bit outdated) example of a commons-email wrapper at
http://svn.apache.org/repos/asf/felix/trunk/commons/commons-email/


-- 
Filippo Diotalevi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org