Version 2 (modified by 15 years ago) ( diff ) | ,
---|
Compute bounding box based on keyword analysis
Date | 2010/03/25 |
Contact(s) | Mathieu, Francois |
Last edited | Timestamp |
Status | Draft |
Assigned to release | |
Resources | |
Ticket |
Overview
In Bolsena hacking event 2009, we decided to move from ant build to maven.
Maven structure
- GeoServer : no more embedded in GeoNetwork
- CSW client : removed
- jetty : via Maven (see Run the application)
Maven build
Build the application
mvn clean install
Packaging the application
GeoNetwork is distributed as WAR files (intermap.war and geonetwork.war) packaged by maven process.
Run the application
Maven plugins for Jetty or Cargo allows to quickly start the application after build.
War files ====
Publish war files created by maven to your favorite webapp directory (Tomcat, Jetty).
Maven plugin / Cargo
See : http://cargo.codehaus.org/
mvn cargo:start mvn cargo:stop
Maven plugin / Jetty
mvn jetty:run
Current issue with jetty plugin is that we cannot run more than one application at a time (only geonetwork.war is started, not intermap.war).
Create an eclipse workspace
mvn eclipse:eclipse
Proposal Type
- Type: Architecture
- App: GeoNetwork
- Module: All
Links
- Email discussions:
- IRC discussions:
Voting History
Proposal details
Backwards Compatibility Issues
None.
Risks
Participants
- Francois
- Mathieu
- Maven expert very welcomed !
Attachments (3)
- maven.png (34.9 KB ) - added by 15 years ago.
- maven-after.png (4.9 KB ) - added by 15 years ago.
- maven-before.png (5.6 KB ) - added by 15 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.