In January 2021 we will introduce a 10 GB quota for project repositories. Higher limits for individual projects will be available on request. Please see https://doku.lrz.de/display/PUBLIC/GitLab for more information.

pom.xml 5.78 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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<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>simulator</artifactId>
  <name>Vadere Simulator</name>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <testSourceDirectory>tests</testSourceDirectory>
    <resources>
      <resource>
        <directory>src</directory>
        <excludes>
          <exclude>**/*.java</exclude>
        </excludes>
      </resource>
        <resource>
            <directory>resources</directory>
        </resource>
    </resources>
      <testResources>
          <testResource>
              <directory>testResources</directory>
          </testResource>
          <testResource>
              <directory>tests</directory>
              <excludes>
                  <exclude>**/*.java</exclude>
              </excludes>
          </testResource>
      </testResources>
    <plugins>
38 39 40 41 42 43 44 45 46 47 48 49 50
        <plugin>
            <groupId>com.nativelibs4java</groupId>
            <artifactId>maven-javacl-plugin</artifactId>
            <version>1.0.0-RC4</version>
            <executions>
                <execution>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>compile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
51 52 53
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
54
            <version>1.6.0</version>
55 56
            <executions>
                <execution>
57
                    <id>write-version-control-info-to-file</id>
58
                    <phase>generate-resources</phase>
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
                    <goals>
                        <goal>exec</goal>
                    </goals>
                </execution>
            </executions>
            <!-- Write a file with current version of Vadere to get reproducible simulations. -->
            <configuration>
                <executable>git</executable>
                <arguments>
                    <argument>rev-parse</argument>
                    <argument>HEAD</argument>
                </arguments>
                <outputFile>resources/current_commit_hash.txt</outputFile>
            </configuration>
        </plugin>
Felix Dietrich's avatar
Felix Dietrich committed
74 75 76
      <plugin>
		  <groupId>org.apache.maven.plugins</groupId>
		  <artifactId>maven-compiler-plugin</artifactId>
77
		  <version>${maven-compiler.version}</version>
Felix Dietrich's avatar
Felix Dietrich committed
78
		  <configuration>
79 80
              <source>${maven-compiler.source.version}</source>
              <target>${maven-compiler.target.version}</target>
81 82 83
              <annotationProcessorPaths>
              <path>
                  <groupId>org.vadere</groupId>
84
                  <artifactId>annotation</artifactId>
85 86 87
                  <version>0.1-SNAPSHOT</version>
              </path>
              </annotationProcessorPaths>
Felix Dietrich's avatar
Felix Dietrich committed
88 89
		  </configuration>
		</plugin>
90
        <plugin>
91
            <!-- Use default groupId "org.apache.maven.plugins" -->
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
            <artifactId>maven-assembly-plugin</artifactId>
            <version>2.4</version>
            <executions>
                <execution>
                    <id>build-vadere-console</id> <!-- this is used for inheritance merges -->
                    <phase>package</phase> <!-- bind to the packaging phase -->
                    <goals>
                        <goal>single</goal>
                    </goals>
                    <configuration>
                        <archive>
                            <manifest>
                                <mainClass>org.vadere.simulator.entrypoints.cmd.VadereConsole</mainClass>
                            </manifest>
                        </archive>
                        <descriptorRefs>
                            <descriptorRef>jar-with-dependencies</descriptorRef>
                        </descriptorRefs>
                        <finalName>vadere-console</finalName>
                        <appendAssemblyId>false</appendAssemblyId>
112
                        <attach>false</attach>
113 114 115 116
                    </configuration>
                </execution>
            </executions>
        </plugin>
Felix Dietrich's avatar
Felix Dietrich committed
117 118
    </plugins>
  </build>
119

120 121 122 123 124 125 126 127 128
   <!--
   use it again if error.
   <repositories>
        <repository>
            <id>nativelibs4java</id>
            <name>nativelibs4java Maven2 Repository</name>
            <url>http://nativelibs4java.sourceforge.net/maven</url>
        </repository>
    </repositories>
Felix Dietrich's avatar
Felix Dietrich committed
129 130
    <properties>
        <platform.dependency>windows-x86_64</platform.dependency>
131 132
    </properties>-->

Felix Dietrich's avatar
Felix Dietrich committed
133 134 135 136 137 138 139 140
  <dependencies>
  	<dependency>
  		<groupId>commons-codec</groupId>
  		<artifactId>commons-codec</artifactId>
  		<version>1.8</version>
  	</dependency>

<!-- module dependencies -->
141
    <dependency>
Felix Dietrich's avatar
Felix Dietrich committed
142 143 144
      <groupId>${project.groupId}</groupId>
      <artifactId>state</artifactId>
      <version>${project.version}</version>
145 146
    </dependency>
    <dependency>
Felix Dietrich's avatar
Felix Dietrich committed
147 148 149
      <groupId>${project.groupId}</groupId>
      <artifactId>utils</artifactId>
      <version>${project.version}</version>
150 151 152
    </dependency>
      <dependency>
          <groupId>${project.groupId}</groupId>
153
          <artifactId>annotation</artifactId>
154 155
          <version>${project.version}</version>
      </dependency>
156 157 158 159 160
      <dependency>
          <groupId>${project.groupId}</groupId>
          <artifactId>meshing</artifactId>
          <version>${project.version}</version>
      </dependency>
161

Felix Dietrich's avatar
Felix Dietrich committed
162 163 164 165 166
   <dependency>
   	<groupId>net.sourceforge.argparse4j</groupId>
   	<artifactId>argparse4j</artifactId>
   	<version>0.4.3</version>
   </dependency>
167

Felix Dietrich's avatar
Felix Dietrich committed
168
  </dependencies>
169
</project>