Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.apache:cxf:cxf-3.5.5'
}
dependencies {
implementation("com.github.apache:cxf:cxf-3.5.5")
}
<dependency>
<groupId>com.github.apache</groupId>
<artifactId>cxf</artifactId>
<version>cxf-3.5.5</version>
</dependency>
libraryDependencies += "com.github.apache" % "cxf" % "cxf-3.5.5"
:dependencies [[com.github.apache/cxf "cxf-3.5.5"]]
Apache CXF is an open source services framework for building and deploying web services and REST APIs in Java. CXF helps you build and develop services using standard frontend programming APIs, including JAX-WS (SOAP) and JAX-RS (REST). Services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA and work over transports such as HTTP, JMS, and JBI.
CXF integrates seamlessly with Spring and Spring Boot, providing auto- configuration support so services can be embedded in Spring Boot applications with minimal boilerplate. It supports generating OpenAPI/Swagger documentation from JAX-RS services automatically, and includes a Swagger UI endpoint for interactive API exploration.
On the security front, CXF provides comprehensive support for WS-Security, WS-SecurityPolicy, OAuth 2.0, OpenID Connect (OIDC), and JWT, enabling both SOAP and REST services to be secured following industry standards. TLS configuration, client certificate authentication, and SAML token handling are also fully supported.
CXF includes first-class observability features including integration with Micrometer for metrics collection, enabling teams to instrument service latency, error rates, and throughput with popular monitoring backends such as Prometheus and Grafana.
The framework provides extensive tooling for both contract-first development (generating Java from WSDL or OpenAPI specs) and code-first development (generating WSDL or OpenAPI specs from annotated Java classes), all integrated with Maven and Gradle build systems.
CXF includes a broad feature set, but it is primarily focused on the following areas:
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See https://www.wassenaar.org/ for more information.
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
The following provides more details on the included cryptographic software:
For an Apache CXF source distribution, please read BUILDING.txt for instructions on building Apache CXF.
For an Apache CXF binary distribution, please read release_notes.txt for installation instructions and list of supported and unsupported features.
Alternatively, you can also find out how to get started here: https://cxf.apache.org/
If you need more help try talking to us on our mailing lists: https://cxf.apache.org/mailing-lists.html
If you find any issues with CXF, please submit reports with JIRA here: https://issues.apache.org/jira/browse/CXF
We welcome contributions, and encourage you to get involved in the CXF community. If you'd like to learn more about how you can contribute, please see: https://cxf.apache.org/getting-involved.html
Thank you for using CXF!
The Apache CXF Team https://cxf.apache.org/