Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-05 Thread Prasad Kashyap
The maven-assembly-plugin throws an error when it can't find a pom, more so a valid 4.0.0 pom. It fails at the very first error. So I had to sift thro each error by commenting out the artifact that depends on that pom. I got till tranql-1.4-SNAPSHOT. I gave up sifting further because, for one, t

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-04 Thread Prasad Kashyap
Ooops. Sorry Jason. I was trying to keep up with the emails on my vacation and ended up misreading your question. You do clearly ask why the d-m-p not be used to install car files. The geronimo-assembly-plugin (g-a-p) deploys a car artifact. I believe that this is a lot more than just unpackin

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-02 Thread Jason Dillon
I was never suggesting to not use the assembly plugin, but to use the dependency plugin instead of a custom car installer plugin. --jason On Jul 2, 2006, at 8:25 AM, Prasad Kashyap wrote: Inline - On 7/1/06, Jason Dillon <[EMAIL PROTECTED]> wrote: >> Why can't the dependency plugin be use

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-02 Thread Prasad Kashyap
Inline - On 7/1/06, Jason Dillon <[EMAIL PROTECTED]> wrote: >> Why can't the dependency plugin be used to install the car files? > > I'm not sure what you mean by the dependency plugin. http://mojo.codehaus.org/dependency-maven-plugin/ It basically handles copying (or unpacking) artifacts and

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-02 Thread Prasad Kashyap
Inline - On 7/1/06, Jason Dillon <[EMAIL PROTECTED]> wrote: Aight... well lets get it working asis for now... I think we don't need to run the assembly plugin twice to get to the same place, but we can fix that once something is working. I spoke to Jesse about this problem and how we can fix

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-02 Thread Prasad Kashyap
Anita, I don't think we should exclude the jars from including the META-INF/maven dirs while being created. These jars end up in the maven repo locally and remotely. They must be there for some reason. We must exclude them from being extracted. This is what the 2 step execution aims to acheive.

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-02 Thread Jason Dillon
Then exclude them from being extracted. --jason On Jul 1, 2006, at 8:13 PM, anita kulshreshtha wrote: Here is why we had to exclude them from the wars and rars - http://www.nabble.com/M2-%3A-build-on-Windows-tf1803375.html#a4914787 Cheers Anita --- Jason Dillon <[EMAIL PROTECTED]> wrote:

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread anita kulshreshtha
Here is why we had to exclude them from the wars and rars - http://www.nabble.com/M2-%3A-build-on-Windows-tf1803375.html#a4914787 Cheers Anita --- Jason Dillon <[EMAIL PROTECTED]> wrote: > Um, why would we want to do that? IMO the descriptors are a good > thing and I do not recommend that

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread Jason Dillon
Aight... well lets get it working asis for now... I think we don't need to run the assembly plugin twice to get to the same place, but we can fix that once something is working. --jason On Jul 1, 2006, at 1:23 PM, Prasad Kashyap wrote: The m-a-p is invoked twice for the following reasons:

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread Jason Dillon
Um, why would we want to do that? IMO the descriptors are a good thing and I do not recommend that we turn that off as a bandaid for another problem. --jason On Jul 1, 2006, at 1:39 PM, anita kulshreshtha wrote: We can exclude META-INF/maven/ from the jars by configuring the ja

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread anita kulshreshtha
We can exclude META-INF/maven/ from the jars by configuring the jar plugin to use false. I have not used it, but it should work. Thanks Anita --- Prasad Kashyap <[EMAIL PROTECTED]> wrote: > The m-a-p is invoked twice for the following reasons: > > When we copy some modules into a m2 rep

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread Prasad Kashyap
The m-a-p is invoked twice for the following reasons: When we copy some modules into a m2 repo structure format, it also copies the META-INF/maven/.. directories. This unneccesary directory introduces a very long path too. So in the first execution, we use the to skip the archive process. In the

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread Prasad Kashyap
Inline - On 6/30/06, anita kulshreshtha <[EMAIL PROTECTED]> wrote: inline.. --- Prasad Kashyap <[EMAIL PROTECTED]> wrote: > > 1. Our pom.xml first lists all and only geronimo modules, configs and > apps as dependencies. The transitive deps are taken care of by m-a-p. In a perfect M2 world

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread anita kulshreshtha
Jeff, THANKS! Anita --- Jeff Genender <[EMAIL PROTECTED]> wrote: > I can probably create some basic poms for them and push em out. > > anita kulshreshtha wrote: > >We do not have poms for tomcat jars. We have managed so far > without > > them. It appears that m. assembly pluign is refusi

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread Jeff Genender
I can probably create some basic poms for them and push em out. anita kulshreshtha wrote: >We do not have poms for tomcat jars. We have managed so far without > them. It appears that m. assembly pluign is refusing for work without > them. May be Jeff can help with this. > > Thanks > Anita >

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread anita kulshreshtha
We do not have poms for tomcat jars. We have managed so far without them. It appears that m. assembly pluign is refusing for work without them. May be Jeff can help with this. Thanks Anita --- David Jencks <[EMAIL PROTECTED]> wrote: > OK, I got further. actually into the assembly. > > P

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-07-01 Thread Jason Dillon
Why can't the dependency plugin be used to install the car files? I'm not sure what you mean by the dependency plugin. http://mojo.codehaus.org/dependency-maven-plugin/ It basically handles copying (or unpacking) artifacts and their dependencies to somewhere other than the repo cache. I

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-06-30 Thread David Jencks
On Jun 30, 2006, at 9:24 PM, Jason Dillon wrote: Why can't the dependency plugin be used to install the car files? I'm not sure what you mean by the dependency plugin. If you mean the m assembly plugin, one thing it has to do is unpack the car. I don't know if this is possible. I have

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-06-30 Thread Jason Dillon
Why can't the dependency plugin be used to install the car files? --jason 1. Our pom.xml first lists all and only geronimo modules, configs and apps as dependencies. The transitive deps are taken care of by m-a-p. In a perfect M2 world just using configs as dependencies should be enough.

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-06-30 Thread Jason Dillon
Why do we need to invoke the assembly plugin twice? It does not look like there is anything in the steps you listed below that actually requires that the assembly plugin be invoked twice. Maybe I am wrong, can you shed some light on this please? --jason Here's how we assemble our binar

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-06-30 Thread anita kulshreshtha
inline.. --- Prasad Kashyap <[EMAIL PROTECTED]> wrote: > We use the maven-assembly-plugin (m-a-p) to assemble our binary > distributions in zip, tar and tar.gz formats. > > The m-a-p reads an assembly descriptor to copy the dependencies, > filesets, files into a work areea and then bundles them

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-06-30 Thread Prasad Kashyap
We use the maven-assembly-plugin (m-a-p) to assemble our binary distributions in zip, tar and tar.gz formats. The m-a-p reads an assembly descriptor to copy the dependencies, filesets, files into a work areea and then bundles them into archives of our chosen formats. -- When dependencySets are sp

Re: Assembling a Geronimo distribution in a m2 build - first look.

2006-06-30 Thread David Jencks
OK, I got further. actually into the assembly. Prasad, can you outline what the maven assembly plugin is used for? For me it's objecting to a lot of our dependencies not having maven poms I removed a bunch that don't go into the server any more, but its now objecting to the jasper