## Manage the exporting of CXF libraries at deployment time

By default projects configured with the CXF facet are setup to resolve the CXF libraries to the WEB-INF/lib folder at deployment time.

This however greatly increases the size of the deployed web module. If the web or application server you are deploying to is already configured with the Apache CXF libraries you can disable this option in the Apache CXF preferences.

To enable or disable this functionality in a existing Dynamic Web Project already configured with the CXF Facet right-click on the project and choose Properties.

Select the Deployment Assembly properties page and remove the Apache CXF Library.

### Using CXF 2.6.0

The spring-web jar is not included in CXF 2.6.0. This jar is required in order to deploy projects configured with CXF 2.6.0 to web and application servers.

A workaround for this is to use the Deployment Assembly property page to add the dependency.

The jar file can be found under the /org/springframework/spring-web/ directory in a Maven 2 repository or under the lib directory of an earlier or later CXF install.

The spring-web jar has been added back in to the lib directory in CXF 2.6.1.

CXF Project Facet