[opencms-dev] Maven migration Example for "com.alkacon.opencms.formgenerator".

Brabenetz, Harald harald.brabenetz at infonova.com
Thu Apr 22 10:14:47 CEST 2010


Hi,

I created a simple Patch to build an Alkacon OAMP Module with maven.
Apply the patch to the Module "com.alkacon.opencms.formgenerator" version
1.3.1 (alkacon build_7.5.0) will change the following Files:
 - ADD /pom.xml
    The Build descriptor for Maven
 - ADD /assemblies/opencms-module.xml
    Descriptor to Zip the "/resources" Folder and copy dependent Libraries
to the Moduls lib Folder "/system/modules/*/lib" )
 - ADD /findbugs-exclusion.xml
    Some general exclusions for the findbug Report.
 - Modify /resources/manifest.xml
    Change the Library Names. This Example uses jcaptcha-1.0,
jcaptcha-api-1.0 and imaging-01012005 (from jhlabs) instead of
jcaptcha-all-1.0

pre requirements are, that the OpenCms Core libraries are available over a
Maven-Repository:
http://bp-cms-commons.sourceforge.net/m2repo/org/opencms/opencms-core/

After that it's easy to generate a Site documentation and reports with Maven
"mvn site":
http://tinyurl.com/formgenerator-1-3-1

An OpenCms Module-ZIP can be generated with "mvn install".
Eclipse Files can be generated with "mvn eclipse:eclipse".

This is only an example, other Projects could be changed similar.

with friendly regards,
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: com.alkacon.opencms.formgenerator-1.3.1.patch
Type: application/octet-stream
Size: 20120 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100422/aa10b8f0/attachment.obj>


More information about the opencms-dev mailing list