4.2. Creating and building component skeleton
Keywords: create, component, CDK, Guide

### Create new RichFaces Documentation Jira issue

Summary
255 characters left
Description
Environment
This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.org Community Documentation

- Prev
- Next

## 4.2. Creating and building component skeleton

Let's create a skeleton for the <inputDate> component.

You need to go to the inputDate directory and then launch the following command:

    mvn cdk:create -Dname=inputDate

As a result three artifacts will be created:

- An XML configuration file for the metadata

- A UI class

- A JSP-like template

In order to build the component you should stay in the inputDate directory and launch the following command:

    mvn install

This command generates and compiles the library and then creates a result JAR file. A directory named target will be created along with a src directory. If you get a file named target/inputDate-1.0-SNAPSHOT.jar, everything is set up successfully.

If you want to rebuild the component you could use the following command:

    mvn clean install

- Prev4.1. Creating project for component
- Top of page
- Front page
- Next4.3. Creating a UI prototype