When i create the first carbon component, I follow this link  that performs two specific tasks. It will allows users to view a menu of food items offered by the O2 restaurant and they can place an order according to their choice. Once the order is placed, a confirmation message will be appeared asking users to proceed with the payment.
When i tried the maven build on org.wso2.carbon.orderprocess.mgt.stub/pom.xml , I got target/generated-code folder but i haven't got the src/org inside the generated-code folder because the format of wsdl file is wrong. Then i Right click on  --> view page source --> copy that code and paste in wsdl file.
Then i have successfully created carbon components.