#5 Switched to use maria database to store song information #7 Added spring and hibernate support #8 Added song upload functionality
372 lines
11 KiB
XML
372 lines
11 KiB
XML
<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>net.locusworks.discord</groupId>
|
|
<artifactId>eight-track</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>Eight Track</name>
|
|
<inceptionYear>2019</inceptionYear>
|
|
|
|
<organization>
|
|
<name>Locusworks</name>
|
|
<url>https://www.locusworks.net</url>
|
|
</organization>
|
|
|
|
<scm>
|
|
<url>git@gitea.locusworks.net:Locusworks/eight-track.git</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<flyway.version>6.0.3</flyway.version>
|
|
<mariadb.version>2.4.4</mariadb.version>
|
|
<hibernate.version>5.4.4.Final</hibernate.version>
|
|
<spring.version>5.1.9.RELEASE</spring.version>
|
|
<spring.boot.version>2.1.8.RELEASE</spring.boot.version>
|
|
<spring.data.version>2.1.10.RELEASE</spring.data.version>
|
|
<log4j.version>2.12.1</log4j.version>
|
|
<slf4j.version>1.7.28</slf4j.version>
|
|
<maven.enforcer.version>3.0.0-M2</maven.enforcer.version>
|
|
<dep.check.version>5.2.2</dep.check.version>
|
|
<license-maven-plugin.version>3.0</license-maven-plugin.version>
|
|
<nexus.repo>http://nexus.locusworks.net</nexus.repo>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.0.0-M2</version>
|
|
<configuration>
|
|
<rules>
|
|
<dependencyConvergence />
|
|
</rules>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<version>${dep.check.version}</version>
|
|
<configuration>
|
|
<skipProvidedScope>true</skipProvidedScope>
|
|
<skipTestScope>true</skipTestScope>
|
|
<failOnError>false</failOnError>
|
|
<versionCheckEnabled>true</versionCheckEnabled>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
<configuration>
|
|
<finalName>EightTrackApp</finalName>
|
|
<layout>JAR</layout>
|
|
<executable />
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>${license-maven-plugin.version}</version>
|
|
<configuration>
|
|
<quiet>false</quiet>
|
|
<header>${basedir}/licenses/LICENSE.template</header>
|
|
<strictCheck>true</strictCheck>
|
|
<useDefaultExcludes>true</useDefaultExcludes>
|
|
<includes>
|
|
<include>**/*.java</include>
|
|
</includes>
|
|
</configuration>
|
|
<dependencies>
|
|
<!-- this dependency allows ${license.git.copyrightLastYear} in the
|
|
license template -->
|
|
<dependency>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin-git</artifactId>
|
|
<version>${license-maven-plugin.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
|
<version>${flyway.version}</version>
|
|
<configuration>
|
|
<url>jdbc:mariadb://devops.locusworks.net:3306/</url>
|
|
<outOfOrder>false</outOfOrder>
|
|
<schemas>
|
|
<schema>eighttrack</schema>
|
|
</schemas>
|
|
<table>_flyway_migration</table>
|
|
<locations>
|
|
<location>filesystem:${basedir}/src/main/resources/database/migration</location>
|
|
</locations>
|
|
</configuration>
|
|
<!-- <executions> <execution> <phase>process-sources</phase> <goals>
|
|
<goal>migrate</goal> </goals> </execution> </executions> -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>${mariadb.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>net.locusworks</groupId>
|
|
<artifactId>applogger</artifactId>
|
|
<version>1.0.3-RELEASE</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.locusworks</groupId>
|
|
<artifactId>crypto</artifactId>
|
|
<version>1.0.5-RELEASE</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tika</groupId>
|
|
<artifactId>tika-core</artifactId>
|
|
<version>1.22</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tika</groupId>
|
|
<artifactId>tika-parsers</artifactId>
|
|
<version>1.22</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/net.dv8tion/JDA2 -->
|
|
<dependency>
|
|
<groupId>net.dv8tion</groupId>
|
|
<artifactId>JDA</artifactId>
|
|
<version>4.0.0_47</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sedmelluq</groupId>
|
|
<artifactId>lavaplayer</artifactId>
|
|
<version>1.3.22</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.flywaydb/flyway-core -->
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>${mariadb.version}</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.17</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
<version>${hibernate.version}</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-dbcp2</artifactId>
|
|
<version>2.7.0</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-autoconfigure -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Spring Framework jars to be shared across projects -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
<version>${spring.data.version}</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api -->
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>2.10.0.pr3</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.10.0.pr3</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>2.10.0.pr3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<version>2.2.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
<artifactId>jaxb-core</artifactId>
|
|
<version>2.2.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
<artifactId>jaxb-impl</artifactId>
|
|
<version>2.2.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
<artifactId>eclipselink</artifactId>
|
|
<version>2.5.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.persistence</groupId>
|
|
<artifactId>org.eclipse.persistence.jpa.modelgen.processor</artifactId>
|
|
<version>2.5.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>nexus-proxy-public</id>
|
|
<url>${nexus.repo}/repository/maven-public/</url>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>nexus-proxy-public</id>
|
|
<url>${nexus.repo}/repository/maven-public/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>nexus-snapshot</id>
|
|
<url>${nexus.repo}/repository/locusworks-snapshot/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>nexus-release</id>
|
|
<url>${nexus.repo}/repository/locusworks-release/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
</project> |