• flink 1.13.2的pom.xml文件模板


    flink 1.13.2的pom.xml文件模板

    
    
    <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.0modelVersion>
    
      <groupId>com.zbqgroupId>
      <artifactId>myflinkartifactId>
      <version>1.0-SNAPSHOTversion>
    
      <name>myflinkname>
    
    
      <properties>
        <flink.version>1.13.2flink.version>
        <java.version>1.8java.version>
        <scala.binary.version>2.12scala.binary.version>
        <slf4j.version>1.7.30slf4j.version>
      properties>
    
      <dependencies>
        
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-javaartifactId>
          <version>${flink.version}version>
        dependency>
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-streaming-java_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-clients_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
    
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-connector-kafka_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
        <dependency>
          <groupId>org.apache.bahirgroupId>
          <artifactId>flink-connector-redis_2.11artifactId>
          <version>1.0version>
        dependency>
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-connector-elasticsearch6_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-connector-jdbc_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
        <dependency>
          <groupId>mysqlgroupId>
          <artifactId>mysql-connector-javaartifactId>
          <version>5.1.47version>
        dependency>
    
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-statebackend-rocksdb_${scala.binary.version}artifactId>
          <version>1.13.0version>
        dependency>
    
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-table-api-java-bridge_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-table-planner-blink_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-streaming-scala_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
    
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-csvartifactId>
          <version>${flink.version}version>
        dependency>
    
        <dependency>
          <groupId>org.apache.flinkgroupId>
          <artifactId>flink-cep_${scala.binary.version}artifactId>
          <version>${flink.version}version>
        dependency>
    
        
        <dependency>
          <groupId>org.slf4jgroupId>
          <artifactId>slf4j-apiartifactId>
          <version>${slf4j.version}version>
        dependency>
        <dependency>
          <groupId>org.slf4jgroupId>
          <artifactId>slf4j-log4j12artifactId>
          <version>${slf4j.version}version>
        dependency>
        <dependency>
          <groupId>org.apache.logging.log4jgroupId>
          <artifactId>log4j-to-slf4jartifactId>
          <version>2.14.0version>
        dependency>
    
        <dependency>
          <groupId>org.apache.hadoopgroupId>
          <artifactId>hadoop-clientartifactId>
          <version>2.7.5version>
          <scope>providedscope>
        dependency>
    
      dependencies>
    
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.pluginsgroupId>
            <artifactId>maven-shade-pluginartifactId>
            <version>3.2.4version>
            <executions>
              <execution>
                <phase>packagephase>
                <goals>
                  <goal>shadegoal>
                goals>
                <configuration>
                  <artifactSet>
                    <excludes>
                      <exclude>com.google.code.findbugs:jsr305exclude>
                      <exclude>org.slf4j:*exclude>
                      <exclude>log4j:*exclude>
                      <exclude>org.apache.hadoop:*exclude>
                    excludes>
                  artifactSet>
                  <filters>
                    <filter>
                      
                      <artifact>*:*artifact>
                      <excludes>
                        <exclude>META-INF/*.SFexclude>
                        <exclude>META-INF/*.DSAexclude>
                        <exclude>META-INF/*.RSAexclude>
                      excludes>
                    filter>
                  filters>
                  <transformers combine.children="append">
                    <transformer
                            implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer">
                    transformer>
                  transformers>
                configuration>
              execution>
            executions>
          plugin>
        plugins>
      build>
    
    project>
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
  • 相关阅读:
    图论学习笔记 - 树链剖分
    软件测试报告包含的主要内容有哪些?
    17.2 实现无管道正向CMD
    WebSocket 连接失败的原因及解决方法
    在 PyCharm 中使用 CuPy 进行 CUDA 加速的向量运算
    终端天线—11.NFC线圈仿真
    U-BOOT小全(二)
    【个人原创项目】开发问答社区-V1.0
    力扣-排序算法
    ①css实现九宫格动画——前端筑基&&每天一道前端案例实现
  • 原文地址:https://blog.csdn.net/m0_49303490/article/details/134504309