-
Type: Epic
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Nuxeo Maven Plugin
Problem
As a developper implementing a customisation for Nuxeo Platform in a custom bundle, running my customisation is tedious: building the jar, deploying it, starting the server, there is no tooling for this beside nuxeocli which is not integrated to my IDE.
Context
I have a Studio project and a Maven simple module project in order to customise Nuxeo.
Source code in my repository is as below:
. ├── pom.xml └── src └── main ├── java │ └── ... └── resources ├── META-INF │ └── MANIFEST.MF └── OSGI-INF └── ...
My pom.xml file contains the following:
- nuxeo-distribution as parent
- nuxeo-maven-plugin in the build section
- a studio project dependency
Solution
From my terminal, in order to run Nuxeo, I want to be able to do:
[~/workspace/nuxeo-addon] $ mvn nuxeo:run
This will start a Nuxeo containing my Studio package and my addon.
Output of console will be equivalent to Nuxeo's server.log file.
I can exit/stop this instance by typing CTRL+C.
I can also configure the plugin in order to start Nuxeo with different set up. For instance, I can choose several Nuxeo templates, change nuxeo.conf parameters...
These customisations can be done:
- in the <configuration> element of plugin
- through command line
- from a nuxeo.conf file
- is related to
-
NXP-24831 Nuxeo Maven Plugin
- Open