pom.xml 8.44 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<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>
  <groupId>org.vadere</groupId>
  <artifactId>vadere</artifactId>
  <version>0.1-SNAPSHOT</version>
  <packaging>pom</packaging>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11
    <auto-service.version>1.0-rc2</auto-service.version>
12 13 14 15
    <maven-compiler.version>3.8.0</maven-compiler.version>
    <maven-compiler.source.version>11</maven-compiler.source.version>
    <maven-compiler.target.version>11</maven-compiler.target.version>
    <maven.compiler.release>11</maven.compiler.release>
16 17
  </properties>

18 19 20 21 22 23 24 25 26 27 28 29 30 31
    <build>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-enforcer-plugin</artifactId>
                    <version>3.0.0-M2</version>
                    <executions>
                        <execution>
                            <id>enforce-maven</id>
                            <goals>
                                <goal>enforce</goal>
                            </goals>
                            <configuration>
                                <rules>
32
                                <!-- Use Maven's range syntax: https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html -->
33
                                    <requireMavenVersion>
34
                                    <version>[3.0,)</version>
35
                                    </requireMavenVersion>
dlehm's avatar
dlehm committed
36
                                <requireJavaVersion>
37
                                    <version>[${maven-compiler.source.version},)</version>
dlehm's avatar
dlehm committed
38
                                </requireJavaVersion>
39 40 41 42 43 44 45 46
                                </rules>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
47
                    <version>${maven-compiler.version}</version>
48
                    <configuration>
49 50
                        <!-- Workaround to avoid "java.lang.AssertionError: Visiting tree node before memberEnter". See: https://stackoverflow.com/a/52536499/5002766 -->
                        <forceJavacCompilerUse>true</forceJavacCompilerUse>
51 52
                        <source>${maven-compiler.source.version}</source>
                        <target>${maven-compiler.target.version}</target>
53
                        <release>${maven.compiler.release}</release>
54 55
                    </configuration>
                </plugin>
56
                <!--  Maven Surefire is used to run unit tests. -->
57
                <plugin>
58
                <groupId>org.apache.maven.plugins</groupId>
59 60 61 62 63 64 65 66 67
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.22.1</version>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.maven.surefire</groupId>
                        <artifactId>surefire-junit47</artifactId>
                        <version>3.0.0-M3</version>
                    </dependency>
                </dependencies>
68
                <configuration>
69
                    <threadCount>1</threadCount>
70 71 72 73 74
                    <enableAssertions>true</enableAssertions>
                    <excludes>
                        <exclude></exclude>
                    </excludes>
                    <failIfNoTests>false</failIfNoTests>
75 76
                </configuration>
            </plugin>
77 78 79 80
                <plugin>
                    <groupId>org.jacoco</groupId>
                    <artifactId>jacoco-maven-plugin</artifactId>
                    <version>0.8.3</version>
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
                    <executions>
                        <execution>
                            <id>pre-unit-test-code-instrumentation</id>
                            <goals>
                                <goal>prepare-agent</goal>
                            </goals>
                            <configuration>
                                <propertyName>${surefireArgLine}</propertyName>
                            </configuration>
                        </execution>
                        <execution>
                            <id>post-unit-test-report-generation</id>
                            <phase>test</phase>
                            <goals>
                                <goal>report</goal>
                            </goals>
                            <configuration>
                                <outputDirectory>${project.build.directory}/coverage-reports</outputDirectory>
                            </configuration>
                        </execution>
                    </executions>
102 103
                </plugin>
            </plugins>
104 105
    </build>

106 107 108
<!-- modules -->
  <modules>
  	<!--  <module>./VadereExperiments</module>-->
109 110 111
      <module>./VadereGui</module>
      <module>./VadereSimulator</module>
      <module>./VadereState</module>
112
      <module>./VadereMeshing</module>
113 114
      <module>./VadereUtils</module>
      <module>./VadereAnnotation</module>
115
  </modules>
116 117 118


    <!-- global dependencies! -->
119
  <dependencies>
BZoennchen's avatar
BZoennchen committed
120 121 122 123 124 125
      <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava</artifactId>
          <version>25.0-jre</version>
      </dependency>
      <dependency>
hm-schuhba1's avatar
hm-schuhba1 committed
126 127 128 129 130 131 132 133 134
          <groupId>org.apache.logging.log4j</groupId>
          <artifactId>log4j-api</artifactId>
          <version>2.11.1</version>
      </dependency>
      <dependency>
          <groupId>org.apache.logging.log4j</groupId>
          <artifactId>log4j-core</artifactId>
          <version>2.11.1</version>
      </dependency>
135 136 137 138 139
      <dependency>
  		<groupId>org.apache.commons</groupId>
  		<artifactId>commons-math3</artifactId>
  		<version>3.6.1</version>
  	</dependency>
BZoennchen's avatar
BZoennchen committed
140
      <!-- reading and writing csv-files -->
141 142 143 144 145 146 147 148 149 150
      <dependency>
      <groupId>net.sf.opencsv</groupId>
	<artifactId>opencsv</artifactId>
	<version>2.0</version>
  	</dependency>
  	<dependency>
  		<groupId>org.apache.commons</groupId>
  		<artifactId>commons-math</artifactId>
  		<version>2.2</version>
  	</dependency>
151 152 153 154 155 156 157 158 159 160 161 162 163
      <!-- https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-core -->
      <dependency>
          <groupId>org.openjdk.jmh</groupId>
          <artifactId>jmh-core</artifactId>
          <version>1.20</version>
      </dependency>
      <!-- https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-generator-annprocess -->
      <dependency>
          <groupId>org.openjdk.jmh</groupId>
          <artifactId>jmh-generator-annprocess</artifactId>
          <version>1.20</version>
          <scope>provided</scope>
      </dependency>
164 165 166
    <dependency>
  		<groupId>com.fasterxml.jackson.core</groupId>
  		<artifactId>jackson-databind</artifactId>
hm-schuhba1's avatar
hm-schuhba1 committed
167
        <version>2.9.6</version>
168
    </dependency>
hm-schuhba1's avatar
hm-schuhba1 committed
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
      <!-- https://mvnrepository.com/artifact/com.bazaarvoice.jolt/jolt-core -->
      <dependency>
          <groupId>com.bazaarvoice.jolt</groupId>
          <artifactId>jolt-core</artifactId>
          <version>0.1.1</version>
      </dependency>
      <!-- https://mvnrepository.com/artifact/com.bazaarvoice.jolt/json-utils -->
      <dependency>
          <groupId>com.bazaarvoice.jolt</groupId>
          <artifactId>json-utils</artifactId>
          <version>0.1.1</version>
      </dependency>


      <dependency>
184 185 186 187 188 189 190
  		<groupId>com.googlecode.java-diff-utils</groupId>
  		<artifactId>diffutils</artifactId>
  		<version>1.3.0</version>
    </dependency>
    <dependency>
  		<groupId>junit</groupId>
  		<artifactId>junit</artifactId>
191
  		<version>4.12</version>
192
  	</dependency>
193 194 195 196
      <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
      <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-core</artifactId>
197
          <version>2.24.5</version>
198 199 200
          <scope>test</scope>
      </dependency>

201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
    <dependency>
    	<groupId>commons-io</groupId>
    	<artifactId>commons-io</artifactId>
    	<version>2.4</version>
    </dependency>
    <dependency>
      <groupId>com.intellij</groupId>
      <artifactId>annotations</artifactId>
      <version>5.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.4</version>
    </dependency>
  </dependencies>
217

218
</project>