Note that that will not merge anything you need in the META-INF
directory. It does do it for plexus components.xml files though, so
maybe it's a good time to make that pluggable.

- Brett

On 15/08/06, Trygve Laugstøl <[EMAIL PROTECTED]> wrote:
On Mon, 2006-08-14 at 20:57 -0700, Patrick Linskey wrote:
> > It might be good to run through the common dev scenarios in
> > detail to
> > see which model would work best for this project, since there are so
> > many sub-projects.
>
> Good point. I think that we should move to a model where we have a project
> that assembles a single unified jar (including merging contents of META-INF
> files). This seems much more conducive to most normal uses of OpenJPA; I
> think that the sub-projects should be there for advanced users and as an
> internal artifact of how the product is designed and built.
>
> Does anyone know of existing mvn technology to merge resource files? To
> easily assemble jars together?

Check out the Assembly plugin and it's predefined
"jar-with-dependencies" descriptor[1]. I'm pretty sure that most people
using Maven will just have a runtime dependency on the core OpenJPA
library and be done with it, but it's always nice for Ant users.

[1]:
http://maven.apache.org/plugins/maven-assembly-plugin/predefined.html

--
Trygve





--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

Reply via email to