1 Star 0 Fork 72

量子风暴/light-spark

forked from hellowzk/light-spark 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 6.41 KB
一键复制 编辑 原始数据 按行查看 历史
<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.github.hellowzk</groupId>
<artifactId>light-spark</artifactId>
<version>1.0.4-release</version>
<packaging>pom</packaging>
<!--<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>-->
<modules>
<module>light-spark-core</module>
<module>assembly</module>
<module>example</module>
</modules>
<properties>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.encoding>${project.build.sourceEncoding}</java.encoding>
<java.version>1.8</java.version>
<scala.encoding>${project.build.sourceEncoding}</scala.encoding>
<scala.version.major>2.11</scala.version.major>
<scala.version>${scala.version.major}.12</scala.version>
<spark.version.pre>2.2</spark.version.pre>
<spark.version>${spark.version.pre}.3</spark.version>
<hbase.version>1.4.3</hbase.version>
<hadoop.version>2.6.0-cdh5.13.0</hadoop.version>
<spark.deploy.mode>cluster</spark.deploy.mode>
<app.build.profile.id></app.build.profile.id>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>sh</nonFilteredFileExtension>
<nonFilteredFileExtension>conf</nonFilteredFileExtension>
<nonFilteredFileExtension>json</nonFilteredFileExtension>
<nonFilteredFileExtension>txt</nonFilteredFileExtension>
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>add-source</goal>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-test-compile</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<jvmArgs>
<jvmArg>-Xms64m</jvmArg>
<!--可以在测试环境修改为1024m,提交时为2048m-->
<!--<jvmArg>-Xmx1024m</jvmArg>-->
<jvmArg>-Xmx2048m</jvmArg>
</jvmArgs>
<scalaVersion>${scala.version}</scalaVersion>
<args>
<arg>-target:jvm-${java.version}</arg>
</args>
</configuration>
</plugin>
<!--生成javadoc包的插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--生成java源码包插件(仅对java有用,对scala不管用) source-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dev</id>
<properties>
<app.build.profile.id>dev</app.build.profile.id>
</properties>
</profile>
<profile>
<id>spark2.2</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spark.version.pre>2.2</spark.version.pre>
</properties>
</profile>
<profile>
<id>spark2.3</id>
<properties>
<spark.version.pre>2.3</spark.version.pre>
</properties>
</profile>
<profile>
<id>spark2.4</id>
<properties>
<spark.version.pre>2.4</spark.version.pre>
</properties>
</profile>
</profiles>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Scala
1
https://gitee.com/wuchunfu/light-spark.git
[email protected]:wuchunfu/light-spark.git
wuchunfu
light-spark
light-spark
master

搜索帮助