pinpoint-profiler-optional-jdk9
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-profiler-optional-jdk9</artifactId>
<version>3.0.4</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2018 NAVER Corp.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-profiler-optional-parent</artifactId>
<relativePath>../profiler-optional-parent</relativePath>
<version>3.0.4</version>
</parent>
<artifactId>pinpoint-profiler-optional-jdk9</artifactId>
<name>pinpoint-profiler-optional-jdk9</name>
<packaging>jar</packaging>
<description>pinpoint profiler optional package for jdk 9</description>
<properties>
<jdk.version>8</jdk.version>
<jdk.home>${env.JAVA_8_HOME}</jdk.home>
<!-- <jdk.version>9</jdk.version>-->
<!-- <jdk.home>${env.JAVA_9_HOME}</jdk.home>-->
</properties>
<dependencies>
<!-- <dependency>-->
<!-- <groupId>com.navercorp.pinpoint</groupId>-->
<!-- <artifactId>pinpoint-test</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<scope>test</scope>
</dependency>
<!-- Logging dependencies -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals><goal>add-source</goal></goals>
<configuration>
<sources>
<source>src/main/java9</source>
<source>src/main/java11</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- jdk9 -->
<!-- <argLine>-->
<!-- --add-exports java.base/jdk.internal.misc=ALL-UNNAMED-->
<!-- </argLine>-->
<!-- jdk11 -->
<!-- <argLine>-->
<!-- --add-exports java.base/jdk.internal.access=ALL-UNNAMED-->
<!-- </argLine>-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<!-- jdk9 -->
<!-- <arg>--add-exports</arg><arg>java.base/jdk.internal.misc=ALL-UNNAMED</arg>-->
<!-- jdk 11 -->
<!-- <arg>--add-exports</arg><arg>java.base/jdk.internal.access=ALL-UNNAMED</arg>-->
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
</project>