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 7.15 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 38
<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>gui</artifactId>
  <name>VadereGUI</name>
  <description>A test suite for the Vadere simulator.</description>
  <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>
39 40


41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
    <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>1.2.1</version>
        <executions>
            <execution>
                <phase>prepare-package</phase>
                <goals>
                    <goal>java</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <mainClass>org.vadere.gui.compileScripts.ClassListGenerator</mainClass>
            <arguments>
                <argument>foo</argument>
                <argument>bar</argument>
            </arguments>
        </configuration>
    </plugin>

Felix Dietrich's avatar
Felix Dietrich committed
62 63
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
64
        <version>${maven-compiler.version}</version>
Felix Dietrich's avatar
Felix Dietrich committed
65
        <configuration>
66 67
            <source>${maven-compiler.source.version}</source>
            <target>${maven-compiler.target.version}</target>
Felix Dietrich's avatar
Felix Dietrich committed
68 69 70 71
        </configuration>
      </plugin>

      <plugin>
72
        <!-- Use default groupId "org.apache.maven.plugins" -->
Felix Dietrich's avatar
Felix Dietrich committed
73 74
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.4</version>
75 76
        <executions>
            <execution>
77 78
                  <id>build-vadere-gui</id>
                  <phase>package</phase>
79 80 81 82 83 84 85 86 87 88 89 90
                  <goals>
                      <goal>single</goal>
                  </goals>
                  <configuration>
                      <archive>
                          <manifest>
                            <mainClass>org.vadere.gui.projectview.VadereApplication</mainClass>
                          </manifest>
                      </archive>
                      <descriptorRefs>
                          <descriptorRef>jar-with-dependencies</descriptorRef>
                      </descriptorRefs>
91
                      <finalName>vadere-gui</finalName>
92
                      <appendAssemblyId>false</appendAssemblyId>
93
                      <attach>false</attach>
94 95 96
                  </configuration>
            </execution>
            <execution>
97 98
                <id>build-vadere-postvis</id>
                <phase>package</phase>
99 100 101 102 103 104 105 106 107 108 109 110
                <goals>
                    <goal>single</goal>
                </goals>
                <configuration>
                    <archive>
                        <manifest>
                            <mainClass>org.vadere.gui.postvisualization.PostVisualisation</mainClass>
                        </manifest>
                    </archive>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
111
                    <finalName>vadere-postvis</finalName>
112
                    <appendAssemblyId>false</appendAssemblyId>
113
                    <attach>false</attach>
114 115 116
                </configuration>
            </execution>
          </executions>
Felix Dietrich's avatar
Felix Dietrich committed
117
      </plugin>
118
        <plugin>
119
            <!-- Maven Surefire is used to cup unit tests. -->
120 121
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
122
            <version>2.22.1</version>
123
            <configuration>
124
                <enableAssertions>true</enableAssertions>
125 126 127
                <excludes>
                    <exclude></exclude>
                </excludes>
128
                <failIfNoTests>false</failIfNoTests>
129 130
            </configuration>
        </plugin>
Felix Dietrich's avatar
Felix Dietrich committed
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
    </plugins>
  </build>
  <properties>
  	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  	<maven.build.timestamp.format>yyyyMMddhhmm</maven.build.timestamp.format>
  </properties>
  
  <dependencies>
      
<!-- swing-layout -->
  <dependency>
	<groupId>com.jgoodies</groupId>
	<artifactId>jgoodies-forms</artifactId>
	<version>1.6.0</version>
  </dependency>
146 147 148 149 150
<dependency>
	<groupId>tablelayout</groupId>
	<artifactId>TableLayout</artifactId>
	<version>20050920</version>
</dependency>
Felix Dietrich's avatar
Felix Dietrich committed
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
  
<!-- movie & screenshot -->
  <dependency>
      <groupId>org.jcodec</groupId>
      <artifactId>jcodec-javase</artifactId>
      <version>0.1.9</version>
  </dependency>
  <dependency>
	<groupId>net.sf.squirrel-sql.thirdpary-non-maven</groupId>
	<artifactId>openide</artifactId>
	<version>4.0</version>
  </dependency>
  <dependency>
  		<groupId>org.mockito</groupId>
  		<artifactId>mockito-all</artifactId>
166
  		<version>1.9.5</version>
Felix Dietrich's avatar
Felix Dietrich committed
167 168 169 170 171 172 173
  		<scope>test</scope>
  </dependency>
  <dependency>
	<groupId>org.apache.xmlgraphics</groupId>
	<artifactId>batik-svggen</artifactId>
	<version>1.7</version>
  </dependency>
174 175 176 177 178 179
 <!-- codec for the svg -->
  <dependency>
      <groupId>org.apache.xmlgraphics</groupId>
      <artifactId>batik-codec</artifactId>
      <version>1.7</version>
  </dependency>
Felix Dietrich's avatar
Felix Dietrich committed
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
  <dependency>
	<groupId>org.apache.xmlgraphics</groupId>
	<artifactId>batik-svg-dom</artifactId>
	<version>1.7</version>
  </dependency>
	<dependency>
     <groupId>org.apache.xmlgraphics</groupId>
     <artifactId>batik-dom</artifactId>
     <version>1.7</version>
   </dependency>
   <dependency>
     <groupId>org.apache.xmlgraphics</groupId>
     <artifactId>batik-swing</artifactId>
     <version>1.7</version>
   </dependency>
  <dependency>
  	<groupId>it.tidalwave.betterbeansbinding</groupId>
  	<artifactId>betterbeansbinding-core</artifactId>
  	<version>1.3.0</version>
  </dependency>
  <dependency>
  	<groupId>com.fifesoft</groupId>
  	<artifactId>rsyntaxtextarea</artifactId>
  	<version>2.0.7</version>
  </dependency>
  <dependency>
  	<groupId>commons-codec</groupId>
  	<artifactId>commons-codec</artifactId>
  	<version>1.8</version>
  </dependency>

<!-- module dependencies -->
  <dependency>
     <groupId>${project.groupId}</groupId>
     <artifactId>simulator</artifactId>
     <version>${project.version}</version>
   </dependency>
 	<dependency>
     <groupId>${project.groupId}</groupId>
     <artifactId>state</artifactId>
     <version>${project.version}</version>
   </dependency>
 	<dependency>
     <groupId>${project.groupId}</groupId>
     <artifactId>utils</artifactId>
     <version>${project.version}</version>
   </dependency>
 
  </dependencies>
229
</project>