Branch | Status |
---|---|
master | |
dev |
The MarkLogic Spring Batch project is an extension of the CORE and INFRASTRUCTURE components of Spring Batch to make it easier to write batch processing programs using MarkLogic.
Start with the project home page to get started.
- MarkLogic 8+
- JDK 1.8+
Open $PROJECT_ROOT/gradle.properties. Review the mlHost, mlRestPort, mlJobRepoPort properties to confirm there are no conflicts
gradlew mlDeploy
This command will set up your test database and application server.
Review the host/port/user credentials properties for the following property files.
- ./core/src/test/resources/job.properties
- ./infrastructure/src/test/resources/job.properties
- ./rdf/src/test/resources/job.properties
- ./samples/src/test/resources/job.properties
Run the following command to execute all project tests. All tests should pass.
gradlew test
This project uses both checkstyle and PMD.
gradlew check
The product of this project are jar files that are published to bintray. The following libraries are created.
Group | Artifact |
---|---|
com.marklogic | marklogic-spring-batch-core |
com.marklogic | marklogic-spring-batch-test |
com.marklogic | spring-batch-http |
com.marklogic | spring-batch-rdbms |
com.marklogic | spring-batch-file |
The gradle bintray plugin is used to publish to bintray.
gradlew :core:bintrayUpload
gradlew :file:bintrayUpload
gradlew :test:bintrayUpload
gradlew :http:bintrayUpload
gradlew :rdbms:bintrayUpload
dependencies {
compile 'com.marklogic:marklogic-spring-batch-core:1.+'
testCompile 'com.marklogic:marklogic-spring-batch-test:1.+'
}
<dependencies>
<dependency>
<groupId>com.marklogic</groupId>
<artifactId>marklogic-spring-batch-core</artifactId>
<version>1.5.0</version>
</dependency>
</dependencies>
Please read CONTRIBUTING.md for details on how to contribute code to this project and the process for submitting pull requests to us.
See the LICENSE.md file for details