cancel
Showing results for 
Search instead for 
Did you mean: 

"nuxeo studio export" and Maven enforce-dependencies

Sudarshan_Ghate
Champ in-the-making
Champ in-the-making

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

1 REPLY 1

ThibArg_
Star Contributor
Star Contributor

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

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.