In addition to the standard maven goals, the following goals have been defined. In order to be executed correctly, the Graffito maven goals are using some paramaters defined in your build.properties file (see the page Building Graffito).
You can execute the following maven goals from the Graffito root folder (svn trunk folder).
Goal | Description |
---|---|
allClean | Clean all subprojects |
start.test.server | start an HSQL test server used for the unit test based on HSQL DB |
allBuild | Build all subprojects |
allDeploy | Deploy all subprojects into a Jetspeed 2 portal |
allHtml | Build the complete Graffito site |
allSite | Build the complete Graffito site and build the corresponding pdf file. |
Goal | Description |
---|---|
deploy | Deploy the API jar into a Jetspeed 2 portal |
Goal | Description |
---|---|
db.scripts.gen | Generate the SQL scripts used by the components. |
db.create.test | Create the TEST DB |
db.drop.test | Drop all tables in TEST DB |
db.delete.test | Delete all tables in the TEST DB |
db.reinit.test | db.drop.test + db.create.test |
db.create.production | Create the PRODUCTION DB |
db.drop.production | Drop all tables in PRODUCTION DB |
db.delete.production | Delete all tables in the PRODUCTION DB |
deploy | Deploy the compoment jar into a Jetspeed 2 portal |
Until now, only unit tests and jar are done. We plan to make a goal to build a default web application which contain the Graffito engine ready to run.