Changes between Version 4 and Version 5 of Maven


Ignore:
Timestamp:
03/26/10 06:56:05 (15 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Maven

    v4 v5  
    1010
    1111== Overview ==
    12 In Bolsena hacking event 2009, we decided to move from ant build to maven.
     12At the Bolsena hacking event 2009, we decided to move from ant build to maven.
     13
     14[[PageOutline]]
     15
    1316
    1417=== Maven structure ===
    15 
     18GeoNetwork is divided in the following modules :
    1619[[Image(maven.png)]]
    1720
    18  * GeoServer : no more embedded in GeoNetwork
     21
     22=== Major changes ===
     23 * GeoServer : no more embedded in GeoNetwork (should be a dependency).
    1924 * CSW client : removed
    20  * jetty : via Maven (see Run the application)
     25 * Jetty : removed and started using Maven (see Run the application)
     26 * Installer : TODO (Ant or assembly ?)
     27 * OAI-PMH dependencies
     28 * GAST :
     29  * GAST was using only the application path to load both resources and libs (from WEB-INF/lib). Added a libPath and an appPath.
     30  * Remove jetty and mckoi startup and init (see Open issues)
     31  * Current status : GAST could be used to create db (not mckoi ones) and load data once the catalogue is started.
    2132
    2233=== Maven build ===
     
    2940==== Packaging the application ====
    3041GeoNetwork is distributed as WAR files (intermap.war and geonetwork.war) packaged by maven process.
     42Assembly plugin is used to create a ZIP file with 2 required WAR files.
     43{{{
     44mvn assembly:assembly
     45}}}
     46Assembly configuration is in release package.
    3147
    3248==== Run the application ====
     
    3753
    3854===== Maven plugin / Cargo =====
     55Cargo looks to be the best option to run the application (easily start more than one webapp).
     56
    3957See : http://cargo.codehaus.org/
    4058{{{
     
    4260mvn cargo:stop
    4361}}}
     62
    4463===== Maven plugin / Jetty =====
    4564{{{
     
    4968
    5069==== Deploy the application ====
    51  * TODO
     70Deploy mechanism has been setup and tested with an scp connection to a remote server. We need to define where to create GeoNetwork repositories.
     71{{{
     72maven deploy
     73}}}
    5274
    5375==== Create an eclipse workspace ====
     
    5577mvn eclipse:eclipse
    5678}}}
     79TODO : multiple project setup
    5780
    58 === Major changes ===
    59  * OAI-PMH dependencies
    60  * GAST :
    61   * Gast was using only the application path to load both resources and libs (from WEB-INF/lib). Add a libPath and an appPath.
    62   * Remove jetty and mckoi startup (see Open issues)
    63   * Current status : GAST could be used to create db (not mckoi ones) and load data once the catalogue is started.
    6481
    6582=== Open issues ===
    6683 * GAST :
    67   * hardcoded classpath in MANIFEST
    68   * Gast start jetty to start mckoi and setup all.
    69 
     84  * FIXME / hardcoded classpath in MANIFEST
     85  * What to do with GAST ?
    7086
    7187
     
    85101 *
    86102
    87 == Proposal details ==
    88 
    89 
    90103== Backwards Compatibility Issues ==
    91 None.
     104See open issues.
    92105
    93106== Risks ==
     
    97110 * Francois
    98111 * Mathieu
    99  * Maven expert very welcomed !
     112 * Maven experts very welcomed !