Skip to content

Commit 1cb5bee

Browse files
committed
Merge branch '1.0.1'
2 parents fba328b + 06840e7 commit 1cb5bee

25 files changed

Lines changed: 1234 additions & 1083 deletions

README.md

Lines changed: 27 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# marklogic-jena v1.0.0
1+
# marklogic-jena v1.0.1
22

33
## Introduction
44

@@ -9,47 +9,19 @@ Framework](http://jena.apache.org) as a persistence and query layer.
99

1010
#### Setup Marklogic
1111

12-
Ensure MarkLogic 8.0-4 is installed and running. To use `marklogic-jena`
13-
applications you will need access to a running MarkLogic server.
14-
15-
## Usage
16-
17-
### Quick start
18-
19-
This API is distributed on Maven Central.
20-
21-
For gradle-based projects, include this dependency in `build.gradle`:
22-
```
23-
dependencies {
24-
compile 'com.marklogic:marklogic-jena:1.0.0'
25-
}
26-
```
27-
28-
For Maven-based projects, use this block in `pom.xml`:
29-
30-
```
31-
<dependency>
32-
<groupId>com.marklogic</groupId>
33-
<artifactId>marklogic-jena</artifactId>
34-
<version>1.0.0</version>
35-
</dependency>
36-
```
37-
38-
The [Javadocs](http://marklogic.github.io/marklogic-jena/marklogic-jena/build/docs/javadoc/)
39-
have quick start examples for how to do graph CRUD, SPARQL query, and SPARQL
40-
Update.
12+
#### Setup Marklogic
4113

14+
Ensure MarkLogic (8.0-4 or later) is installed and running.
4215

4316
### To use the develop branch
4417

45-
1) Clone or download marklogic-jena _develop_ branch.
18+
1) clone or download marklogic-jena _develop_ branch.
4619

4720
```
4821
https://github.com/marklogic/marklogic-jena/tree/develop
4922
```
5023

51-
2) Run the gradle target that provisions a testing database for this project. The command and tests use values recorded in `./gradle.properties` to
52-
set up a MarkLogic REST instance on localhost.
24+
2) Run the gradle target that provisions a testing database for this project. The command and tests use values recorded in `./gradle.properties`.
5325

5426
```
5527
gradle :marklogic-jena:mlDeploy
@@ -68,6 +40,28 @@ To use `marklogic-jena` in your own projects, deploy into local maven repo or co
6840
gradle install
6941
7042
```
43+
44+
## Usage
45+
46+
### Quick start (Note: draft for future release)
47+
48+
For gradle-based projects include this dependency in `build.gradle`:
49+
```
50+
dependencies {
51+
compile 'com.marklogic:marklogic-jena:1.0.0'
52+
}
53+
```
54+
55+
Maven-based projects use this block in `pom.xml`:
56+
57+
```
58+
<dependency>
59+
<groupId>com.marklogic</groupId>
60+
<artifactId>marklogic-jena</artifactId>
61+
<version>1.0.0</version>
62+
</dependency>
63+
```
64+
7165
### Javadocs
7266

7367
http://marklogic.github.io/marklogic-jena/marklogic-jena/build/docs/javadoc/

build.gradle

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ subprojects {
22

33
apply plugin: 'java'
44
apply plugin: 'eclipse'
5-
5+
apply plugin: 'jacoco'
6+
jacoco{toolVersion="0.7.4.201502262128"}
7+
68
sourceCompatibility = "1.7"
79
targetCompatibility = "1.7"
810

@@ -16,10 +18,15 @@ subprojects {
1618
mavenLocal()
1719
}
1820

21+
jacocoTestReport {
22+
group = "Reporting"
23+
description = "Generate Jacoco coverage reports after running tests."
24+
additionalSourceDirs = files(sourceSets.main.allJava.srcDirs)
25+
}
1926

2027
dependencies {
21-
testCompile group: 'junit', name: 'junit', version: '4.+'
22-
testCompile 'org.apache.httpcomponents:httpclient:4.1.1'
28+
testCompile group: 'junit', name: 'junit', version: '4.12'
29+
testCompile 'org.apache.httpcomponents:httpclient:4.1.1'
2330
}
2431

2532
test{
@@ -31,6 +38,6 @@ subprojects {
3138
}
3239

3340
task wrapper(type: Wrapper) {
34-
gradleVersion = '2.6'
41+
gradleVersion = '2.10'
3542
}
3643

gradle/wrapper/gradle-wrapper.jar

1.34 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Sep 04 12:04:45 PDT 2015
1+
#Tue Jan 12 14:52:40 PST 2016
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-bin.zip

marklogic-jena/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apply plugin: 'maven-publish'
1616
apply plugin: 'maven'
1717

1818

19-
version = '1.0.0'
19+
version = '1.0.1'
2020
group = 'com.marklogic'
2121

2222
dependencies {
@@ -25,7 +25,7 @@ dependencies {
2525
exclude(group: 'ch.qos.logback')
2626
exclude(group: 'log4j')
2727
}
28-
compile('com.marklogic:java-client-api:3.0.4') {
28+
compile('com.marklogic:java-client-api:3.0.5') {
2929
exclude(group: 'org.slf4j')
3030
exclude(group: 'ch.qos.logback')
3131
}
@@ -108,7 +108,7 @@ publishing {
108108
asNode().append(pomCustomizations.url)
109109
asNode().append(pomCustomizations.scm)
110110
asNode().append(pomCustomizations.licenses)
111-
asNode().appendNode("description", pomCustomizations.textdescription.text)
111+
asNode().appendNode("description", pomCustomizations.textdescription.text())
112112
}
113113

114114
artifact sourcesJar

marklogic-jena/gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ version=1.0.0
33

44
publishUrl=file:../marklogic-java/releases
55

6+
publishUrl=file:../marklogic-java/releases
7+
68
mlConfigDir=marklogic-jena/src/test/ml-config
79
mlHost=localhost
810
mlUsername=admin

0 commit comments

Comments
 (0)