Prerequisites

To build repoweb you will need :

  • JDK : 1.4+
  • Maven : 1.0+
  • Internet connection

Built with Maven

Built by Maven

Before to develop Repoweb, you'll need to install Maven first. For more details on how to install Maven please refer to the Maven documentation.

Here's a brief overview of what you need to do.

  • Download a binary distribution of Maven here.
  • Set the environment variable MAVEN_HOME to point to where you installed Maven (D:\Dev\maven\maven-1.0rc1 for me)
  • Change your PATH environment variable so that it points to MAVEN_HOME/bin
  • Get a source distribution of Repoweb via CVS here.

To verify that your Maven installation is working, change directory into your Repoweb directory which should contain a project.xml file required by Maven. Then type

maven war:war

This should download all the jars required to compile all the code, run all the unit test cases, and finally build the web application.

If you have some troubles with the test, you can build the war without executing the unit-test by doing :

maven -Dmaven.test.skip=true war

A step further

To build the web site, do

                    maven site:generate
                

To clean Repoweb

                    maven clean
                

To see all maven's goal

                    maven -g
                

To launch release test, deploy the webapp and do

                    maven webtest