166 lines
5.6 KiB
XML
166 lines
5.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You 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:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-annotation-processor</artifactId>
|
|
<version>1.0.0</version>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!-- System dependencies may cause problems in checkstyle. -->
|
|
<checkstyle.skip>true</checkstyle.skip>
|
|
<checkstyle_unix.skip>true</checkstyle_unix.skip>
|
|
<rat.skip>true</rat.skip>
|
|
<jacoco.skip>true</jacoco.skip>
|
|
|
|
<maven.deploy.skip>true</maven.deploy.skip>
|
|
|
|
<junit_jupiter_version>5.9.0</junit_jupiter_version>
|
|
<javassist_version>3.29.2-GA</javassist_version>
|
|
</properties>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<!-- JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit_jupiter_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>${junit_jupiter_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<version>${junit_jupiter_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
<version>${javassist_version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
<configuration>
|
|
<proc>none</proc>
|
|
<fork>true</fork>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>default-profile-in-jdk-8</id>
|
|
<activation>
|
|
<file>
|
|
<exists>${java.home}/../lib/tools.jar</exists>
|
|
</file>
|
|
<jdk>(, 9)</jdk>
|
|
</activation>
|
|
<properties>
|
|
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javac</groupId>
|
|
<artifactId>javac</artifactId>
|
|
<version>1.0</version>
|
|
<scope>system</scope>
|
|
<systemPath>${toolsjar}</systemPath>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>legacy-apple-jdk-profile</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
<file>
|
|
<exists>${java.home}/../Classes/classes.jar</exists>
|
|
</file>
|
|
<jdk>(, 9)</jdk>
|
|
</activation>
|
|
|
|
<properties>
|
|
<toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javac</groupId>
|
|
<artifactId>javac</artifactId>
|
|
<version>1.0</version>
|
|
<scope>system</scope>
|
|
<systemPath>${toolsjar}</systemPath>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>add-export-greater-than-9</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
<jdk>[9, )</jdk>
|
|
</activation>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
<proc>none</proc>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|