diff --git a/api/server/.gitignore b/api/server/.gitignore new file mode 100644 index 0000000..2edcb90 --- /dev/null +++ b/api/server/.gitignore @@ -0,0 +1,35 @@ +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# Maven +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn/wrapper/maven-wrapper.jar diff --git a/api/server/pom.xml b/api/server/pom.xml new file mode 100644 index 0000000..d46caae --- /dev/null +++ b/api/server/pom.xml @@ -0,0 +1,96 @@ + + + + 4.0.0 + + org.softwareheritage.graph + graph + 1.0-ALPHA + + graph + https://www.softwareheritage.org/ + + + UTF-8 + 1.8 + 1.8 + + + + + junit + junit + 4.11 + test + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + maven-assembly-plugin + + + + org.softwareheritage.graph.App + + + + jar-with-dependencies + + + + + make-assembly + package + + single + + + + + + + + diff --git a/api/server/src/main/java/org/softwareheritage/graph/App.java b/api/server/src/main/java/org/softwareheritage/graph/App.java new file mode 100644 index 0000000..bb1c3e0 --- /dev/null +++ b/api/server/src/main/java/org/softwareheritage/graph/App.java @@ -0,0 +1,9 @@ +package org.softwareheritage.graph; + +public class App +{ + public static void main(String[] args) + { + System.out.println("Hello world!"); + } +} diff --git a/api/server/src/test/java/org/softwareheritage/graph/AppTest.java b/api/server/src/test/java/org/softwareheritage/graph/AppTest.java new file mode 100644 index 0000000..cbd766b --- /dev/null +++ b/api/server/src/test/java/org/softwareheritage/graph/AppTest.java @@ -0,0 +1,14 @@ +package org.softwareheritage.graph; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +public class AppTest +{ + @Test + public void shouldAnswerWithTrue() + { + assertTrue(true); + } +}