1 Star 0 Fork 295

poemp/DataService-Framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 10.26 KB
一键复制 编辑 原始数据 按行查看 历史
伍鲜 提交于 2019-08-29 23:20 . 集成规则引擎
<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/maven-v4_0_0.xsd">
<groupId>com.gitee.hy-wux.service.data</groupId>
<artifactId>DataService-Framework</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>DataService Framework Parent</name>
<modelVersion>4.0.0</modelVersion>
<inceptionYear>2018</inceptionYear>
<modules>
<module>third-party/hammurabi/hammurabi_2.11</module>
<module>third-party/mongodb/mongo-spark-connector_2.11</module>
<module>third-party/redislabs/spark-redis_2.11</module>
<module>commons</module>
<module>examples</module>
<module>kafka-clients</module>
<module>kafka-streams</module>
<module>rule-engine</module>
<module>spark-sql</module>
<module>spark-streaming</module>
</modules>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<scala.version>2.11.8</scala.version>
<scalikjdbc.version>2.5.0</scalikjdbc.version>
<spark.version>2.2.0</spark.version>
<mysql.version>5.1.38</mysql.version>
<oracle.version>12.1.0.2</oracle.version>
<jedis.version>3.1.0-m1</jedis.version>
<spark-redis.version>2.4.0-WUX-2.2.0</spark-redis.version>
<mongo-spark.version>2.4.1-WUX-2.2.0</mongo-spark.version>
<rule-engine.version>0.1-WUX-2.2.0</rule-engine.version>
</properties>
<repositories>
<repository>
<id>nexus</id>
<name>Nexus Maven Repository</name>
<url>http://192.168.126.128:8081/repository/maven-public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>nexus</id>
<name>Nexus Maven Repository</name>
<url>http://192.168.126.128:8081/repository/maven-public/</url>
</pluginRepository>
</pluginRepositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
</dependency>
<!-- Scala -->
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-actors</artifactId>
<version>${scala.version}</version>
</dependency>
<!-- Spark -->
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.11</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming_2.11</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-kafka-0-8_2.11</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-kafka-0-10_2.11</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-flume_2.11</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-flume-sink_2.11</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-yarn_2.11</artifactId>
<version>${spark.version}</version>
</dependency>
<!-- ScalikeJDBC -->
<dependency>
<groupId>org.scalikejdbc</groupId>
<artifactId>scalikejdbc_2.11</artifactId>
<version>${scalikjdbc.version}</version>
</dependency>
<dependency>
<groupId>org.scalikejdbc</groupId>
<artifactId>scalikejdbc-config_2.11</artifactId>
<version>${scalikjdbc.version}</version>
</dependency>
<!-- MySQL -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<!-- Oracle -->
<dependency>
<groupId>com.github.noraui</groupId>
<artifactId>ojdbc7</artifactId>
<version>${oracle.version}</version>
</dependency>
<dependency>
<groupId>com.redislabs</groupId>
<artifactId>spark-redis_2.11</artifactId>
<version>${spark-redis.version}</version>
</dependency>
<!-- MongoDB -->
<dependency>
<groupId>org.mongodb.spark</groupId>
<artifactId>mongo-spark-connector_2.11</artifactId>
<version>${mongo-spark.version}</version>
</dependency>
<!-- RuleEngine -->
<dependency>
<groupId>com.googlecode.hammurabi</groupId>
<artifactId>hammurabi_2.11</artifactId>
<version>${rule-engine.version}</version>
</dependency>
<!-- DataService -->
<dependency>
<groupId>com.gitee.hy-wux.service.data</groupId>
<artifactId>commons</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.hy-wux.service.data</groupId>
<artifactId>kafka-clients</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.hy-wux.service.data</groupId>
<artifactId>kafka-streams</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.hy-wux.service.data</groupId>
<artifactId>rule-engine</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.hy-wux.service.data</groupId>
<artifactId>spark-sql</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.hy-wux.service.data</groupId>
<artifactId>spark-streaming</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<!-- Scala编译 -->
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<args>
<arg>-dependencyfile</arg>
<arg>${project.build.directory}/.scala_dependencies</arg>
</args>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- 依赖的Jar包拷贝到指定目录 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<excludeScope>provided</excludeScope>
<outputDirectory>${project.build.directory}/${project.build.finalName}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- 将打包后的Jar拷贝到指定的目录,放到最后执行 -->
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy todir="${project.build.directory}/${project.build.finalName}/lib"
overwrite="true">
<fileset dir="${project.build.directory}" erroronmissingdir="false">
<include name="*.jar"/>
</fileset>
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Scala
1
https://gitee.com/lyw2010/DataService-Framework.git
git@gitee.com:lyw2010/DataService-Framework.git
lyw2010
DataService-Framework
DataService-Framework
master

搜索帮助