diff --git a/install_jars_maven.sh b/install_jars_maven.sh new file mode 100755 index 000000000..ff77e9919 --- /dev/null +++ b/install_jars_maven.sh @@ -0,0 +1,19 @@ +#!/bin/bash +proj_dir=$(pwd) +DTNConsoleConnection=$proj_dir/lib/DTNConsoleConnection.jar +ECLA=$proj_dir/lib/ECLA.jar + +# install these two libraries to the local maven repo +mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file \ + -Dfile=$DTNConsoleConnection \ + -DgroupId=fi.tkk.netlab.dtn \ + -DartifactId=DTNConsoleConnection \ + -Dversion=1.0 \ + -Dpackaging=jar \ + +mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file \ + -Dfile=$ECLA \ + -DgroupId=fi.tkk.netlab.dtn \ + -DartifactId=ECLA \ + -Dversion=1.0 \ + -Dpackaging=jar \ diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..b79421606 --- /dev/null +++ b/pom.xml @@ -0,0 +1,64 @@ + + 4.0.0 + the-one + the-one + 0.0.1-SNAPSHOT + the-one + + src + src/test/ + target + + + src + + **/*.java + src/test/*.java + + + + + + maven-compiler-plugin + 3.3 + + 1.7 + 1.7 + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + + java + + + + + core.DTNSim + + + + + + + junit + junit + 4.12 + + + fi.tkk.netlab.dtn + DTNConsoleConnection + 1.0 + + + fi.tkk.netlab.dtn + ECLA + 1.0 + + + \ No newline at end of file