Skip to content

Commit

Permalink
[ALS-5000] Update maven compiler plugin to latest
Browse files Browse the repository at this point in the history
Maven compiler plugin has a dependency on log4j.
  • Loading branch information
Gcolon021 committed Oct 4, 2023
1 parent 3babb26 commit 818635c
Show file tree
Hide file tree
Showing 2 changed files with 307 additions and 308 deletions.
169 changes: 84 additions & 85 deletions pic-sure-resources/pom.xml
Original file line number Diff line number Diff line change
@@ -1,87 +1,86 @@
<?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>
<parent>
<artifactId>pic-sure-api</artifactId>
<groupId>edu.harvard.hms.dbmi.avillach</groupId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>pic-sure-resources</artifactId>
<packaging>pom</packaging>
<name>pic-sure-resources</name>
<modules>
<module>pic-sure-resource-api</module>
<module>pic-sure-ga4gh-dos</module>
<module>pic-sure-hsapi-resource</module>
<module>pic-sure-passthrough-resource</module>
<module>pic-sure-aggregate-data-sharing-resource</module>
<module>pic-sure-visualization-resource</module>
</modules>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.32</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<attachClasses>true</attachClasses>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>9</source>
<target>9</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>retrieve-mysql-driver</id>
<phase>generate-sources</phase>
<goals>
<goal>copy</goal>
</goals>
<inherited>false</inherited>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>8.0.32</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/modules/system/layers/base/com/sql/mysql/main/</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<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>
<artifactId>pic-sure-api</artifactId>
<groupId>edu.harvard.hms.dbmi.avillach</groupId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>pic-sure-resources</artifactId>
<packaging>pom</packaging>
<name>pic-sure-resources</name>
<modules>
<module>pic-sure-resource-api</module>
<module>pic-sure-ga4gh-dos</module>
<module>pic-sure-hsapi-resource</module>
<module>pic-sure-passthrough-resource</module>
<module>pic-sure-aggregate-data-sharing-resource</module>
<module>pic-sure-visualization-resource</module>
</modules>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.32</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<attachClasses>true</attachClasses>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>9</source>
<target>9</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>retrieve-mysql-driver</id>
<phase>generate-sources</phase>
<goals>
<goal>copy</goal>
</goals>
<inherited>false</inherited>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>8.0.32</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/modules/system/layers/base/com/sql/mysql/main/</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Loading

0 comments on commit 818635c

Please sign in to comment.