• taotao-manager-service/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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    	<modelVersion>4.0.0</modelVersion>
    	<parent>
    		<groupId>com.taotao</groupId>
    		<artifactId>taotao-manager</artifactId>
    		<version>0.0.1-SNAPSHOT</version>
    	</parent>
    	<artifactId>taotao-manager-service</artifactId>
    	<packaging>war</packaging>
    	<dependencies>
    		<!-- 添加接口的依赖 -->
    		<dependency>
    			<groupId>com.taotao</groupId>
    			<artifactId>taotao-manager-interface</artifactId>
    			<version>0.0.1-SNAPSHOT</version>
    		</dependency>
    		<!-- 需要从数据库查,添加dao依赖 -->
    		<dependency>
    			<groupId>com.taotao</groupId>
    			<artifactId>taotao-manager-dao</artifactId>
    			<version>0.0.1-SNAPSHOT</version>
    		</dependency>
    		<!-- Spring -->
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-context</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-beans</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-webmvc</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-jdbc</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-aspects</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-jms</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-context-support</artifactId>
    		</dependency>
    		<!-- dubbo相关 -->
    		<dependency>
    			<groupId>com.alibaba</groupId>
    			<artifactId>dubbo</artifactId>
    			<!-- 排除依赖 -->
    			<exclusions>
    				<exclusion>
    					<groupId>org.springframework</groupId>
    					<artifactId>spring</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>org.jboss.netty</groupId>
    					<artifactId>netty</artifactId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    		<!-- zookepper的核心包依赖 -->
    		<dependency>
    			<groupId>org.apache.zookeeper</groupId>
    			<artifactId>zookeeper</artifactId>
    		</dependency>
    		<!-- 连接zookeeper客户端的依赖 -->
    		<dependency>
    			<groupId>com.github.sgroschupf</groupId>
    			<artifactId>zkclient</artifactId>
    		</dependency>
    	</dependencies>
    </project>
    

      

    提示: 加入dubbo相关的jar包,服务层、表现层都添加。Dubbo依赖的坑,在pom.xml需要排除。

    [ 尐鱼儿的QQ群:726994578 ] --- [ https://github.com/godmaybelieve ]
  • 相关阅读:
    反射学习(三)--------利用反射调用方法
    list实体数据分组
    利用dockerfile制作基于centos7的lnmp镜像(亲测,详细版)
    基于数组的shell脚本编写
    Ansible中文权威指南
    几种方法来实现scp拷贝时无需输入密码
    Java 中&&和&的区别
    常用javaScript小常识
    mysql数据库函数
    Hidden的应用
  • 原文地址:https://www.cnblogs.com/yuyu666/p/12637773.html
Copyright © 2020-2023  润新知