Skip to content

tiry/nuxeo-cdi-sample

Repository files navigation

What is it for?

This is a sample plugin to test CDI integration with Nuxeo service platform.

For now it does not much, but it runs CDI/JSF2 components from a Nuxeo bundle deployed in a Nuxeo server ... that's a start ...

Installation

Build dependencies

$ cd /my/workspaces/nuxeo
$ git co feature-NXP-8977-cdi-sample
$ mvn clean install -N
$ cd nuxeo-jsf
$ git co feature-NXP-8977-cdi-sample
$ mvn -Dmaven.test.skip=true clean install

Build the custom Nuxeo CDI Distribution

$ mvn clean install -Pdist

You will end up with a full distribution nuxeo-cdi-1.0-SNAPSHOT-tomcat.zip in the nuxeo-cdi-distribution/target folder. This distribution is running CDI / JSF2 components on a customized Nuxeo Core Server distribution.

The nuxeo-cdi-sample bundle is already deployed.

See the nuxeo-cdi-distribution/src/main/assemble/assembly.xml file for how the custom distribution is built.

Hot reload

xhtml files can be hot reloaded on the running server:

  • copy build.properties.sample to build.properties, and set your server home path in variable tomcat.dir
  • in nuxeo-cdi-sample module, run "ant" to deploy xhtml files that have changed on running server

About

Sample integration of CDI / Weld on top of nuxeo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages