"nuxeo studio export" and Maven enforce-dependencies

Hello,

I am writing my own Java code to create an operation.
I have:

  1. Used “nuxeo bootstrap operation” to create the appropriate structure. (Question - Is a multi module required?)
  2. When I use the mvn clean compile, it throws the errors below.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-dependencies) on project pomanagement-core: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.

Where should I be looking to troubleshoot this error ? I am attaching my pom.xml file.

Thanks

Sudarshan

FILES:   pom.xml
0 votes

1 answers

87 views

ANSWER



Yes, using a multi-module should be required (IMO) in Nuxeo CLI, it scaffolds more settings in the parent pom, like nuxeo.skip.enforcer>true</nuxeo.skip.enforcer for example, and allows for generating also the marketplace package, with is the only correct way to install/deploy a plugin to a Nuxeo server (manually drag-dropping a .jar is not recommended)

So, you start with nuxeo bootstrap multi-module, then nuxeo bootstrap operation

0 votes