diff options
| author | doufenghu <[email protected]> | 2024-01-12 19:23:24 +0800 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2024-01-12 19:23:24 +0800 |
| commit | 3815dea5918202f89f93dd085c2ca1eff6b34a7a (patch) | |
| tree | b65e3f83991a80a04b7500c486b73844e4fed775 | |
| parent | b20e515090f0795f984bc905287e2017baa7b135 (diff) | |
Release 1.0.0-rc1v1.0.0-rc1
| -rw-r--r-- | pom.xml | 1700 |
1 files changed, 850 insertions, 850 deletions
@@ -1,850 +1,850 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<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>
-
- <groupId>com.geedgenetworks</groupId>
- <artifactId>groot-stream</artifactId>
- <version>${revision}</version>
- <packaging>pom</packaging>
-
- <name>GrootStream :</name>
-
- <modules>
- <module>groot-common</module>
- <module>groot-core</module>
- <module>groot-connectors</module>
- <module>groot-bootstrap</module>
- <module>groot-release</module>
- <module>groot-shaded</module>
- <module>groot-example</module>
- <module>groot-formats</module>
- <module>groot-tests</module>
- </modules>
-
- <properties>
- <revision>1.0</revision>
- <java.version>8</java.version>
- <flink.scope>provided</flink.scope>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>${java.version}</maven.compiler.source>
- <maven.compiler.target>${java.version}</maven.compiler.target>
- <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
- <maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
- <maven-helper-plugin.version>3.2.0</maven-helper-plugin.version>
- <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
- <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
- <spotless.version>2.29.0</spotless.version>
- <skip.spotless>true</skip.spotless>
- <grootstream.shaded.package>com.geedgenetworks.shaded</grootstream.shaded.package>
- <slf4j.version>1.7.25</slf4j.version>
- <log4j2.version>2.17.1</log4j2.version>
- <log4j2-disruptor.version>3.4.4</log4j2-disruptor.version>
- <log4j.version>1.2.17</log4j.version>
- <logback.version>1.2.3</logback.version>
- <commons-logging.version>1.2</commons-logging.version>
- <junit.version>5.9.0</junit.version>
- <flink.version>1.13.1</flink.version>
- <flink-shaded-hadoop-2.version>2.7.5-8.0</flink-shaded-hadoop-2.version>
- <hbase.version>2.2.3</hbase.version>
- <scala.version>2.12</scala.version>
- <opencsv.version>3.3</opencsv.version>
- <jsonpath.version>2.4.0</jsonpath.version>
- <fastjson2.version>2.0.32</fastjson2.version>
- <hutool.version>5.8.22</hutool.version>
- <galaxy.version>1.2</galaxy.version>
- <guava-retrying.version>2.0.0</guava-retrying.version>
- <ipaddress.version>5.3.3</ipaddress.version>
- <aviator.version>5.2.6</aviator.version>
- <httpclient.version>4.5.13</httpclient.version>
- <snakeyaml.version>1.29</snakeyaml.version>
- <nacos.version>1.2.0</nacos.version>
- <antlr4.version>4.8</antlr4.version>
- <jcommander.version>1.81</jcommander.version>
- <lombok.version>1.18.24</lombok.version>
- <config.version>1.3.3</config.version>
- <hazelcast.version>5.1</hazelcast.version>
- <quartz.version>2.3.2</quartz.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <!-- Declare slf4j-api provider: log4j2.x -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j-impl</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-api</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <!-- Declare log4j2 asynchronous loggers provider: disruptor -->
- <dependency>
- <groupId>com.lmax</groupId>
- <artifactId>disruptor</artifactId>
- <version>${log4j2-disruptor.version}</version>
- </dependency>
-
- <!-- Commons Logging to SLF4J -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
-
- <!-- log4j1.x bridge to log4j2.x -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-1.2-api</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
-
-
- <!-- Exclude the logging bridges via provided scope -->
- <!-- log4j1.x bridge to slf4j
- Use of the SLF4J adapter (log4j-over-slf4j) together with the SLF4J bridge (slf4j-log4j12) should never be attempted as it will cause events to endlessly be routed between SLF4J and Log4j 1
- -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- slf4j binding to log4j1.x -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${slf4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- log4j2.x binding to slf4j.
- Use of the SLF4J adapter (log4j-to-slf4j-2.x.jar) together with the SLF4J bridge (log4j-slf4j-impl-2.x.jar) should never be attempted as it will cause events to endlessly be routed between SLF4J and Log4j 2
- -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-to-slf4j</artifactId>
- <version>${log4j2.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- slf4j binding to jdk-logging -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- <version>${slf4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- slf4j binding to commons-logging -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jcl</artifactId>
- <version>${slf4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- slf4j binding to nop -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-nop</artifactId>
- <version>${slf4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- slf4j binding to simple -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${slf4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- slf4j binding to reload4j -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-reload4j</artifactId>
- <version>${slf4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <!-- Exclude other logging provider via provided scope -->
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>${commons-logging.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>${logback.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-jexl3</artifactId>
- <version>3.2.1</version>
- </dependency>
-
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>com.beust</groupId>
- <artifactId>jcommander</artifactId>
- <version>${jcommander.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.jayway.jsonpath</groupId>
- <artifactId>json-path</artifactId>
- <version>${jsonpath.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson2.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba.nacos</groupId>
- <artifactId>nacos-client</artifactId>
- <version>${nacos.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.typesafe</groupId>
- <artifactId>config</artifactId>
- <version>${config.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.junit</groupId>
- <artifactId>junit-bom</artifactId>
- <version>${junit.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4</artifactId>
- <version>${antlr4.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.hazelcast</groupId>
- <artifactId>hazelcast</artifactId>
- <version>${hazelcast.version}</version>
- </dependency>
-
-
- <!-- flink dependencies -->
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-clients_${scala.version}</artifactId>
- <version>${flink.version}</version>
- <scope>${flink.scope}</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-planner-blink_${scala.version}</artifactId>
- <version>${flink.version}</version>
- <scope>${flink.scope}</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-runtime-web_${scala.version}</artifactId>
- <version>${flink.version}</version>
- <scope>${flink.scope}</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-table-api-java-bridge_${scala.version}</artifactId>
- <version>${flink.version}</version>
- <scope>${flink.scope}</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-runtime_${scala.version}</artifactId>
- <version>${flink.version}</version>
- <scope>${flink.scope}</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-streaming-java_${scala.version}</artifactId>
- <version>${flink.version}</version>
- <scope>${flink.scope}</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-test-utils_${scala.version}</artifactId>
- <version>${flink.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>com.geedgenetworks</groupId>
- <artifactId>galaxy</artifactId>
- <version>${galaxy.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>com.opencsv</groupId>
- <artifactId>opencsv</artifactId>
- <version>${opencsv.version}</version>
- </dependency>
-
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>${hutool.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.github.seancfoley</groupId>
- <artifactId>ipaddress</artifactId>
- <version>${ipaddress.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.github.rholder</groupId>
- <artifactId>guava-retrying</artifactId>
- <version>${guava-retrying.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- <version>${snakeyaml.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.googlecode.aviator</groupId>
- <artifactId>aviator</artifactId>
- <version>${aviator.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.hbase</groupId>
- <artifactId>hbase-client</artifactId>
- <version>${hbase.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
- </exclusion>
-
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.quartz-scheduler</groupId>
- <artifactId>quartz</artifactId>
- <version>${quartz.version}</version>
- </dependency>
-
-
-
- </dependencies>
-
- </dependencyManagement>
-
- <!--IDEA Environment jars -->
- <dependencies>
-
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- ***************** slf4j & provider & bridges start ***************** -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j-impl</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-1.2-api</artifactId>
- </dependency>
- <!-- ***************** slf4j & provider & bridges end ***************** -->
-
-
- </dependencies>
-
- <build>
- <finalName>${project.artifactId}-${project.version}</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>
- <forceJavacCompilerUse>true</forceJavacCompilerUse>
- </configuration>
- </plugin>
-
- <!-- shade -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.1.1</version>
- <configuration>
- <shadedArtifactAttached>false</shadedArtifactAttached>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
- <artifactSet>
- <excludes>
- <exclude>com.google.code.findbugs:jsr305</exclude>
- <exclude>org.slf4j:slf4j-api</exclude>
- <exclude>org.slf4j:slf4j-jdk14</exclude>
- <exclude>org.slf4j:slf4j-jcl</exclude>
- <exclude>org.slf4j:slf4j-nop</exclude>
- <exclude>org.slf4j:slf4j-simple</exclude>
- <exclude>org.slf4j:slf4j-reload4j</exclude>
- <exclude>org.slf4j:slf4j-log4j12</exclude>
- <exclude>org.slf4j:log4j-over-slf4j</exclude>
- <exclude>org.slf4j:jcl-over-slf4j</exclude>
- <exclude>log4j:*</exclude>
- <exclude>commons-logging:*</exclude>
- <exclude>ch.qos.logback:*</exclude>
- <exclude>org.apache.logging.log4j:log4j-api</exclude>
- <exclude>org.apache.logging.log4j:log4j-core</exclude>
- <exclude>org.apache.logging.log4j:log4j-slf4j-impl</exclude>
- <exclude>org.apache.logging.log4j:log4j-1.2-api</exclude>
- <exclude>org.apache.logging.log4j:log4j-to-slf4j</exclude>
- </excludes>
- </artifactSet>
- <filters>
- <filter>
- <!-- Do not copy the signatures in the META-INF folder.
- Otherwise, this might cause SecurityExceptions when using the JAR. -->
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>shade</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <transformers>
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
- <!-- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>com.geedgenetworks.bootstrap.main.GrootStreamServer</mainClass>
- </transformer>-->
- </transformers>
- </configuration>
-
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>${maven-assembly-plugin.version}</version>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>${maven-helper-plugin.version}</version>
- </plugin>
-
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>flatten-maven-plugin</artifactId>
- <version>${flatten-maven-plugin.version}</version>
- <configuration>
- <updatePomFile>true</updatePomFile>
- <flattenMode>resolveCiFriendliesOnly</flattenMode>
- </configuration>
- <executions>
- <execution>
- <id>flatten</id>
- <goals>
- <goal>flatten</goal>
- </goals>
- <phase>process-resources</phase>
- </execution>
- <execution>
- <id>flatten.clean</id>
- <goals>
- <goal>clean</goal>
- </goals>
- <phase>clean</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>${maven-dependency-plugin.version}</version>
- </plugin>
-
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- <version>${spotless.version}</version>
- <configuration>
- <skip>${skip.spotless}</skip>
- <java>
- <excludes>
- <exclude>src/main/antlr4/*.*</exclude>
- </excludes>
- <googleJavaFormat>
- <version>1.7</version>
- <style>AOSP</style>
- </googleJavaFormat>
- <removeUnusedImports/>
- <formatAnnotations/>
- <importOrder>
- <order>com.geedgenetworks,org.apache,org,,javax,java,\#</order>
- </importOrder>
- <replaceRegex>
- <name>Remove wildcard imports</name>
- <searchRegex>import\s+(static)*\s*[^\*\s]+\*;(\r\n|\r|\n)</searchRegex>
- <replacement>$1</replacement>
- </replaceRegex>
- <replaceRegex>
- <name>Block powermock</name>
- <searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
- <replacement>$1</replacement>
- </replaceRegex>
- <replaceRegex>
- <name>Block jUnit4 imports</name>
- <searchRegex>import\s+org\.junit\.[^jupiter][^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
- <replacement>$1</replacement>
- </replaceRegex>
- </java>
- <pom>
- <sortPom>
- <encoding>UTF-8</encoding>
- <nrOfIndentSpace>4</nrOfIndentSpace>
- <keepBlankLines>true</keepBlankLines>
- <indentBlankLines>false</indentBlankLines>
- <indentSchemaLocation>true</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>
- <markdown>
- <includes>
- <include>docs/**/*.md</include>
- </includes>
- <excludes>
- <exclude>**/.github/**/*.md</exclude>
- <exclude>**/*.json</exclude>
- </excludes>
- <flexmark/>
- </markdown>
- <upToDateChecking>
- <enabled>true</enabled>
- </upToDateChecking>
- </configuration>
- <executions>
- <execution>
- <id>spotless-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>validate</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.commonjava.maven.plugins</groupId>
- <artifactId>directory-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>directories</id>
- <goals>
- <goal>directory-of</goal>
- </goals>
- <phase>initialize</phase>
- <configuration>
- <property>rootDir</property>
- <project>
- <groupId>com.geedgenetworks</groupId>
- <artifactId>groot-stream</artifactId>
- </project>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <executions>
- <execution>
- <id>java-style-check</id>
- <phase>compile</phase>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <sourceDirectories>src/main/java</sourceDirectories>
- </configuration>
- </execution>
- <execution>
- <id>java-test-style-check</id>
- <phase>test-compile</phase>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <testSourceDirectories>src/test/java</testSourceDirectories>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>findbugs-main</id>
- <phase>compile</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- <execution>
- <id>findbugs-test</id>
- <phase>test-compile</phase>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <includeTests>true</includeTests>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.8.7</version>
- <executions>
- <execution>
- <id>default-agent</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <phase>initialize</phase>
- </execution>
- <execution>
- <id>default-report</id>
- <phase>verify</phase>
- <goals>
- <goal>report</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.1.2</version>
- </plugin>
- <plugin>
- <groupId>org.commonjava.maven.plugins</groupId>
- <artifactId>directory-maven-plugin</artifactId>
- <version>1.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>3.1.2</version>
- <configuration>
- <skip>true</skip>
- <configLocation>${rootDir}/develop/checkstyle.xml</configLocation>
- <suppressionsLocation>${rootDir}/develop/suppressions.xml</suppressionsLocation>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <logViolationsToConsole>true</logViolationsToConsole>
- <failOnViolation>true</failOnViolation>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>8.40</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <version>4.4.2.2</version>
- <configuration>
- <skip>true</skip>
- <threshold>Low</threshold>
- <effort>default</effort>
- <failOnError>true</failOnError>
- <xmlOutput>true</xmlOutput>
- <excludeFilterFile>${rootDir}/develop/spotbugs-exclude.xml</excludeFilterFile>
- <spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M3</version>
- <executions>
- <execution>
- <id>release-version-check</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseVersion>
- <message>SNAPSHOT versions ${project.version} are not allowed.</message>
- </requireReleaseVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>snapshot-version-check</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireSnapshotVersion>
- <message>Non-SNAPSHOT versions ${project.version} are not allowed.</message>
- </requireSnapshotVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>3.9.0.2155</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <repositories>
- <repository>
- <id>nexus</id>
- <name>Team Nexus Repository</name>
- <url>http://192.168.40.153:8099/content/groups/public</url>
- </repository>
- <repository>
- <id>cloudera</id>
- <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
- </repository>
- </repositories>
-
- <distributionManagement>
- <repository>
- <id>platform-releases</id>
- <url>http://192.168.40.153:8099/content/repositories/platform-release</url>
- <uniqueVersion>true</uniqueVersion>
- </repository>
- <snapshotRepository>
- <id>platform-snapshots</id>
- <url>http://192.168.40.153:8099/content/repositories/platform-snapshot</url>
- </snapshotRepository>
- </distributionManagement>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?> +<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> + + <groupId>com.geedgenetworks</groupId> + <artifactId>groot-stream</artifactId> + <version>${revision}</version> + <packaging>pom</packaging> + + <name>GrootStream :</name> + + <modules> + <module>groot-common</module> + <module>groot-core</module> + <module>groot-connectors</module> + <module>groot-bootstrap</module> + <module>groot-release</module> + <module>groot-shaded</module> + <module>groot-example</module> + <module>groot-formats</module> + <module>groot-tests</module> + </modules> + + <properties> + <revision>1.0.0_rc1</revision> + <java.version>8</java.version> + <flink.scope>provided</flink.scope> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.compiler.source>${java.version}</maven.compiler.source> + <maven.compiler.target>${java.version}</maven.compiler.target> + <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version> + <maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version> + <maven-helper-plugin.version>3.2.0</maven-helper-plugin.version> + <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version> + <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version> + <spotless.version>2.29.0</spotless.version> + <skip.spotless>true</skip.spotless> + <grootstream.shaded.package>com.geedgenetworks.shaded</grootstream.shaded.package> + <slf4j.version>1.7.25</slf4j.version> + <log4j2.version>2.17.1</log4j2.version> + <log4j2-disruptor.version>3.4.4</log4j2-disruptor.version> + <log4j.version>1.2.17</log4j.version> + <logback.version>1.2.3</logback.version> + <commons-logging.version>1.2</commons-logging.version> + <junit.version>5.9.0</junit.version> + <flink.version>1.13.1</flink.version> + <flink-shaded-hadoop-2.version>2.7.5-8.0</flink-shaded-hadoop-2.version> + <hbase.version>2.2.3</hbase.version> + <scala.version>2.12</scala.version> + <opencsv.version>3.3</opencsv.version> + <jsonpath.version>2.4.0</jsonpath.version> + <fastjson2.version>2.0.32</fastjson2.version> + <hutool.version>5.8.22</hutool.version> + <galaxy.version>1.2</galaxy.version> + <guava-retrying.version>2.0.0</guava-retrying.version> + <ipaddress.version>5.3.3</ipaddress.version> + <aviator.version>5.2.6</aviator.version> + <httpclient.version>4.5.13</httpclient.version> + <snakeyaml.version>1.29</snakeyaml.version> + <nacos.version>1.2.0</nacos.version> + <antlr4.version>4.8</antlr4.version> + <jcommander.version>1.81</jcommander.version> + <lombok.version>1.18.24</lombok.version> + <config.version>1.3.3</config.version> + <hazelcast.version>5.1</hazelcast.version> + <quartz.version>2.3.2</quartz.version> + </properties> + + <dependencyManagement> + <dependencies> + + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${slf4j.version}</version> + </dependency> + <!-- Declare slf4j-api provider: log4j2.x --> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-slf4j-impl</artifactId> + <version>${log4j2.version}</version> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + <version>${log4j2.version}</version> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>${log4j2.version}</version> + </dependency> + <!-- Declare log4j2 asynchronous loggers provider: disruptor --> + <dependency> + <groupId>com.lmax</groupId> + <artifactId>disruptor</artifactId> + <version>${log4j2-disruptor.version}</version> + </dependency> + + <!-- Commons Logging to SLF4J --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + <version>${slf4j.version}</version> + </dependency> + + <!-- log4j1.x bridge to log4j2.x --> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-1.2-api</artifactId> + <version>${log4j2.version}</version> + </dependency> + + + <!-- Exclude the logging bridges via provided scope --> + <!-- log4j1.x bridge to slf4j + Use of the SLF4J adapter (log4j-over-slf4j) together with the SLF4J bridge (slf4j-log4j12) should never be attempted as it will cause events to endlessly be routed between SLF4J and Log4j 1 + --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>log4j-over-slf4j</artifactId> + <version>${slf4j.version}</version> + <scope>provided</scope> + </dependency> + <!-- slf4j binding to log4j1.x --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>${slf4j.version}</version> + <scope>provided</scope> + </dependency> + <!-- log4j2.x binding to slf4j. + Use of the SLF4J adapter (log4j-to-slf4j-2.x.jar) together with the SLF4J bridge (log4j-slf4j-impl-2.x.jar) should never be attempted as it will cause events to endlessly be routed between SLF4J and Log4j 2 + --> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-to-slf4j</artifactId> + <version>${log4j2.version}</version> + <scope>provided</scope> + </dependency> + <!-- slf4j binding to jdk-logging --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-jdk14</artifactId> + <version>${slf4j.version}</version> + <scope>provided</scope> + </dependency> + <!-- slf4j binding to commons-logging --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-jcl</artifactId> + <version>${slf4j.version}</version> + <scope>provided</scope> + </dependency> + <!-- slf4j binding to nop --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-nop</artifactId> + <version>${slf4j.version}</version> + <scope>provided</scope> + </dependency> + <!-- slf4j binding to simple --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-simple</artifactId> + <version>${slf4j.version}</version> + <scope>provided</scope> + </dependency> + <!-- slf4j binding to reload4j --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-reload4j</artifactId> + <version>${slf4j.version}</version> + <scope>provided</scope> + </dependency> + <!-- Exclude other logging provider via provided scope --> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>${log4j.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>${logback.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + <version>${logback.version}</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-jexl3</artifactId> + <version>3.2.1</version> + </dependency> + + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>${lombok.version}</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>com.beust</groupId> + <artifactId>jcommander</artifactId> + <version>${jcommander.version}</version> + </dependency> + + <dependency> + <groupId>com.jayway.jsonpath</groupId> + <artifactId>json-path</artifactId> + <version>${jsonpath.version}</version> + </dependency> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>fastjson</artifactId> + <version>${fastjson2.version}</version> + </dependency> + <dependency> + <groupId>com.alibaba.nacos</groupId> + <artifactId>nacos-client</artifactId> + <version>${nacos.version}</version> + </dependency> + + <dependency> + <groupId>com.typesafe</groupId> + <artifactId>config</artifactId> + <version>${config.version}</version> + </dependency> + + <dependency> + <groupId>org.junit</groupId> + <artifactId>junit-bom</artifactId> + <version>${junit.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr4</artifactId> + <version>${antlr4.version}</version> + </dependency> + + <dependency> + <groupId>com.hazelcast</groupId> + <artifactId>hazelcast</artifactId> + <version>${hazelcast.version}</version> + </dependency> + + + <!-- flink dependencies --> + <dependency> + <groupId>org.apache.flink</groupId> + <artifactId>flink-clients_${scala.version}</artifactId> + <version>${flink.version}</version> + <scope>${flink.scope}</scope> + </dependency> + + <dependency> + <groupId>org.apache.flink</groupId> + <artifactId>flink-table-planner-blink_${scala.version}</artifactId> + <version>${flink.version}</version> + <scope>${flink.scope}</scope> + </dependency> + + <dependency> + <groupId>org.apache.flink</groupId> + <artifactId>flink-runtime-web_${scala.version}</artifactId> + <version>${flink.version}</version> + <scope>${flink.scope}</scope> + </dependency> + + <dependency> + <groupId>org.apache.flink</groupId> + <artifactId>flink-table-api-java-bridge_${scala.version}</artifactId> + <version>${flink.version}</version> + <scope>${flink.scope}</scope> + </dependency> + + <dependency> + <groupId>org.apache.flink</groupId> + <artifactId>flink-runtime_${scala.version}</artifactId> + <version>${flink.version}</version> + <scope>${flink.scope}</scope> + </dependency> + + <dependency> + <groupId>org.apache.flink</groupId> + <artifactId>flink-streaming-java_${scala.version}</artifactId> + <version>${flink.version}</version> + <scope>${flink.scope}</scope> + </dependency> + + <dependency> + <groupId>org.apache.flink</groupId> + <artifactId>flink-test-utils_${scala.version}</artifactId> + <version>${flink.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>com.geedgenetworks</groupId> + <artifactId>galaxy</artifactId> + <version>${galaxy.version}</version> + <exclusions> + <exclusion> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>com.opencsv</groupId> + <artifactId>opencsv</artifactId> + <version>${opencsv.version}</version> + </dependency> + + <dependency> + <groupId>cn.hutool</groupId> + <artifactId>hutool-all</artifactId> + <version>${hutool.version}</version> + </dependency> + + <dependency> + <groupId>com.github.seancfoley</groupId> + <artifactId>ipaddress</artifactId> + <version>${ipaddress.version}</version> + </dependency> + + <dependency> + <groupId>com.github.rholder</groupId> + <artifactId>guava-retrying</artifactId> + <version>${guava-retrying.version}</version> + </dependency> + + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>${snakeyaml.version}</version> + </dependency> + + <dependency> + <groupId>com.googlecode.aviator</groupId> + <artifactId>aviator</artifactId> + <version>${aviator.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.hbase</groupId> + <artifactId>hbase-client</artifactId> + <version>${hbase.version}</version> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </exclusion> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>log4j-over-slf4j</artifactId> + </exclusion> + + </exclusions> + </dependency> + + <dependency> + <groupId>org.quartz-scheduler</groupId> + <artifactId>quartz</artifactId> + <version>${quartz.version}</version> + </dependency> + + + + </dependencies> + + </dependencyManagement> + + <!--IDEA Environment jars --> + <dependencies> + + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + </dependency> + + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-params</artifactId> + <scope>test</scope> + </dependency> + + <!-- ***************** slf4j & provider & bridges start ***************** --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-slf4j-impl</artifactId> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-1.2-api</artifactId> + </dependency> + <!-- ***************** slf4j & provider & bridges end ***************** --> + + + </dependencies> + + <build> + <finalName>${project.artifactId}-${project.version}</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> + <forceJavacCompilerUse>true</forceJavacCompilerUse> + </configuration> + </plugin> + + <!-- shade --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <shadedArtifactAttached>false</shadedArtifactAttached> + <createDependencyReducedPom>true</createDependencyReducedPom> + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> + <artifactSet> + <excludes> + <exclude>com.google.code.findbugs:jsr305</exclude> + <exclude>org.slf4j:slf4j-api</exclude> + <exclude>org.slf4j:slf4j-jdk14</exclude> + <exclude>org.slf4j:slf4j-jcl</exclude> + <exclude>org.slf4j:slf4j-nop</exclude> + <exclude>org.slf4j:slf4j-simple</exclude> + <exclude>org.slf4j:slf4j-reload4j</exclude> + <exclude>org.slf4j:slf4j-log4j12</exclude> + <exclude>org.slf4j:log4j-over-slf4j</exclude> + <exclude>org.slf4j:jcl-over-slf4j</exclude> + <exclude>log4j:*</exclude> + <exclude>commons-logging:*</exclude> + <exclude>ch.qos.logback:*</exclude> + <exclude>org.apache.logging.log4j:log4j-api</exclude> + <exclude>org.apache.logging.log4j:log4j-core</exclude> + <exclude>org.apache.logging.log4j:log4j-slf4j-impl</exclude> + <exclude>org.apache.logging.log4j:log4j-1.2-api</exclude> + <exclude>org.apache.logging.log4j:log4j-to-slf4j</exclude> + </excludes> + </artifactSet> + <filters> + <filter> + <!-- Do not copy the signatures in the META-INF folder. + Otherwise, this might cause SecurityExceptions when using the JAR. --> + <artifact>*:*</artifact> + <excludes> + <exclude>META-INF/*.SF</exclude> + <exclude>META-INF/*.DSA</exclude> + <exclude>META-INF/*.RSA</exclude> + </excludes> + </filter> + </filters> + </configuration> + <executions> + <execution> + <goals> + <goal>shade</goal> + </goals> + <phase>package</phase> + <configuration> + <transformers> + <transformer + implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> + <!-- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> + <mainClass>com.geedgenetworks.bootstrap.main.GrootStreamServer</mainClass> + </transformer>--> + </transformers> + </configuration> + + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>${maven-assembly-plugin.version}</version> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>${maven-helper-plugin.version}</version> + </plugin> + + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>${flatten-maven-plugin.version}</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>resolveCiFriendliesOnly</flattenMode> + </configuration> + <executions> + <execution> + <id>flatten</id> + <goals> + <goal>flatten</goal> + </goals> + <phase>process-resources</phase> + </execution> + <execution> + <id>flatten.clean</id> + <goals> + <goal>clean</goal> + </goals> + <phase>clean</phase> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>${maven-dependency-plugin.version}</version> + </plugin> + + <plugin> + <groupId>com.diffplug.spotless</groupId> + <artifactId>spotless-maven-plugin</artifactId> + <version>${spotless.version}</version> + <configuration> + <skip>${skip.spotless}</skip> + <java> + <excludes> + <exclude>src/main/antlr4/*.*</exclude> + </excludes> + <googleJavaFormat> + <version>1.7</version> + <style>AOSP</style> + </googleJavaFormat> + <removeUnusedImports/> + <formatAnnotations/> + <importOrder> + <order>com.geedgenetworks,org.apache,org,,javax,java,\#</order> + </importOrder> + <replaceRegex> + <name>Remove wildcard imports</name> + <searchRegex>import\s+(static)*\s*[^\*\s]+\*;(\r\n|\r|\n)</searchRegex> + <replacement>$1</replacement> + </replaceRegex> + <replaceRegex> + <name>Block powermock</name> + <searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex> + <replacement>$1</replacement> + </replaceRegex> + <replaceRegex> + <name>Block jUnit4 imports</name> + <searchRegex>import\s+org\.junit\.[^jupiter][^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex> + <replacement>$1</replacement> + </replaceRegex> + </java> + <pom> + <sortPom> + <encoding>UTF-8</encoding> + <nrOfIndentSpace>4</nrOfIndentSpace> + <keepBlankLines>true</keepBlankLines> + <indentBlankLines>false</indentBlankLines> + <indentSchemaLocation>true</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> + <markdown> + <includes> + <include>docs/**/*.md</include> + </includes> + <excludes> + <exclude>**/.github/**/*.md</exclude> + <exclude>**/*.json</exclude> + </excludes> + <flexmark/> + </markdown> + <upToDateChecking> + <enabled>true</enabled> + </upToDateChecking> + </configuration> + <executions> + <execution> + <id>spotless-check</id> + <goals> + <goal>check</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.commonjava.maven.plugins</groupId> + <artifactId>directory-maven-plugin</artifactId> + <executions> + <execution> + <id>directories</id> + <goals> + <goal>directory-of</goal> + </goals> + <phase>initialize</phase> + <configuration> + <property>rootDir</property> + <project> + <groupId>com.geedgenetworks</groupId> + <artifactId>groot-stream</artifactId> + </project> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>java-style-check</id> + <phase>compile</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <sourceDirectories>src/main/java</sourceDirectories> + </configuration> + </execution> + <execution> + <id>java-test-style-check</id> + <phase>test-compile</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <testSourceDirectories>src/test/java</testSourceDirectories> + <includeTestSourceDirectory>true</includeTestSourceDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-maven-plugin</artifactId> + <executions> + <execution> + <id>findbugs-main</id> + <phase>compile</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + <execution> + <id>findbugs-test</id> + <phase>test-compile</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <includeTests>true</includeTests> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.7</version> + <executions> + <execution> + <id>default-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + <phase>initialize</phase> + </execution> + <execution> + <id>default-report</id> + <phase>verify</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.1.2</version> + </plugin> + <plugin> + <groupId>org.commonjava.maven.plugins</groupId> + <artifactId>directory-maven-plugin</artifactId> + <version>1.0</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>3.1.2</version> + <configuration> + <skip>true</skip> + <configLocation>${rootDir}/develop/checkstyle.xml</configLocation> + <suppressionsLocation>${rootDir}/develop/suppressions.xml</suppressionsLocation> + <includeTestSourceDirectory>true</includeTestSourceDirectory> + <logViolationsToConsole>true</logViolationsToConsole> + <failOnViolation>true</failOnViolation> + </configuration> + <dependencies> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>8.40</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-maven-plugin</artifactId> + <version>4.4.2.2</version> + <configuration> + <skip>true</skip> + <threshold>Low</threshold> + <effort>default</effort> + <failOnError>true</failOnError> + <xmlOutput>true</xmlOutput> + <excludeFilterFile>${rootDir}/develop/spotbugs-exclude.xml</excludeFilterFile> + <spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>3.0.0-M3</version> + <executions> + <execution> + <id>release-version-check</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireReleaseVersion> + <message>SNAPSHOT versions ${project.version} are not allowed.</message> + </requireReleaseVersion> + </rules> + </configuration> + </execution> + <execution> + <id>snapshot-version-check</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireSnapshotVersion> + <message>Non-SNAPSHOT versions ${project.version} are not allowed.</message> + </requireSnapshotVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>3.9.0.2155</version> + </plugin> + </plugins> + </pluginManagement> + </build> + + <repositories> + <repository> + <id>nexus</id> + <name>Team Nexus Repository</name> + <url>http://192.168.40.153:8099/content/groups/public</url> + </repository> + <repository> + <id>cloudera</id> + <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url> + </repository> + </repositories> + + <distributionManagement> + <repository> + <id>platform-releases</id> + <url>http://192.168.40.153:8099/content/repositories/platform-release</url> + <uniqueVersion>true</uniqueVersion> + </repository> + <snapshotRepository> + <id>platform-snapshots</id> + <url>http://192.168.40.153:8099/content/repositories/platform-snapshot</url> + </snapshotRepository> + </distributionManagement> + +</project> |
