Skip to content
Snippets Groups Projects
pom.xml 6.08 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0" encoding="UTF-8"?>
    <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>de.tobias</groupId>
        <artifactId>playwall-server</artifactId>
        <version>1.0-SNAPSHOT</version>
    
    
        <properties>
            <java-version>1.8</java-version>
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    
    
            <scala-library.version>[2.13.0,)</scala-library.version>
    
            <spark-core.version>[2.9.0,)</spark-core.version>
    
            <ormlite-jdbc.version>5.1</ormlite-jdbc.version>
            <ormlite-core.version>5.1</ormlite-core.version>
    
            <junit.version>4.12</junit.version>
        </properties>
    
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>de.thecodelabs</groupId>
                    <artifactId>jlibs</artifactId>
                    <version>2.0.5</version>
                    <scope>import</scope>
                    <type>pom</type>
                </dependency>
            </dependencies>
        </dependencyManagement>
    
    
        <dependencies>
            <dependency>
                <groupId>org.scala-lang</groupId>
                <artifactId>scala-library</artifactId>
                <version>${scala-library.version}</version>
            </dependency>
    
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
            <dependency>
                <groupId>de.thecodelabs</groupId>
                <artifactId>libUtils</artifactId>
            </dependency>
    
    
            <dependency>
                <groupId>com.sparkjava</groupId>
                <artifactId>spark-core</artifactId>
                <version>${spark-core.version}</version>
            </dependency>
            <dependency>
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                <groupId>de.thecodelabs</groupId>
                <artifactId>libLogger-slf4j</artifactId>
    
            </dependency>
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
    
    
            <dependency>
                <groupId>com.j256.ormlite</groupId>
                <artifactId>ormlite-core</artifactId>
                <version>${ormlite-core.version}</version>
            </dependency>
            <dependency>
                <groupId>com.j256.ormlite</groupId>
                <artifactId>ormlite-jdbc</artifactId>
                <version>${ormlite-jdbc.version}</version>
            </dependency>
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                <version>8.0.17</version>
    
            </dependency>
            <dependency>
                <groupId>com.google.code.gson</groupId>
                <artifactId>gson</artifactId>
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                <version>[2.8.5,)</version>
    
            </dependency>
    
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
                <scope>test</scope>
            </dependency>
        </dependencies>
    
    
        <build>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                    <version>3.8.1</version>
    
                    <configuration>
    
                        <source>${java-version}</source>
                        <target>${java-version}</target>
    
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <configuration>
                        <archive>
                            <manifest>
                                <mainClass>de.tobias.playpad.server.PlayPadServer</mainClass>
                            </manifest>
                        </archive>
                        <descriptorRefs>
                            <descriptorRef>jar-with-dependencies</descriptorRef>
                        </descriptorRefs>
                    </configuration>
                    <executions>
                        <execution>
                            <id>make-assembly</id> <!-- this is used for inheritance merges -->
                            <phase>package</phase> <!-- bind to the packaging phase -->
                            <goals>
                                <goal>single</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.scala-tools</groupId>
                    <artifactId>maven-scala-plugin</artifactId>
                    <version>2.15.2</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>compile</goal>
                                <goal>testCompile</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </build>
    
        <pluginRepositories>
            <pluginRepository>
                <id>scala</id>
                <name>Scala Tools</name>
                <url>http://scala-tools.org/repo-releases/</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </pluginRepository>
        </pluginRepositories>
    
        <repositories>
            <repository>
                <id>scala</id>
                <name>Scala Tools</name>
                <url>http://scala-tools.org/repo-releases/</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </repository>
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
    
            <repository>
                <id>release</id>
                <url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-release</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </repository>
            <repository>
                <id>snapshots</id>
                <url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-snapshots</url>
                <releases>
                    <enabled>false</enabled>
                </releases>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </repository>
    
        </repositories>
    </project>