pom.xml 14.4 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.diligrp.mobsite</groupId>
		<artifactId>mobsite-man</artifactId>
		<version>0.0.1-SNAPSHOT</version>
	</parent>

	<artifactId>mobsite-man-web</artifactId>
	<packaging>war</packaging>
	<name>mobsite-man-web Maven Webapp</name>
	<url>http://maven.apache.org</url>

	<build>
		<finalName>mobsite-man-web</finalName>
		<resources>
			<resource>
				<directory>${project.basedir}/src/main/resources</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.apache.tomcat.maven</groupId>
				<artifactId>tomcat7-maven-plugin</artifactId>
				<version>2.2</version>
				<configuration>
					<path>/</path>
					<port>8080</port>
					<uriEncoding>UTF-8</uriEncoding>
					<server>DevServer</server>
					<url>http://10.28.11.173/manager</url>
				</configuration>
			</plugin>
		</plugins>
	</build>


	<profiles>
		<profile>
			<id>development</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<properties>
				<!-- 显示模板 -->
				<project.view.VMDefault>layout/default_content</project.view.VMDefault>

				<!-- redis 配置 -->
				<project.redis.host1>10.28.6.152</project.redis.host1>
				<project.redis.port1>6379</project.redis.port1>
				
				<!-- 商品详情链接地址 -->
				<project.product.detail.path>http://www.1n4j.com/product/</project.product.detail.path>
				
				<!-- 后台默认静态资源地址 -->
				<project.default.assets.path>http://static.1n4j.com/static/ace1.3/assets</project.default.assets.path>
				
				<!-- 公共样式引用 -->
				<project.default.assets.common.path>http://static.1n4j.com/static/</project.default.assets.common.path>
				
				<!-- 本地资源地址 -->
				<project.default.local.path>http://mobman.1n4j.com/</project.default.local.path>
				
				<!-- 图片服务器前缀 -->
                <project.imageserver.prefix>http://10.28.6.153</project.imageserver.prefix>
                
                <!-- 店铺域名 -->
				<project.shop.domain>http://shop.1n4j.com</project.shop.domain>
                
				<!-- sms.webchina.cn 短信发送接口的配置 -->
				<project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
				<project.sms.webchina.userName>itly</project.sms.webchina.userName>
				<project.sms.webchina.postURL>http://gbk.sms.webchinese.cn</project.sms.webchina.postURL>
				
				<!-- interface user -->
				<website.user.baseUrl>http://user.1n4j.com</website.user.baseUrl>
				<website.user.token>token</website.user.token>
                <!-- interface websiteClient -->
                <website.websiteClient.baseUrl>http://manweb.1n4j.com/</website.websiteClient.baseUrl>
                <website.websiteClient.token>token</website.websiteClient.token>
				<!-- interface titan -->
				<website.titan.accesskey>accesskey</website.titan.accesskey>
				<website.titan.secretkey>secretkey</website.titan.secretkey>
				
				<!-- interface search -->
                <website.search.host>10.28.4.220</website.search.host>
                <website.search.port>983</website.search.port>

				<!-- messagecenter -->
				<website.messagecenter.namesrvAddr>10.28.10.209:9876</website.messagecenter.namesrvAddr>
				<website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>

                <!-- 登录拦截器开关 -->
                <project.manger.enabled>false</project.manger.enabled>
                
                <!-- 上传文件服务 -->
				<project.store.apkPatchAccessKey>X_mALB7_lS82Ztkc3-z3or3ckBJTEsIIcbB7O7J3</project.store.apkPatchAccessKey>
				<project.store.apkPatchSecretKey>6D7YQV_Kdz17pl6or2bQg_07fhLss09oVfenrPbF</project.store.apkPatchSecretKey>

				<!-- 数据库连接池配置文件 -->
				<project.dbpool.driverClass>org.mariadb.jdbc.Driver</project.dbpool.driverClass>
				<project.dbpool.jdbcUrl>jdbc:mysql://10.28.10.188:3306/mobsite_man?useUnicode=true&amp;characterEncoding=utf8</project.dbpool.jdbcUrl>
				<project.dbpool.username>root</project.dbpool.username>
				<project.dbpool.password>123456</project.dbpool.password>
				<project.dbpool.idleConnectionTestPeriodInMinutes>1</project.dbpool.idleConnectionTestPeriodInMinutes>
				<project.dbpool.idleMaxAgeInMinutes>4</project.dbpool.idleMaxAgeInMinutes>
				<project.dbpool.partitionCount>1</project.dbpool.partitionCount>
				<project.dbpool.maxConnectionsPerPartition>3</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>

                <!--权限相关配置-->
                <conf.manage.enable>true</conf.manage.enable>
                <conf.manage.spider>true</conf.manage.spider>
                <conf.manage.system>mobman</conf.manage.system>
                <conf.manage.domain>http://manage.1n4j.com/</conf.manage.domain>
                <conf.manage.includes>^/.*\.do</conf.manage.includes>
                <conf.manage.excludes>^/noAccess.do$,^/welcome.do$,^/loginControl/.*,^/api/.*,^/appVersion/.*</conf.manage.excludes>
            </properties>
		</profile>
		
		
		<profile>
			<id>test</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<properties>
				<!-- 显示模板 -->
				<project.view.VMDefault>layout/default_content</project.view.VMDefault>

				<!-- redis 配置 -->
				<project.redis.host1>10.28.6.54</project.redis.host1>
				<project.redis.port1>6379</project.redis.port1>
				
				<!-- 商品详情链接地址 -->
		        <project.product.detail.path>http://www.1n4j.com/product/</project.product.detail.path>
				
				<!-- 后台默认静态资源地址 -->
				<project.default.assets.path>http://static.1n4j.com/static/ace1.3/assets</project.default.assets.path>
				
				<!-- 公共样式引用 -->
				<project.default.assets.common.path>http://static.1n4j.com/static/</project.default.assets.common.path>
				
				<!-- 本地资源地址 -->
				<project.default.local.path>http://mobman.1n4j.com/</project.default.local.path>
				
				<!-- 图片服务器前缀 -->
                <project.imageserver.prefix>http://10.28.6.53</project.imageserver.prefix>
                
                <!-- 店铺域名 -->
				<project.shop.domain>http://shop.1n4j.com</project.shop.domain>
                
				<!-- sms.webchina.cn 短信发送接口的配置 -->
				<project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
				<project.sms.webchina.userName>itly</project.sms.webchina.userName>
				<project.sms.webchina.postURL>http://gbk.sms.webchinese.cn</project.sms.webchina.postURL>
				
				<!-- interface user -->
				<website.user.baseUrl>http://user.1n4j.com</website.user.baseUrl>
				<website.user.token>token</website.user.token>
                <!-- interface websiteClient -->
                <website.websiteClient.baseUrl>http://manweb.1n4j.com/</website.websiteClient.baseUrl>
                <website.websiteClient.token>token</website.websiteClient.token>
				<!-- interface titan -->
				<website.titan.accesskey>accesskey</website.titan.accesskey>
				<website.titan.secretkey>secretkey</website.titan.secretkey>
				
				<!-- interface search -->
                <website.search.host>interface.dd.1n4j.com</website.search.host>
                <website.search.port>9831</website.search.port>

                <!-- messagecenter -->
                <website.messagecenter.namesrvAddr>10.28.6.54:9876</website.messagecenter.namesrvAddr>
                <website.messagecenter.producerGroup>mobsite_man</website.messagecenter.producerGroup>

                <!-- 登录拦截器开关 -->
                <project.manger.enabled>true</project.manger.enabled>
                
                <!-- 上传文件服务 -->
				<project.store.apkPatchAccessKey>X_mALB7_lS82Ztkc3-z3or3ckBJTEsIIcbB7O7J3</project.store.apkPatchAccessKey>
				<project.store.apkPatchSecretKey>6D7YQV_Kdz17pl6or2bQg_07fhLss09oVfenrPbF</project.store.apkPatchSecretKey>

				<!-- 数据库连接池配置文件 -->
				<project.dbpool.driverClass>org.mariadb.jdbc.Driver</project.dbpool.driverClass>
				<project.dbpool.jdbcUrl>jdbc:mysql://10.28.6.55:3307/agriez_mobsite_man?useUnicode=true&amp;characterEncoding=utf8</project.dbpool.jdbcUrl>
				<project.dbpool.username>root</project.dbpool.username>
				<project.dbpool.password>123456</project.dbpool.password>
				<project.dbpool.idleConnectionTestPeriodInMinutes>1</project.dbpool.idleConnectionTestPeriodInMinutes>
				<project.dbpool.idleMaxAgeInMinutes>4</project.dbpool.idleMaxAgeInMinutes>
				<project.dbpool.partitionCount>1</project.dbpool.partitionCount>
				<project.dbpool.maxConnectionsPerPartition>3</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>
                <!--权限相关配置-->
                <conf.manage.enable>true</conf.manage.enable>
                <conf.manage.spider>true</conf.manage.spider>
                <conf.manage.system>mobman</conf.manage.system>
                <conf.manage.domain>http://manage.1n4j.com/</conf.manage.domain>
                <conf.manage.includes>^/.*\.do</conf.manage.includes>
                <conf.manage.excludes>^/noAccess.do$,^/welcome.do$,^/loginControl/.*,^/api/.*,^/appVersion/.*</conf.manage.excludes>
            </properties>
		</profile>


		<profile>
			<id>product</id>
			<properties>
				<!-- 显示模板 -->
				<project.view.VMDefault>layout/default_content</project.view.VMDefault>

				<!-- redis 配置 -->
				<project.redis.host1>192.168.28.29</project.redis.host1>
				<project.redis.port1>6379</project.redis.port1>

				<!-- 商品详情链接地址 -->
				<project.product.detail.path>http://www.1n4j.com/product/</project.product.detail.path>

				<!-- 后台默认静态资源地址 -->
				<project.default.assets.path>http://static.1n4j.com/static/ace1.3/assets</project.default.assets.path>

				<!-- 公共样式引用 -->
				<project.default.assets.common.path>http://static.1n4j.com/static/</project.default.assets.common.path>

				<!-- 本地资源地址 -->
				<project.default.local.path>http://mobman.1n4j.com/</project.default.local.path>

				<!-- 图片服务器前缀 -->
				<project.imageserver.prefix>http://192.168.28.22:8000</project.imageserver.prefix>
				<project.imageserver.domain>1n4j.com</project.imageserver.domain>

				<!-- 店铺域名 -->
				<project.shop.domain>http://shop.1n4j.com</project.shop.domain>

				<!-- sms.webchina.cn 短信发送接口的配置 -->
				<project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
				<project.sms.webchina.userName>itly</project.sms.webchina.userName>
				<project.sms.webchina.postURL>http://gbk.sms.webchinese.cn</project.sms.webchina.postURL>

				<!-- interface user -->
				<website.user.baseUrl>http://user.1n4j.com</website.user.baseUrl>
				<website.user.token>token</website.user.token>
				<!-- interface websiteClient -->
				<website.websiteClient.baseUrl>http://manweb.1n4j.com/</website.websiteClient.baseUrl>
				<website.websiteClient.token>token</website.websiteClient.token>
				<!-- interface titan -->
				<website.titan.accesskey>accesskey</website.titan.accesskey>
				<website.titan.secretkey>secretkey</website.titan.secretkey>

				<!-- interface search -->
				<website.search.host>interface.dd.1n4j.com</website.search.host>
				<website.search.port>9831</website.search.port>

				<!-- messagecenter -->
				<website.messagecenter.namesrvAddr>192.168.28.34:9876</website.messagecenter.namesrvAddr>
				<website.messagecenter.producerGroup>mobsite_man</website.messagecenter.producerGroup>

				<!-- 登录拦截器开关 -->
				<project.manger.enabled>true</project.manger.enabled>
				
				<!-- 上传文件服务 -->
				<project.store.apkPatchAccessKey>wFI9FVLpBgufxvb77tuSP8J2i4cZsf96Bc9KBY3w</project.store.apkPatchAccessKey>
				<project.store.apkPatchSecretKey>OD6F8DPpH7wBsh0OkEmfk9C_zxzT2G7xHDig8JJg</project.store.apkPatchSecretKey>

				<!-- 数据库连接池配置文件 -->
				<project.dbpool.driverClass>org.mariadb.jdbc.Driver</project.dbpool.driverClass>
				<project.dbpool.jdbcUrl>jdbc:mysql://mobsite.man.db.1n4j.com:3306/mobsite_man?useUnicode=true&amp;characterEncoding=utf8</project.dbpool.jdbcUrl>
				<project.dbpool.username>FG_yunwei</project.dbpool.username>
				<project.dbpool.password>vtA]7xU2h~ne_b</project.dbpool.password>
				<project.dbpool.idleConnectionTestPeriodInMinutes>1</project.dbpool.idleConnectionTestPeriodInMinutes>
				<project.dbpool.idleMaxAgeInMinutes>4</project.dbpool.idleMaxAgeInMinutes>
				<project.dbpool.partitionCount>1</project.dbpool.partitionCount>
				<project.dbpool.maxConnectionsPerPartition>3</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>
				<!--权限相关配置-->
				<conf.manage.enable>true</conf.manage.enable>
				<conf.manage.spider>true</conf.manage.spider>
				<conf.manage.system>mobman</conf.manage.system>
				<conf.manage.domain>http://manage.1n4j.com/</conf.manage.domain>
				<conf.manage.includes>^/.*\.do</conf.manage.includes>
				<conf.manage.excludes>^/noAccess.do$,^/welcome.do$,^/loginControl/.*,^/api/.*,^/appVersion/.*</conf.manage.excludes>
			</properties>
		</profile>
	</profiles>

	<dependencies>
		<dependency>
			<groupId>com.diligrp.mobsite</groupId>
			<artifactId>mobsite-man-domain</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.diligrp.mobsite</groupId>
			<artifactId>mobsite-man-service</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
	</dependencies>
</project>