# cdi
**Repository Path**: mirrors_vaadin/cdi
## Basic Information
- **Project Name**: cdi
- **Description**: CDI Integration for Vaadin
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-11-23
- **Last Updated**: 2026-05-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://vaadin.com/directory/component/vaadin-cdi)
[](https://vaadin.com/directory/component/vaadin-cdi)
# Vaadin CDI
This is the official CDI integration for [Vaadin Flow](https://github.com/vaadin/flow).
This branch is compatible with upcoming Vaadin platform versions. See other branches for other Vaadin versions:
* 16.0 for Vaadin 25.0
* 15.2 for Vaadin 24.8
* 15.1 for Vaadin 24.4
* 15.0 for Vaadin 24
* 14.1 for Vaadin 23.3
* 13.1 for Vaadin 22.1
* 11.3 for Vaadin 14.10
* 10.0 for Vaadin 10
* 3.0 for Vaadin 8.2+
* 2.0 for Vaadin Framework 8.0...8.1 versions
* 1.0 for Vaadin Framework 7 versions
## Using with Vaadin
To use CDI with Vaadin, you need to add the following dependency to your pom.xml:
```xml
com.vaadin
vaadin-cdi
15.2.0
```
Since the current release version is a prerelease, you need to also include the prerelease Maven repository:
```xml
Vaadin prereleases
https://maven.vaadin.com/vaadin-prereleases
```
## Getting started
**NOTE: This is still WIP.** The easiest way for starting a project is to go to [vaadin.com/start](https://vaadin.com/start) and select the _Project Base with CDI_ to get an empty project with everything setup ready for you.
**NOTE: This is still WIP.** There is a tutorial also available in https://github.com/vaadin/flow-cdi-tutorial that helps you get started with Vaadin 10 and CDI.
## Building the project
Execute `mvn clean install -DskipTests` in the root directory to build vaadin-cdi.
## Run integration tests
Execute `mvn -pl vaadin-cdi-itest -Ptomee verify` in the root directory to run integration tests.
Test can be executed against the following containers, activating the specific profile:
* Wildfly Jakarta EE 10: `-Pwidfly`
* OpenLiberty Jakarta EE 10: `-Pliberty`
* Payara Jakarta EE 10: `-Ppayara`
* TomEE Jakarta EE 10: `-Ptomee`
## Issue tracking
If you find an issue, please report it in the [GitHub issue tracker](https://github.com/vaadin/cdi/issues).
## Contributions
The contributing docs can be found here: https://vaadin.com/docs-beta/latest/guide/contributing/overview/