Updated libraries
All checks were successful
Locusworks Team/eight-track/pipeline/head This commit looks good

This commit is contained in:
2021-09-14 23:17:06 -05:00
parent 599052a235
commit a24810a53a
2 changed files with 52 additions and 31 deletions

72
pom.xml
View File

@ -18,18 +18,18 @@
</scm> </scm>
<properties> <properties>
<flyway.version>7.0.4</flyway.version> <flyway.version>7.15.0</flyway.version>
<mysql.version>8.0.22</mysql.version> <mysql.version>8.0.26</mysql.version>
<hibernate.version>5.4.22.Final</hibernate.version> <hibernate.version>5.5.7.Final</hibernate.version>
<spring.version>5.2.9.RELEASE</spring.version> <spring.version>5.3.9</spring.version>
<spring.boot.version>2.3.4.RELEASE</spring.boot.version> <spring.boot.version>2.5.4</spring.boot.version>
<spring.data.version>2.3.4.RELEASE</spring.data.version> <spring.data.version>2.5.4</spring.data.version>
<jackson.version>2.11.3</jackson.version> <jackson.version>2.12.5</jackson.version>
<log4j.version>2.13.3</log4j.version> <log4j.version>2.14.1</log4j.version>
<slf4j.version>1.7.30</slf4j.version> <slf4j.version>1.7.32</slf4j.version>
<maven.enforcer.version>3.0.0-M3</maven.enforcer.version> <maven.enforcer.version>3.0.0</maven.enforcer.version>
<dep.check.version>5.3.2</dep.check.version> <dep.check.version>6.3.1</dep.check.version>
<license-maven-plugin.version>3.0</license-maven-plugin.version> <license-maven-plugin.version>4.1</license-maven-plugin.version>
<nexus.repo>https://nexus.locusworks.net</nexus.repo> <nexus.repo>https://nexus.locusworks.net</nexus.repo>
</properties> </properties>
@ -93,13 +93,14 @@
<artifactId>license-maven-plugin</artifactId> <artifactId>license-maven-plugin</artifactId>
<version>${license-maven-plugin.version}</version> <version>${license-maven-plugin.version}</version>
<configuration> <configuration>
<quiet>false</quiet> <licenseSets>
<header>${basedir}/licenses/LICENSE.template</header> <licenseSet>
<strictCheck>true</strictCheck> <header>${project.baseUri}/licenses/LICENSE.template</header>
<useDefaultExcludes>true</useDefaultExcludes> <includes>
<includes> <include>**/*.java</include>
<include>**/*.java</include> </includes>
</includes> </licenseSet>
</licenseSets>
</configuration> </configuration>
<dependencies> <dependencies>
<!-- this dependency allows ${license.git.copyrightLastYear} in the <!-- this dependency allows ${license.git.copyrightLastYear} in the
@ -141,20 +142,20 @@
<dependency> <dependency>
<groupId>net.locusworks</groupId> <groupId>net.locusworks</groupId>
<artifactId>applogger</artifactId> <artifactId>applogger</artifactId>
<version>1.0.1-RELEASE</version> <version>1.0.3-RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.locusworks</groupId> <groupId>net.locusworks</groupId>
<artifactId>crypto</artifactId> <artifactId>crypto</artifactId>
<version>1.0.1-RELEASE</version> <version>1.0.2-RELEASE</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/net.dv8tion/JDA2 --> <!-- https://mvnrepository.com/artifact/net.dv8tion/JDA2 -->
<dependency> <dependency>
<groupId>net.dv8tion</groupId> <groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId> <artifactId>JDA</artifactId>
<version>4.2.0_209</version> <version>4.3.0_277</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>com.fasterxml.jackson.core</groupId> <groupId>com.fasterxml.jackson.core</groupId>
@ -174,9 +175,34 @@
<dependency> <dependency>
<groupId>com.sedmelluq</groupId> <groupId>com.sedmelluq</groupId>
<artifactId>lavaplayer</artifactId> <artifactId>lavaplayer</artifactId>
<version>1.3.50</version> <version>1.3.77</version>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
<exclusion>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.14.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.flywaydb/flyway-core --> <!-- https://mvnrepository.com/artifact/org.flywaydb/flyway-core -->
<dependency> <dependency>
<groupId>org.flywaydb</groupId> <groupId>org.flywaydb</groupId>

View File

@ -75,18 +75,13 @@ public class EightTrackDataSource {
@Bean @Bean
public DataSource dataSource() throws Exception { public DataSource dataSource() throws Exception {
logger.debug("Getting datasource"); logger.debug("Getting datasource");
return getDataSource(confService.getDatabaseUsername(), return getDataSource(confService.getDatabaseUsername(), confService.getDatabasePassword(), "/eighttrack");
confService.getDatabasePassword(),
"/eighttrack");
} }
@Bean @Bean
public DataSource flywayDataSource() throws Exception { public DataSource flywayDataSource() throws Exception {
logger.debug("Logging in with flyway for migrations"); logger.debug("Logging in with flyway for migrations");;
return getDataSource(confService.getDatabaseRootUsername(), confService.getDatabaseRootPassword(), "");
return getDataSource(confService.getDatabaseRootUsername(),
confService.getDatabaseRootPassword(),
"");
} }
private DataSource getDataSource(String user, String passwd, String db) throws Exception { private DataSource getDataSource(String user, String passwd, String db) throws Exception {