Changes between Version 4 and Version 5 of Maven
- Timestamp:
- 03/26/10 06:56:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Maven
v4 v5 10 10 11 11 == Overview == 12 In Bolsena hacking event 2009, we decided to move from ant build to maven. 12 At the Bolsena hacking event 2009, we decided to move from ant build to maven. 13 14 [[PageOutline]] 15 13 16 14 17 === Maven structure === 15 18 GeoNetwork is divided in the following modules : 16 19 [[Image(maven.png)]] 17 20 18 * GeoServer : no more embedded in GeoNetwork 21 22 === Major changes === 23 * GeoServer : no more embedded in GeoNetwork (should be a dependency). 19 24 * 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. 21 32 22 33 === Maven build === … … 29 40 ==== Packaging the application ==== 30 41 GeoNetwork is distributed as WAR files (intermap.war and geonetwork.war) packaged by maven process. 42 Assembly plugin is used to create a ZIP file with 2 required WAR files. 43 {{{ 44 mvn assembly:assembly 45 }}} 46 Assembly configuration is in release package. 31 47 32 48 ==== Run the application ==== … … 37 53 38 54 ===== Maven plugin / Cargo ===== 55 Cargo looks to be the best option to run the application (easily start more than one webapp). 56 39 57 See : http://cargo.codehaus.org/ 40 58 {{{ … … 42 60 mvn cargo:stop 43 61 }}} 62 44 63 ===== Maven plugin / Jetty ===== 45 64 {{{ … … 49 68 50 69 ==== Deploy the application ==== 51 * TODO 70 Deploy mechanism has been setup and tested with an scp connection to a remote server. We need to define where to create GeoNetwork repositories. 71 {{{ 72 maven deploy 73 }}} 52 74 53 75 ==== Create an eclipse workspace ==== … … 55 77 mvn eclipse:eclipse 56 78 }}} 79 TODO : multiple project setup 57 80 58 === Major changes ===59 * OAI-PMH dependencies60 * 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.64 81 65 82 === Open issues === 66 83 * 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 ? 70 86 71 87 … … 85 101 * 86 102 87 == Proposal details ==88 89 90 103 == Backwards Compatibility Issues == 91 None.104 See open issues. 92 105 93 106 == Risks == … … 97 110 * Francois 98 111 * Mathieu 99 * Maven expert very welcomed !112 * Maven experts very welcomed !