Send your remarks, comments or wishes to doc team
Subject:
Message:
Your name:
Your email:

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