JBoss.orgCommunity Documentation
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