pom.xml 3.66 KB
Newer Older
Felix Dietrich's avatar
Felix Dietrich committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.vadere</groupId>
    <artifactId>vadere</artifactId>
    <version>0.1-SNAPSHOT</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <artifactId>state</artifactId>
  <name>VadereState</name>
  <description>Holds the "model" part of the MVC pattern used in Vadere.</description>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <testSourceDirectory>tests</testSourceDirectory>
    <plugins>
16
17
18
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
19
            <version>${maven-compiler.version}</version>
20
            <configuration>
21
22
                <source>${maven-compiler.source.version}</source>
                <target>${maven-compiler.target.version}</target>
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
            </configuration>
        </plugin>
		<plugin>
            <groupId>org.jacoco</groupId>
            <artifactId>jacoco-maven-plugin</artifactId>
            <version>0.7.9</version>
            <executions>
                <!-- Use JaCoCo's Java agents to record coverage data by using on-the-fly class file instrumentation. -->
                <execution>
                    <id>pre-unit-test</id>
                    <goals>
                        <goal>prepare-agent</goal>
                    </goals>
                    <configuration>
                        <output>file</output>
                        <destFile>${project.build.directory}/coverage-data/jacoco-unit-tests.coverage</destFile>
                        <propertyName>surefireArgLine</propertyName>
                    </configuration>
                </execution>
                <!-- Use JaCoCo agent output to create coverage reports in CSV, HTML and XML format. -->
                <execution>
                    <id>post-unit-test</id>
                    <phase>test</phase>
                    <goals>
                        <goal>report</goal>
                    </goals>
                    <configuration>
                        <dataFile>${project.build.directory}/coverage-data/jacoco-unit-tests.coverage</dataFile>
                        <outputDirectory>${project.reporting.outputDirectory}/coverage-reports</outputDirectory>
                    </configuration>
                </execution>
            </executions>    
        </plugin>
        <plugin>
            <!-- Maven Surefire is used to execute unit tests. -->
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
60
            <version>2.19</version>
61
62
63
64
65
66
67
68
69
70
71
            <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>
            </configuration>
        </plugin>
Felix Dietrich's avatar
Felix Dietrich committed
72
73
74
75
76
77
78
79
80
    </plugins>
  </build>
  <dependencies>
<!-- module dependencies -->
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>utils</artifactId>
      <version>${project.version}</version>
    </dependency>
Jakob Schöttl's avatar
Jakob Schöttl committed
81
82
83
84
85
	<dependency>
		<groupId>commons-attributes</groupId>
		<artifactId>commons-attributes-api</artifactId>
		<version>2.2</version>
	</dependency>
Felix Dietrich's avatar
Felix Dietrich committed
86
87
  </dependencies>
</project>