Skip to content
Sebastian Hoß edited this page Oct 5, 2013 · 3 revisions

To use CDI together with MVEL, declare the following dependency

<dependencies>
  <dependency>
    <groupId>com.github.sebhoss.contract</groupId>
    <artifactId>contract-cdi-mvel</artifactId>
    <version>${contracts-version}</version>
  </dependency>
</dependencies>

and annotate your business methods as usual using MVEL. Consult the example project for more details.