Commit 3143a48d authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

Add source generation to simulation module

parent 14500c4c
......@@ -56,6 +56,13 @@
<configuration>
<source>${maven-compiler.source.version}</source>
<target>${maven-compiler.target.version}</target>
<annotationProcessorPaths>
<path>
<groupId>org.vadere</groupId>
<artifactId>annotation-processing</artifactId>
<version>0.1-SNAPSHOT</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
......@@ -87,7 +94,7 @@
<outputDirectory>${project.reporting.outputDirectory}/coverage-reports</outputDirectory>
</configuration>
</execution>
</executions>
</executions>
</plugin>
<plugin>
<!-- Maven Surefire is used to execute unit tests. -->
......@@ -95,11 +102,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version>
<configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine}</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true -->
<skipTests>${skip.unit.tests}</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes>
<exclude></exclude>
</excludes>
......@@ -144,7 +147,7 @@
</plugins>
</pluginManagement>
</build>
<!-- local repository for all jars without an external repo -->
<repositories>
<repository>
......@@ -164,20 +167,27 @@
</dependency>
<!-- module dependencies -->
<dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>state</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>utils</artifactId>
<version>${project.version}</version>
</dependency>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>annotation-processing</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.argparse4j</groupId>
<artifactId>argparse4j</artifactId>
<version>0.4.3</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -4,11 +4,13 @@ import org.vadere.simulator.projects.dataprocessing.ProcessorManager;
import org.vadere.state.attributes.processor.AttributesAreaDensityVoronoiProcessor;
import org.vadere.state.attributes.processor.AttributesProcessor;
import org.vadere.annotation.factories.processor.DataProcessorClass;
/**
* @author Mario Teixeira Parente
*
*/
@DataProcessorClass(name = "AreaDensityVoronoiProcessor")
public class AreaDensityVoronoiProcessor extends AreaDensityProcessor {
public AreaDensityVoronoiProcessor(){
......
......@@ -11,11 +11,13 @@ import org.vadere.util.geometry.shapes.VPoint;
import java.util.Map;
import org.vadere.annotation.factories.processor.DataProcessorClass;
/**
* @author Mario Teixeira Parente
*
*/
@DataProcessorClass(name = "AreaSpeedProcessor")
public class AreaSpeedProcessor extends AreaDataProcessor<Double> {
private PedestrianPositionProcessor pedPosProc;
private PedestrianVelocityProcessor pedVelProc;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment