Re: [Simplecart-development] Maven script created
Status: Alpha
Brought to you by:
dwatrous
|
From: Sam L. <sam...@go...> - 2008-01-06 13:36:02
|
Hello all, I have been playing around with maven to build the project; because of mavens dependency management feature there is no need to have any jars in subversion. The source and maven script are available to download here: http://download.yousendit.com/724B57401E22B48A, the following changes have been made: - Change source directories to fit mavens project structure. - Add 3 reports: Test Coverage / TODO Tags and FindBugs. The creative, website and docs directories have not been included to keep the attachment small. To build the project: - Install maven2, instructions are here: http://maven.apache.org/download.html - Unzip simplecart-maven.zip - At the command prompt run: mvn clean package site - Get a cup of coffee as the first time maven runs for the project will take some time as it is downloading its own and the projects dependencies. If this fails for any reason please let me know! The war file should have been built to target/simplecart.war and the reports will be available if you view target/site/index.html in a browser. There are also plugins for maven to generate IDE project files e.g. to generate a netbeans project file run: mvn netbeans-freeform:generate-netbeans-project What do you think? Should maven be used on this project? Thanks Sam |