Skip to content

Commit 7d7d7be

Browse files
committed
Merge pull request #1 from jsonld-java/initial-migration
Initial migration
2 parents cba4dd0 + 2e4e872 commit 7d7d7be

File tree

10 files changed

+851
-13
lines changed

10 files changed

+851
-13
lines changed

.gitignore

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
*.class
2-
3-
# Mobile Tools for Java (J2ME)
4-
.mtj.tmp/
5-
6-
# Package Files #
7-
*.jar
8-
*.war
9-
*.ear
10-
11-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
12-
hs_err_pid*
1+
.classpath
2+
.project
3+
.settings
4+
target/
5+
.svn/
6+
*.iml
7+
.idea
8+
*~
9+
pom.xml.versionsBackup

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: java
2+
jdk:
3+
- openjdk7
4+
- oraclejdk7
5+
- oraclejdk8
6+
notifications:
7+
email:
8+
- ansell.peter@gmail.com
9+
- tristan.king@gmail.com
10+
after_success:
11+
- mvn clean test jacoco:report coveralls:report

LICENCE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2012, Deutsche Forschungszentrum für Künstliche Intelligenz GmbH
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of the <organization> nor the
12+
names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,29 @@
1-
# jsonld-java-tools
1+
JSONLD-Java Tools
2+
-----------------
3+
24
Tools for using JSONLD-Java
5+
6+
[![Build Status](https://travis-ci.org/jsonld-java/jsonld-java-tools.svg?branch=master)](https://travis-ci.org/jsonld-java/jsonld-java-tools)
7+
[![Coverage Status](https://coveralls.io/repos/jsonld-java/jsonld-java-tools/badge.svg?branch=master)](https://coveralls.io/r/jsonld-java/jsonld-java-tools?branch=master)
8+
9+
### Dependencies
10+
11+
* Java-1.6+
12+
* Maven-3
13+
14+
Playground
15+
----------
16+
17+
The JSONLD-Java Playground is a simple application which provides command line access to JSON-LD functions.
18+
19+
### Initial clone and setup
20+
21+
git clone git@github.com:jsonld-java/jsonld-java-tools.git
22+
chmod +x ./jsonldplayground
23+
24+
### Usage
25+
26+
run the following to get usage details:
27+
28+
./jsonldplayground --help
29+

jsonldplayground

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
# This script runs the JSONLDPlayground code.
3+
# Before running this script for the first time
4+
# you may need to run:
5+
# chmod +x jsonldplayground
6+
#
7+
# run ./jsonldplayground for the usage
8+
9+
if [ ! -d "tools/target/appassembler/bin" ]; then
10+
mvn -quiet clean install -DskipTests
11+
fi
12+
13+
chmod u+x tools/target/appassembler/bin/*
14+
tools/target/appassembler/bin/jsonldplayground "$@"

pom.xml

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
4+
<parent>
5+
<artifactId>jsonld-java-parent</artifactId>
6+
<groupId>com.github.jsonld-java</groupId>
7+
<version>0.7.0-SNAPSHOT</version>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>jsonld-java-tools</artifactId>
11+
<name>JSONLD Java :: Tools</name>
12+
<description>JSON-LD Java tools</description>
13+
<packaging>jar</packaging>
14+
15+
<properties>
16+
<sesame.version>2.8.5</sesame.version>
17+
</properties>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>${project.groupId}</groupId>
22+
<artifactId>jsonld-java</artifactId>
23+
<version>${project.version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>junit</groupId>
27+
<artifactId>junit</artifactId>
28+
<scope>test</scope>
29+
</dependency>
30+
<dependency>
31+
<groupId>org.slf4j</groupId>
32+
<artifactId>slf4j-log4j12</artifactId>
33+
<scope>runtime</scope>
34+
</dependency>
35+
<dependency>
36+
<groupId>net.sf.jopt-simple</groupId>
37+
<artifactId>jopt-simple</artifactId>
38+
<version>4.8</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>org.openrdf.sesame</groupId>
42+
<artifactId>sesame-model</artifactId>
43+
<version>${sesame.version}</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.openrdf.sesame</groupId>
47+
<artifactId>sesame-rio-api</artifactId>
48+
<version>${sesame.version}</version>
49+
</dependency>
50+
<dependency>
51+
<groupId>org.openrdf.sesame</groupId>
52+
<artifactId>sesame-rio-jsonld</artifactId>
53+
<version>${sesame.version}</version>
54+
<scope>runtime</scope>
55+
</dependency>
56+
<dependency>
57+
<groupId>org.openrdf.sesame</groupId>
58+
<artifactId>sesame-rio-nquads</artifactId>
59+
<version>${sesame.version}</version>
60+
<scope>runtime</scope>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.openrdf.sesame</groupId>
64+
<artifactId>sesame-rio-turtle</artifactId>
65+
<version>${sesame.version}</version>
66+
<scope>runtime</scope>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.openrdf.sesame</groupId>
70+
<artifactId>sesame-rio-rdfxml</artifactId>
71+
<version>${sesame.version}</version>
72+
<scope>runtime</scope>
73+
</dependency>
74+
<dependency>
75+
<groupId>org.openrdf.sesame</groupId>
76+
<artifactId>sesame-rio-rdfjson</artifactId>
77+
<version>${sesame.version}</version>
78+
<scope>runtime</scope>
79+
</dependency>
80+
<dependency>
81+
<groupId>org.openrdf.sesame</groupId>
82+
<artifactId>sesame-rio-ntriples</artifactId>
83+
<version>${sesame.version}</version>
84+
<scope>runtime</scope>
85+
</dependency>
86+
<dependency>
87+
<groupId>org.openrdf.sesame</groupId>
88+
<artifactId>sesame-rio-trig</artifactId>
89+
<version>${sesame.version}</version>
90+
<scope>runtime</scope>
91+
</dependency>
92+
<dependency>
93+
<groupId>org.openrdf.sesame</groupId>
94+
<artifactId>sesame-rio-trix</artifactId>
95+
<version>${sesame.version}</version>
96+
<scope>runtime</scope>
97+
</dependency>
98+
</dependencies>
99+
100+
<build>
101+
<plugins>
102+
<plugin>
103+
<groupId>org.codehaus.mojo</groupId>
104+
<artifactId>appassembler-maven-plugin</artifactId>
105+
<executions>
106+
<execution>
107+
<phase>package</phase>
108+
<goals>
109+
<goal>assemble</goal>
110+
</goals>
111+
</execution>
112+
</executions>
113+
<configuration>
114+
<programs>
115+
<program>
116+
<mainClass>com.github.jsonldjava.tools.Playground</mainClass>
117+
<name>jsonldplayground</name>
118+
</program>
119+
</programs>
120+
</configuration>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.codehaus.mojo</groupId>
124+
<artifactId>animal-sniffer-maven-plugin</artifactId>
125+
</plugin>
126+
</plugins>
127+
</build>
128+
129+
</project>
130+

0 commit comments

Comments
 (0)