pom.xml 6.89 KB
<?xml version="1.0"?>
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>com.b2c.manage</groupId>
		<artifactId>diligrp-manage</artifactId>
		<version>0.0.1-SNAPSHOT</version>
	</parent>
	<artifactId>diligrp-manage-web</artifactId>
	<packaging>war</packaging>
	<name>diligrp-manage-web</name>
	<url>http://maven.apache.org</url>

	<dependencies>
		<dependency>
			<groupId>com.b2c.manage.service</groupId>
			<artifactId>diligrp-manage-service</artifactId>
			<version>0.0.1-SNAPSHOT</version>
			<exclusions>
				<exclusion>
					<groupId>com.diligrp</groupId>
					<artifactId>wms-staticresource-api</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>com.b2c.manage.domain</groupId>
			<artifactId>diligrp-manage-domain</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.b2c.manage.rpc</groupId>
			<artifactId>diligrp-manage-rpc</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.b2c.manage.manager</groupId>
			<artifactId>diligrp-manage-manager</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.b2c.manage</groupId>
			<artifactId>diligrp-manage-sdk</artifactId>
			<version>0.0.3-SNAPSHOT</version>
		</dependency>



	</dependencies>
	<build>
		<finalName>diligrp-manage-web</finalName>
		<resources>
			<resource>
				<directory>${project.basedir}/src/main/resources</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>tomcat-maven-plugin</artifactId>
				<configuration>
					<path>/</path>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>


		<!-- 显示模板 -->
		<project.view.VMDefault>layout/onlyContent</project.view.VMDefault>
		<!-- 店铺域名 -->
		<project.shop.domain>shop.zandeapp.com</project.shop.domain>

		<!-- WEB后台域名 -->
		<project.manweb.domain>http://manweb.zandeapp.com/</project.manweb.domain>

		<!-- 主站网址 -->
		<project.website.domain>http://www.zandeapp.com/</project.website.domain>

		<!-- 验证码地址 -->
		<project.verifycode.path>http://authcode.zandeapp.com/verify/image?acid=</project.verifycode.path>

		<!-- 验证码校验地址 -->
		<project.verifycode.validate>http://authcode.zandeapp.com/verify/validate?acid=</project.verifycode.validate>

		<!-- 网站域名地址 -->
		<project.domain.localPath>http://manage.zandeapp.com</project.domain.localPath>

		<!-- 静态资源地址 -->
		<project.assets.path>http://static.zandeapp.com/static/common</project.assets.path>

		<!-- 本地资源地址 -->
		<project.default.local.path>/</project.default.local.path>

		<!-- 首页地址 -->
		<project.index.path>http://messageutter.zandeapp.com/todo/index.do</project.index.path>
		<!-- 消息列表地址 -->
		<project.messageList.path>http://messageutter.zandeapp.com/notice/index.do</project.messageList.path>
		<!-- 异步获取消息条数地址 -->
		<project.message.async.path>http://messageutter.zandeapp.com/notice/async.do?userId=</project.message.async.path>
		<!-- 同步获取消息条数地址 -->
		<project.message.sync.path>http://messageutter.zandeapp.com/notice/sync.do</project.message.sync.path>
		<project.message.unread.path>http://messageutter.zandeapp.com/notice/unread/snapshot.do?count=5</project.message.unread.path>

		<!--权限相关配置 -->
		<conf.manage.enable>true</conf.manage.enable>
		<conf.manage.spider>true</conf.manage.spider>
		<conf.manage.userLimitOne>false</conf.manage.userLimitOne>
		<conf.manage.system>manage</conf.manage.system>
		<conf.manage.domain>http://manage.zandeapp.com/</conf.manage.domain>
		<conf.manage.includes>^$,^/$,^/.*\.do</conf.manage.includes>
		<conf.manage.excludes>^/noAccess.do$,^/welcome.do$,^/loginControl/.*,^/api/.*</conf.manage.excludes>


		<!-- 数据库连接池配置文件 -->
		<!--<project.dbpool.driverClass>org.mariadb.jdbc.Driver</project.dbpool.driverClass> -->
		<!--<project.dbpool.idleConnectionTestPeriodInMinutes>1</project.dbpool.idleConnectionTestPeriodInMinutes> -->
		<!--<project.dbpool.idleMaxAgeInMinutes>4</project.dbpool.idleMaxAgeInMinutes> -->
		<!--<project.dbpool.partitionCount>1</project.dbpool.partitionCount> -->
		<!--<project.dbpool.maxConnectionsPerPartition>10</project.dbpool.maxConnectionsPerPartition> -->
		<!--<project.dbpool.minConnectionsPerPartition>2</project.dbpool.minConnectionsPerPartition> -->
		<!--<project.dbpool.acquireIncrement>2</project.dbpool.acquireIncrement> -->
		<!--<project.dbpool.statementsCacheSize>50</project.dbpool.statementsCacheSize> -->
		<!--<project.dbpool.releaseHelperThreads>3</project.dbpool.releaseHelperThreads> -->

		<!-- DataSource begin -->
		<db.dbpool.jdbc.driver>org.mariadb.jdbc.Driver</db.dbpool.jdbc.driver>
		<db.dbpool.jdbc.url>jdbc:mysql://10.28.6.151:3307/dili_shop?useUnicode=true&amp;characterEncoding=utf8</db.dbpool.jdbc.url>
		<db.dbpool.jdbc.username>root</db.dbpool.jdbc.username>
		<db.dbpool.jdbc.password>123456</db.dbpool.jdbc.password>

		<db.dbpool.init.initial.size>5</db.dbpool.init.initial.size>
		<db.dbpool.init.min.idle>3</db.dbpool.init.min.idle>
		<db.dbpool.init.max.active>5</db.dbpool.init.max.active>

		<db.dbpool.max.wait>60000</db.dbpool.max.wait>
		<db.dbpool.time.between.millis>60000</db.dbpool.time.between.millis>
		<db.dbpool.min.idle.time>300000</db.dbpool.min.idle.time>
		<!-- DataSource end -->

		<project.sys.env>auth/b2c.json</project.sys.env>

	</properties>
	<profiles>
		<profile>
			<id>dev</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<properties>
				<!-- redis 配置 -->
				<project.redis.host1>10.28.11.205</project.redis.host1>
				<!--<project.redis.host1>10.28.6.50</project.redis.host1> -->
				<project.redis.port1>6379</project.redis.port1>
				<conf.manage.domain>http://manage.zandeapp.com/</conf.manage.domain>
				<project.sys.env>auth/b2c.json</project.sys.env>
				<project.index.path>http://manage.zandeapp.com/welcome.do</project.index.path>

				<!-- 网站域名地址 -->
				<project.domain.localPath>http://manage.zandeapp.com</project.domain.localPath>
				<!-- 静态资源地址 -->
				<project.assets.path>http://static.zandeapp.com/static/common</project.assets.path>
				<conf.manage.userLimitOne>false</conf.manage.userLimitOne>


				<!-- 数据库连接池配置文件 -->
				<db.dbpool.jdbc.url>jdbc:mysql://10.28.11.162:3306/manage?useUnicode=true&amp;characterEncoding=utf8&amp;allowMultiQueries=true</db.dbpool.jdbc.url>
				<db.dbpool.jdbc.username>root</db.dbpool.jdbc.username>
				<db.dbpool.jdbc.password>123456</db.dbpool.jdbc.password>
			</properties>
		</profile>
	</profiles>
</project>