Re: [RDC] m2 migration, trunk broken this weekend

"Rahul Akolkar" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.devel
Message-ID <[email protected]>
On Sat, Jan 10, 2009 at 2:42 PM, Henri Yandell <[email protected]> wrote:
> Why a module for producing the distro?
>
<snip/>

Its a common pattern when you want to create distros that span/collect
artifacts from multiple modules. I think that will be least m2
fighting, and once its there lets stare at it and see if there are
better ideas.


> +1 on the examples/sample apps - fun part is how to try and overlap
> that with Cactus. It should be deploying the examples as our test
> layer.
>
<snap/>

Yes, once I have the war building (the pattern should be usable across
taglibs), we can try our hand at tying in Cactus.


> One possible idea is to have taglibs-example.pom extending
> taglibs-parent.pom then rdc-example.pom extending taglibs-example.pom
> that depends on rdc.jar. ie) we have examples as a group of things
> rather than examples inside each taglib.
>
<snip/>

Yes, that makes good sense. For example, Shale has a parent pom and an
apps parent pom (I suspect Struts has similar, haven't looked
recently). We can have a taglibs-examples parent that each of the war
modules inherit from (and it in turn inherits from taglibs-parent). We
can then define the Cactus and other common bits in there.

-Rahul



> Hen
>
> On Sat, Jan 10, 2009 at 11:32 AM, Rahul Akolkar <[email protected]> wrote:
>> I'm planning on moving the RDC taglib to m2 this weekend. I'd like to
>> retain as much as the old distro flavor as possible since I think its
>> quite useful. Therefore, I think the best way to go about this is to
>> have a multi-module m2 build:
>>
>>  * One module for the taglib jar
>>  * One for the examples and sample apps war file
>>  * One for assembling the distros (two: source and binary -- and as
>> before binary will contain, the above jar, war and tld, javadocs and
>> tlddoc)
>>  * Probably a parent pom for <dependencyManagement> mostly
>>
>> Some experimentation involved, but I'd rather just do this on trunk.
>> As a result, the RDC trunk will be broken this weekend. Once I'm done
>> and the build is usable, I'll reply to this message. Must you need a
>> working base this weekend, you can get it off the PRE_M2 tag:
>>
>>  http://svn.apache.org/repos/asf/jakarta/taglibs/proper/rdc/tags/PRE_M2/
>>
>> -Rahul
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.