2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-03-15 08:52:24 -04:00
|
|
|
<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">
|
2019-10-30 18:09:06 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>core-java-9-new-features</artifactId>
|
|
|
|
<version>0.2-SNAPSHOT</version>
|
2019-12-05 09:56:52 -05:00
|
|
|
<name>core-java-9-new-features</name>
|
2019-10-30 18:09:06 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../../</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
2020-05-27 10:09:23 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.reactivex.rxjava3</groupId>
|
|
|
|
<artifactId>rxjava</artifactId>
|
|
|
|
<version>${rxjava.version}</version>
|
|
|
|
</dependency>
|
2019-10-30 18:09:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-runner</artifactId>
|
|
|
|
<version>${junit.platform.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-25 01:09:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.awaitility</groupId>
|
|
|
|
<artifactId>awaitility</artifactId>
|
|
|
|
<version>${awaitility.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-30 18:09:06 -04:00
|
|
|
</dependencies>
|
2020-05-25 00:43:34 -04:00
|
|
|
<profiles>
|
2020-05-25 01:09:21 -04:00
|
|
|
<profile>
|
|
|
|
<id>incubator-features</id>
|
|
|
|
<build>
|
|
|
|
<finalName>core-java-9-new-features</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
<compilerArgument>--add-modules=jdk.incubator.httpclient</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>--add-modules=jdk.incubator.httpclient</argLine>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2020-05-25 00:43:34 -04:00
|
|
|
<profile>
|
|
|
|
<id>mrjar-generation</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile-java-8</id>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
<compileSourceRoots>
|
|
|
|
<compileSourceRoot>${project.basedir}/src/main/java8</compileSourceRoot>
|
|
|
|
</compileSourceRoots>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>compile-java-9</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<release>9</release>
|
|
|
|
<compileSourceRoots>
|
|
|
|
<compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot>
|
|
|
|
</compileSourceRoots>
|
|
|
|
<outputDirectory>${project.build.outputDirectory}/META-INF/versions/9</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-testCompile</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>${maven-jar-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Multi-Release>true</Multi-Release>
|
|
|
|
</manifestEntries>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.baeldung.multireleaseapp.App</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2019-10-30 18:09:06 -04:00
|
|
|
<build>
|
|
|
|
<finalName>core-java-9-new-features</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>apache.snapshots</id>
|
|
|
|
<url>http://repository.apache.org/snapshots/</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
<properties>
|
2020-06-12 11:02:50 -04:00
|
|
|
<rxjava.version>3.0.0</rxjava.version>
|
2019-10-30 18:09:06 -04:00
|
|
|
<!-- testing -->
|
|
|
|
<assertj.version>3.10.0</assertj.version>
|
|
|
|
<junit.platform.version>1.2.0</junit.platform.version>
|
2020-05-25 01:09:21 -04:00
|
|
|
<awaitility.version>4.0.2</awaitility.version>
|
2019-10-30 18:09:06 -04:00
|
|
|
<maven.compiler.source>1.9</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.9</maven.compiler.target>
|
2020-05-25 00:43:34 -04:00
|
|
|
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
|
2019-10-30 18:09:06 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|