From 124c403688ce3927d1f380503dd8ee87ad7cce0a Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Mon, 20 Nov 2017 18:43:29 +0100 Subject: [PATCH] Initial import of maven project skeleton with jena dependency --- .classpath | 26 +++++++++++++++++++ .gitignore | 3 +++ .project | 23 +++++++++++++++++ pom.xml | 31 ++++++++++++++++++++++ src/main/java/hsh/ins_jena/App.java | 11 ++++++++ src/test/java/hsh/ins_jena/AppTest.java | 34 +++++++++++++++++++++++++ target/classes/.gitignore | 1 + 7 files changed, 129 insertions(+) create mode 100644 .classpath create mode 100644 .gitignore create mode 100644 .project create mode 100644 pom.xml create mode 100644 src/main/java/hsh/ins_jena/App.java create mode 100644 src/test/java/hsh/ins_jena/AppTest.java create mode 100644 target/classes/.gitignore diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..0a1dadd --- /dev/null +++ b/.classpath @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9e87eff --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.settings + +*.class diff --git a/.project b/.project new file mode 100644 index 0000000..35ad692 --- /dev/null +++ b/.project @@ -0,0 +1,23 @@ + + + ins-jena + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..b50c53e --- /dev/null +++ b/pom.xml @@ -0,0 +1,31 @@ + + 4.0.0 + + hsh + ins-jena + 0.0.1-SNAPSHOT + jar + + ins-jena + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + org.apache.jena + apache-jena-libs + pom + 3.5.0 + + + diff --git a/src/main/java/hsh/ins_jena/App.java b/src/main/java/hsh/ins_jena/App.java new file mode 100644 index 0000000..0bff19a --- /dev/null +++ b/src/main/java/hsh/ins_jena/App.java @@ -0,0 +1,11 @@ +package hsh.ins_jena; + +/** + * Hello world! + * + */ +public class App { + public static void main(String[] args) { + System.out.println("Hello World!"); + } +} diff --git a/src/test/java/hsh/ins_jena/AppTest.java b/src/test/java/hsh/ins_jena/AppTest.java new file mode 100644 index 0000000..23fc68d --- /dev/null +++ b/src/test/java/hsh/ins_jena/AppTest.java @@ -0,0 +1,34 @@ +package hsh.ins_jena; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest extends TestCase { + /** + * Create the test case + * + * @param testName + * name of the test case + */ + public AppTest(String testName) { + super(testName); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() { + return new TestSuite(AppTest.class); + } + + /** + * Rigourous Test :-) + */ + public void testApp() { + assertTrue(true); + } +} diff --git a/target/classes/.gitignore b/target/classes/.gitignore new file mode 100644 index 0000000..3385916 --- /dev/null +++ b/target/classes/.gitignore @@ -0,0 +1 @@ +/META-INF/