赞
踩
flink 开发完成后,需要将jar包放在集群中运行,如何把源码选成可执行的jar呢
idea 作为打包工具
- <build>
- <plugins>
- <!-- 打jar插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>2.4.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <filters>
- <filter>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。