I rather recommend you outline how to add the plugins to more than  
one webapplication by

1.) creating a separate (jar) maven project in the [dspace-source]/my- 
plugin directory,
2.) add ../my-plugin as a module in [dspace-source]/pom.xml
2.) add my-plugin as a dependency in any of the [dspace-source]/ 
dspace/modules/*/pom.xml that you require it to be added to.

This reduces the replication of the codebase implementing your plugin  
in each separate webapp module.

See for example our build for dspace.mit.edu here (note "dspace" is  
replaced with "dome" in this customization).

http://libstaff.mit.edu/svn/repos/distributions/dspace.mit.edu/trunk/

and the strongest example is dome-ocw with houses the packager for  
the OCW-IMSCP you recently so graciously engineered for the  
libraries. It is included into the dome/modules/xmlui and dome/ 
modules/lni as a dependency, rather the replicating code in each webapp.

Cheers and great work documenting your process,
Mark

On Jun 20, 2008, at 1:55 PM, Larry Stone wrote:

> I've added a page of cookbook-style instructions for integrating
> local modificatiosn with the new build system, see:
>
> http://wiki.dspace.org/index.php/BuildCookbook
>
> it builds on the OR08 presentation "Customizing DSpace 1.5 with Basic
> Overlays"; in fact, that has other useful examples which might well
> be added to the wiki page for easier access.
>
>       -- Larry
>
> ---------------------------------------------------------------------- 
> ---
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to