| <?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="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>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>21</version> |
| </parent> |
| <groupId>org.apache.shardingsphere.elasticjob</groupId> |
| <artifactId>elasticjob</artifactId> |
| <version>3.1.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>Elastic Job</name> |
| <description>Distributed scheduled job</description> |
| |
| <modules> |
| <module>api</module> |
| <module>registry-center</module> |
| <module>bootstrap</module> |
| <module>kernel</module> |
| <module>lifecycle</module> |
| <module>restful</module> |
| |
| <module>ecosystem</module> |
| <module>spring</module> |
| |
| <module>test</module> |
| |
| <module>distribution</module> |
| </modules> |
| |
| <properties> |
| <!-- Environments --> |
| <java.version>1.8</java.version> |
| <maven.version.range>[3.5.0,)</maven.version.range> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.deploy.skip>false</maven.deploy.skip> |
| |
| <!-- 3rd party library versions --> |
| <shardingsphere.version>5.4.1</shardingsphere.version> |
| |
| <guava.version>32.1.2-jre</guava.version> |
| <checker-qual.version>3.39.0</checker-qual.version> |
| <error_prone_annotations.version>2.22.0</error_prone_annotations.version> |
| <j2objc-annotations.version>1.3</j2objc-annotations.version> |
| |
| <commons-lang3.version>3.12.0</commons-lang3.version> |
| <snakeyaml.version>2.2</snakeyaml.version> |
| <gson.version>2.10.1</gson.version> |
| |
| <quartz.version>2.3.2</quartz.version> |
| |
| <zookeeper.version>3.9.2</zookeeper.version> |
| <curator.version>5.5.0</curator.version> |
| |
| <mail.version>1.6.0</mail.version> |
| <commons-codec.version>1.16.0</commons-codec.version> |
| <commons-exec.version>1.3</commons-exec.version> |
| <httpclient.version>4.5.14</httpclient.version> |
| <httpcore.version>4.4.16</httpcore.version> |
| |
| <netty.version>4.1.99.Final</netty.version> |
| |
| <slf4j.version>1.7.36</slf4j.version> |
| <logback.version>1.2.13</logback.version> |
| |
| <lombok.version>1.18.30</lombok.version> |
| |
| <junit.version>5.10.0</junit.version> |
| <hamcrest.version>2.2</hamcrest.version> |
| <mockito.version>4.11.0</mockito.version> |
| <awaitility.version>4.2.0</awaitility.version> |
| <bytebuddy.version>1.14.8</bytebuddy.version> |
| |
| <h2.version>2.2.224</h2.version> |
| <hikari-cp.version>4.0.3</hikari-cp.version> |
| |
| <!-- Compile plugin versions --> |
| <maven-enforcer-plugin.version>3.2.1</maven-enforcer-plugin.version> |
| <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> |
| <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> |
| <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version> |
| <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version> |
| |
| <!-- Release plugin versions --> |
| <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
| <maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version> |
| <maven-release-plugin.version>3.0.0</maven-release-plugin.version> |
| <maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version> |
| |
| <!-- Check plugin versions --> |
| <apache-rat-plugin.version>0.15</apache-rat-plugin.version> |
| <spotless-maven-plugin.version>2.22.1</spotless-maven-plugin.version> |
| <maven-checkstyle-plugin.version>3.2.1</maven-checkstyle-plugin.version> |
| <findbugs-maven-plugin.version>3.0.2</findbugs-maven-plugin.version> |
| <maven-pmd-plugin.version>3.20.0</maven-pmd-plugin.version> |
| <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version> |
| <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version> |
| <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version> |
| |
| <!-- Report plugin versions --> |
| <maven-site-plugin.version>4.0.0-M6</maven-site-plugin.version> |
| <maven-project-info-reports-plugin.version>3.4.2</maven-project-info-reports-plugin.version> |
| <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> |
| <maven-jxr-plugin.version>3.3.0</maven-jxr-plugin.version> |
| <jdepend-maven-plugin.version>2.0</jdepend-maven-plugin.version> |
| <taglist-maven-plugin.version>2.4</taglist-maven-plugin.version> |
| <maven-surefire-report-plugin.version>2.18.1</maven-surefire-report-plugin.version> |
| <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version> |
| <maven-plugin-plugin.version>3.4</maven-plugin-plugin.version> |
| <checksum-maven-plugin.version>1.10</checksum-maven-plugin.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-infra-spi</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>listenablefuture</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.checkerframework</groupId> |
| <artifactId>checker-qual</artifactId> |
| <version>${checker-qual.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.errorprone</groupId> |
| <artifactId>error_prone_annotations</artifactId> |
| <version>${error_prone_annotations.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.j2objc</groupId> |
| <artifactId>j2objc-annotations</artifactId> |
| <version>${j2objc-annotations.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons-lang3.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.yaml</groupId> |
| <artifactId>snakeyaml</artifactId> |
| <version>${snakeyaml.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>${quartz.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.mchange</groupId> |
| <artifactId>c3p0</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>${zookeeper.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-framework</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-client</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-recipes</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-test</artifactId> |
| <version>${curator.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.mail</groupId> |
| <artifactId>javax.mail</artifactId> |
| <version>${mail.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>${commons-codec.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-exec</artifactId> |
| <version>${commons-exec.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore</artifactId> |
| <version>${httpcore.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-bom</artifactId> |
| <version>${netty.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>${slf4j.version}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit</groupId> |
| <artifactId>junit-bom</artifactId> |
| <version>${junit.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <version>${hamcrest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-bom</artifactId> |
| <version>${mockito.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>net.bytebuddy</groupId> |
| <artifactId>byte-buddy</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.bytebuddy</groupId> |
| <artifactId>byte-buddy-agent</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>net.bytebuddy</groupId> |
| <artifactId>byte-buddy</artifactId> |
| <version>${bytebuddy.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.bytebuddy</groupId> |
| <artifactId>byte-buddy-agent</artifactId> |
| <version>${bytebuddy.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <version>${awaitility.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <version>${h2.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.zaxxer</groupId> |
| <artifactId>HikariCP</artifactId> |
| <version>${hikari-cp.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-inline</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>apache-shardingsphere-elasticjob-${project.version}</finalName> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin.version}</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <testSource>${java.version}</testSource> |
| <testTarget>${java.version}</testTarget> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven-resources-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${maven-jar-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>${maven-surefire-report-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>${maven-site-plugin.version}</version> |
| <configuration> |
| <locales>${project.build.locale}</locales> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>${lifecycle-mapping.version}</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <versionRange>[1.0.0,)</versionRange> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <versionRange>[1.0.0,)</versionRange> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>${maven-plugin-plugin.version}</version> |
| <configuration> |
| <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-descriptor</id> |
| <phase>process-classes</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven-javadoc-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven-source-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>${maven-deploy-plugin.version}</version> |
| <configuration> |
| <skip>${maven.deploy.skip}</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>net.nicoulaj.maven.plugins</groupId> |
| <artifactId>checksum-maven-plugin</artifactId> |
| <version>${checksum-maven-plugin.version}</version> |
| <configuration> |
| <appendFilename>true</appendFilename> |
| <algorithms> |
| <algorithm>SHA-512</algorithm> |
| </algorithms> |
| <fileSets> |
| <fileSet> |
| <includes> |
| <include>*.tar.gz</include> |
| <include>*.zip</include> |
| </includes> |
| </fileSet> |
| </fileSets> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>artifacts</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <aggregate>true</aggregate> |
| <source>${java.version}</source> |
| <charset>${project.build.sourceEncoding}</charset> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <docencoding>${project.build.sourceEncoding}</docencoding> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>${maven-enforcer-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>enforce-banned-dependencies</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireMavenVersion> |
| <version>${maven.version.range}</version> |
| </requireMavenVersion> |
| <requireJavaVersion> |
| <version>${java.version}</version> |
| </requireJavaVersion> |
| </rules> |
| <fail>true</fail> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <version>${coveralls-maven-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>${cobertura-maven-plugin.version}</version> |
| <configuration> |
| <check> |
| <branchRate>80</branchRate> |
| <lineRate>80</lineRate> |
| <haltOnFailure>true</haltOnFailure> |
| <totalBranchRate>80</totalBranchRate> |
| <totalLineRate>80</totalLineRate> |
| <packageLineRate>80</packageLineRate> |
| <packageBranchRate>80</packageBranchRate> |
| </check> |
| <aggregate>true</aggregate> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <quiet>true</quiet> |
| <format>xml</format> |
| <instrumentation> |
| <ignoreTrivial>true</ignoreTrivial> |
| <ignoreMethodAnnotations> |
| <ignoreMethodAnnotation>lombok.Generated</ignoreMethodAnnotation> |
| </ignoreMethodAnnotations> |
| <excludes> |
| <exclude>org/apache/**/*Test.class</exclude> |
| <exclude>org/apache/shardingsphere/elasticjob/cloud/api/JobBootstrap.class</exclude> |
| </excludes> |
| </instrumentation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>report</id> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <phase>test</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${maven-project-info-reports-plugin.version}</version> |
| <configuration> |
| <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>${maven-jxr-plugin.version}</version> |
| <reportSets> |
| <reportSet> |
| <id>aggregate</id> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| <inherited>false</inherited> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs-maven-plugin.version}</version> |
| <configuration> |
| <xmlOutput>true</xmlOutput> |
| <effort>Max</effort> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| <configuration> |
| <configLocation>src/resources/checkstyle.xml</configLocation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>${maven-pmd-plugin.version}</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding> |
| <targetJdk>${java.version}</targetJdk> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jdepend-maven-plugin</artifactId> |
| <version>${jdepend-maven-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>taglist-maven-plugin</artifactId> |
| <version>${taglist-maven-plugin.version}</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <url>http://shardingsphere.apache.org/elasticjob/</url> |
| |
| <licenses> |
| <license> |
| <name>Apache License 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>ShardingSphere Developer List</name> |
| <subscribe>dev-subscribe@shardingsphere.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@shardingsphere.apache.org</unsubscribe> |
| <post>dev@shardingsphere.apache.org</post> |
| </mailingList> |
| </mailingLists> |
| |
| <scm> |
| <connection>scm:git:https://github.com/apache/shardingsphere-elasticjob.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/shardingsphere-elasticjob.git</developerConnection> |
| <url>https://github.com/apache/shardingsphere-elasticjob.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <profiles> |
| <profile> |
| <id>jdk11+</id> |
| <activation> |
| <jdk>[11,)</jdk> |
| </activation> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>@{argLine} --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </profile> |
| <profile> |
| <id>check</id> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${apache-rat-plugin.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>**/target/**</exclude> |
| <exclude>**/logs/**</exclude> |
| <exclude>**/*.log</exclude> |
| <!-- IDE files --> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/.idea/**</exclude> |
| <exclude>**/*.classpath</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <!-- git files --> |
| <exclude>**/.gitignore</exclude> |
| <exclude>**/.gitmodules</exclude> |
| <exclude>**/.git/**</exclude> |
| <!-- CI files --> |
| <exclude>**/.travis.yml</exclude> |
| <exclude>**/.mvn/jvm.config</exclude> |
| <exclude>**/.mvn/wrapper/maven-wrapper.properties</exclude> |
| <!-- GitHub files --> |
| <exclude>**/.github/**</exclude> |
| <!-- document files --> |
| <exclude>**/*.md</exclude> |
| <excldue>**/*.MD</excldue> |
| <exclude>**/*.txt</exclude> |
| <exclude>**/docs/**</exclude> |
| <!-- UI files --> |
| <exclude>**/.babelrc</exclude> |
| <exclude>**/.editorconfig</exclude> |
| <exclude>**/.eslintignore</exclude> |
| <exclude>**/package.json</exclude> |
| <exclude>**/assets/**</exclude> |
| <exclude>**/dist/**</exclude> |
| <exclude>**/etc/**</exclude> |
| <exclude>**/node/**</exclude> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>**/test/coverage/**</exclude> |
| <exclude>**/package-lock.json</exclude> |
| <!-- example files --> |
| <exclude>/examples/**</exclude> |
| <!-- to be determined --> |
| <exclude>**/AdminLTE/**</exclude> |
| <exclude>**/bootstrap/**</exclude> |
| <exclude>**/bootstrap-table/**</exclude> |
| <exclude>**/daterangepicker/**</exclude> |
| <exclude>**/font-awesome-4.5.0/**</exclude> |
| <exclude>**/input-mask/**</exclude> |
| <exclude>**/finput-mask/**</exclude> |
| <exclude>**/jquery/**</exclude> |
| <exclude>**/jQuery/**</exclude> |
| <exclude>**/highcharts/**</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| <configuration> |
| <configLocation>src/resources/checkstyle.xml</configLocation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <version>${spotless-maven-plugin.version}</version> |
| <configuration> |
| <java> |
| <eclipse> |
| <!--suppress MavenModelInspection --> |
| <file>${maven.multiModuleProjectDirectory}/src/resources/spotless/java.xml</file> |
| </eclipse> |
| <licenseHeader> |
| <!--suppress MavenModelInspection --> |
| <file>${maven.multiModuleProjectDirectory}/src/resources/spotless/copyright.txt</file> |
| </licenseHeader> |
| </java> |
| <pom> |
| <sortPom> |
| <encoding>UTF-8</encoding> |
| <nrOfIndentSpace>4</nrOfIndentSpace> |
| <keepBlankLines>true</keepBlankLines> |
| <indentBlankLines>true</indentBlankLines> |
| <indentSchemaLocation>false</indentSchemaLocation> |
| <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement> |
| <sortModules>false</sortModules> |
| <sortExecutions>false</sortExecutions> |
| <predefinedSortOrder>custom_1</predefinedSortOrder> |
| <expandEmptyElements>false</expandEmptyElements> |
| <sortProperties>false</sortProperties> |
| </sortPom> |
| <replace> |
| <name>Leading blank line</name> |
| <search>--> |
| <project</search> |
| <replacement>--> |
| |
| <project</replacement> |
| </replace> |
| </pom> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>validate</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>apply</goal> |
| </goals> |
| <phase>compile</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |