diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..d913617bcdd124aeeb9f302c2aa7b1627251ae10 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..1797e74750d85d115a50608a5f086982087fcaca --- /dev/null +++ b/pom.xml @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <groupId>fr.irstea</groupId> + <artifactId>observation-demo</artifactId> + <version>0.1-SNAPSHOT</version> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.thoughtworks.xstream</groupId> + <artifactId>xstream</artifactId> + <version>1.3.1</version> + </dependency> + <dependency> + <groupId>fr.cemagref</groupId> + <artifactId>observation</artifactId> + <version>0.1.7</version> + </dependency> + </dependencies> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + + <name>${project.artifactId} ${project.version}</name> + <description /> + + <licenses> + <license> + <name>GPL</name> + <url>http://www.gnu.org/copyleft/gpl.html</url> + <distribution>repo</distribution> + </license> + </licenses> + + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <packaging>jar</packaging> + + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <configuration> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>false</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>assembly</goal> + </goals> + <configuration> + <appendAssemblyId>false</appendAssemblyId> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + <distributionManagement> + <repository> + <id>trac.clermont.cemagref.fr.nexus</id> + <url>http://trac.clermont.cemagref.fr/nexus/content/repositories/releases</url> + </repository> + <snapshotRepository> + <id>trac.clermont.cemagref.fr.nexus</id> + <url>http://trac.clermont.cemagref.fr/nexus/content/repositories/snapshots</url> + </snapshotRepository> + </distributionManagement> + +</project> + + + diff --git a/src/fr/cemagref/observation/examples/race/Individual.java b/src/main/java/fr/cemagref/observation/examples/race/Individual.java similarity index 100% rename from src/fr/cemagref/observation/examples/race/Individual.java rename to src/main/java/fr/cemagref/observation/examples/race/Individual.java diff --git a/src/fr/cemagref/observation/examples/race/Pilot.java b/src/main/java/fr/cemagref/observation/examples/race/Pilot.java similarity index 100% rename from src/fr/cemagref/observation/examples/race/Pilot.java rename to src/main/java/fr/cemagref/observation/examples/race/Pilot.java diff --git a/src/fr/cemagref/observation/examples/race/Race.java b/src/main/java/fr/cemagref/observation/examples/race/Race.java similarity index 100% rename from src/fr/cemagref/observation/examples/race/Race.java rename to src/main/java/fr/cemagref/observation/examples/race/Race.java