Skip to content

SimiGi/cdi

 
 

Repository files navigation

Published on Vaadin  Directory Stars on Vaadin Directory

Vaadin CDI

This is the official CDI integration for Vaadin Flow.

This branch is compatible with upcoming Vaadin platform versions. See other branches for other Vaadin versions:

  • 11.2 for Vaadin 14.2
  • 11.1 for Vaadin 14.1
  • 11.0 for Vaadin 14.0
  • 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 10

To use CDI with Vaadin 10, you need to add the following dependency to your pom.xml:

<dependency>
  <groupdId>com.vaadin</groupId>
  <artifactId>vaadin-cdi</artifactId>
  <version>10.0.0.beta1</version> <!-- Or the LATEST version -->
</dependency>

Since the current release version is a prerelease, you need to also include the prerelease Maven repository:

<repositories>
  <repository>
    <id>Vaadin prereleases</id>
    <url>https://maven.vaadin.com/vaadin-prereleases</url>
  </repository>
<repositories>

Getting started

NOTE: This is still WIP. The easiest way for starting a project is to go to 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.

Issue tracking

If you find an issue, please report it in the GitHub issue tracker.

Contributions

The contributing docs can be found here: https://vaadin.com/docs-beta/latest/guide/contributing/overview/

About

CDI Integration for Vaadin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • JavaScript 0.2%