2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-06 13:11:38 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2020-03-15 08:52:24 -04:00
|
|
|
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">
|
2019-12-05 09:56:52 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>pre-jpms</artifactId>
|
|
|
|
<name>pre-jpms</name>
|
|
|
|
<packaging>jar</packaging>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<parent>
|
2020-05-25 10:15:48 -04:00
|
|
|
<groupId>com.baeldung.core-java-modules</groupId>
|
|
|
|
<artifactId>core-java-modules</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependencies>
|
2023-03-30 16:09:12 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.4.0-b180725.0427</version>
|
|
|
|
</dependency>
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<build>
|
|
|
|
<finalName>pre-jpms</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-01-15 15:23:26 -05:00
|
|
|
<version>${compiler.plugin.version}</version>
|
2019-12-05 09:56:52 -05:00
|
|
|
<configuration>
|
2020-01-15 15:23:26 -05:00
|
|
|
<source>${source.version}</source>
|
|
|
|
<target>${target.version}</target>
|
2023-03-30 16:09:12 -04:00
|
|
|
<compilerArgs>
|
|
|
|
<arg>--add-exports=java.base/com.sun.crypto.provider=ALL-UNNAMED</arg>
|
|
|
|
</compilerArgs>
|
2019-12-05 09:56:52 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2020-01-15 15:23:26 -05:00
|
|
|
<version>${dependency.plugin.version}</version>
|
2019-12-05 09:56:52 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>
|
|
|
|
${project.build.directory}/dependency-jars/
|
|
|
|
</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.baeldung.prejpms.App</mainClass>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>dependency-jars/</classpathPrefix>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2020-03-15 08:52:24 -04:00
|
|
|
|
2020-01-15 15:23:26 -05:00
|
|
|
<properties>
|
|
|
|
<dependency.plugin.version>3.1.1</dependency.plugin.version>
|
|
|
|
<compiler.plugin.version>3.8.0</compiler.plugin.version>
|
2023-03-30 16:09:12 -04:00
|
|
|
<source.version>11</source.version>
|
|
|
|
<target.version>11</target.version>
|
2020-01-15 15:23:26 -05:00
|
|
|
</properties>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2021-05-06 13:11:38 -04:00
|
|
|
</project>
|