Adding a new Sandbox componentThis page describes the steps to setup a new Sandbox Component using component foo as an example. Subversion Repository
Create the Repository foo | +--branches | +--tags | +--trunk
Add the component to foo https://svn.apache.org/repos/asf/commons/sandbox/foo/trunk
Copying the code Create the project structureCommons components use Maven as their primary build system and it is recommended that the project adopts the default Maven structure: trunk | +--NOTICE.txt +--LICENSE.txt +--pom.xml +--trunk +--src +--main | | | +--java | +--resources | +--test | | | +--java | +--site | +--site.xml +--resources | | | +--images | +--xdoc | +--index.xml See here for a sample Sandbox project. Using Mavenif you're new to Maven, here are some useful links to get started: Once you have installed maven the following commands are useful: mvn clean <!-- clean the project --> mvn test <!-- compile and run the tests --> mvn package <!-- compile, run tests and create the jar --> mvn site <!-- create the component site --> Setup a Maven pom.xmlThere is a sample pom.xml in the sample project mentioned above. Sandbox projects use the in the commons-sandbox-parent pom.xml as there parent, which in turn has the commons-parent as its parent. There are notes on what the commons-parent pom here. Create a SANDBOX JIRA componentThere is a single JIRA projects for all Sandbox components: http://issues.apache.org/jira/browse/SANDBOX
mvn commons-build:sandbox-jira-page Deploy the component siteDeploy the component site to: scp://people.apache.org/www/commons.apache.org/sandbox/foo/ Checkout the main Commons Site: https://svn.apache.org/repos/asf/commons/proper/commons-site/ Update the main Commons site in the following places:
|