...
Start the WSO2 ESB server in your machine.
Build the ESBDeploySample project using the
mvn clean install
command.Build the CappSample project using the commands listed below.
In order to enable Enable the deployment of a the CAR file to a the Carbon Server , you can do by doing one of the following,
- Add
<maven.car.deploy.skip>false</maven.car.deploy.skip>
to the properties section of the C-App project'spom.xml
file - Provide
-Dmaven.deploy.skip=true -Dmaven.car.deploy.skip=false
with the mvn clean deploy command. E.g:mvn clean deploy -Dmaven.deploy.skip=true -Dmaven.car.deploy.skip=false
After building the project, you can see that the ProxySample proxy service has been deployed to the sever as shown in the figure below:
In order If you want to disable the deployment of a the CAR file to a the Carbon Server, you can do one of the following:
- Add
<maven.car.deploy.skip>true</maven.car.deploy.skip>
to the properties section of the C-App project'spom.xml
file - Provide
-Dmaven.car.deploy.skip=true
with the mvn clean deploy command. E.g:mvn clean deploy -Dmaven.car.deploy.skip=true
In order If you want to undeploy the deployment of a the CAR file to a the Carbon Server,
Provide -Doperation=undeploy -Dmaven.deploy.skip=true -Dmaven.car.deploy.skip=false
with the mvn clean deploy command. E.g: mvn clean deploy -Doperation=undeploy -Dmaven.deploy.skip=true -Dmaven.car.deploy.skip=false
For complete information on deployment options, see Generating and deploying the CAR file.