marklogicworkflow icon indicating copy to clipboard operation
marklogicworkflow copied to clipboard

MBO Package for downloading as a dependency

Open adamfowleruk opened this issue 10 years ago • 4 comments

To allow MarkLogic XQuery developers to create a new MarkLogic Workflow based project by issuing a Gradle-ml command. Rob Rudin.

adamfowleruk avatar Apr 09 '15 18:04 adamfowleruk

Act in a similar manner to the ml-unit-test - eg:

buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath "com.marklogic:ml-workflow-client:0.11.1"
  }
}

eouthwaite avatar Aug 16 '18 17:08 eouthwaite

@eouthwaite @luisjmart The comment above differs from the original description. The comment above shows an example of MW (marklogicworkflow) being packaged up and distributed via the jcenter repository. And specifically, the comment above implies the existence of a Java client for talking to the MW REST endpoints (which may be a useful thing to have if it doesn't exist already).

I think the first thing you'd want to do is copy the build.gradle file for ml-unit-test, which shows how to package up and distribute the ml-unit-test modules into a jar that's deployed to jcenter. A developer could then include ML in their ml-gradle project via:

dependencies {
  mlRestApi "com.marklogic:ml-workflow:(some version number)"
}

rjrudin avatar Aug 16 '18 18:08 rjrudin

Requires documentation

eouthwaite avatar May 09 '19 11:05 eouthwaite

https://github.com/features/package-registry ?

eouthwaite avatar May 11 '19 08:05 eouthwaite