pom.xml 33.5 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
<?xml version="1.0" encoding="UTF-8"?>
<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>

    <groupId>com.b2c.titan</groupId>
    <artifactId>titan-api</artifactId>
    <packaging>war</packaging>
    <version>1.0</version>
    <name>titan-api</name>
    <properties>
        <jdk.version>1.7</jdk.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
        <spring.version>3.2.9.RELEASE</spring.version>
        <aspectj.version>1.6.11</aspectj.version>
        <jackson.version>1.9.2</jackson.version>
        <slf4j.version>1.6.4</slf4j.version>
    </properties>

    <!-- 插件管理 -->
    <build>
        <finalName>titan-api-web</finalName>
        <resources>
            <resource>
                <directory>${project.basedir}/src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <!-- war插件 -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.3</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            <!-- 配置构建时忽略测试用例 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <port>8080</port>
                    <path>/</path>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.5</version>
                <executions>
                    <execution>
                        <id>copy-xmls</id>
                        <phase>process-sources</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${basedir}/target/classes</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>${basedir}/src/main/hbase-profiles/${package.env}</directory>
                                    <includes>
                                        <include>**/*.xml</include>
                                    </includes>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <!-- spring -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>${spring.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-expression</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <!-- LOG4J日志记录 -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.6.4</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.6.4</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>

        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.5</version>
        </dependency>

        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.2</version>
        </dependency>
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis</artifactId>
            <version>3.2.1</version>
        </dependency>
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis-spring</artifactId>
            <version>1.2.0</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
            <version>1.0.11</version>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.25</version>
        </dependency>

        <!-- 工具类 -->
        <!-- google sets,maps -->
        <!--<dependency>-->
        <!--<groupId>com.google.guava</groupId>-->
        <!--<artifactId>guava</artifactId>-->
        <!--<version>14.0.1</version>-->
        <!--</dependency>-->
        <!-- JSON -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.1.31</version>
        </dependency>
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjweaver</artifactId>
            <version>1.7.2</version>
        </dependency>
        <!--<dependency>-->
        <!--<groupId>cglib</groupId>-->
        <!--<artifactId>cglib-nodep</artifactId>-->
        <!--<version>2.1_3</version>-->
        <!--</dependency>-->

        <!-- common logging replacer -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>${slf4j.version}</version>
        </dependency>
        <!-- if you enable @AspectJ style AOP in spring. -->
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjrt</artifactId>
            <version>${aspectj.version}</version>
        </dependency>
        <!-- if you enable JSR303 (Bean Validation) in spring. -->
        <!--<dependency>-->
        <!--<groupId>org.hibernate</groupId>-->
        <!--<artifactId>hibernate-validator</artifactId>-->
        <!--<version>4.2.0.Final</version>-->
        <!--</dependency>-->
        <!-- if you use velocity view in springmvc -->
        <dependency>
            <groupId>org.apache.velocity</groupId>
            <artifactId>velocity</artifactId>
            <version>1.7</version>
        </dependency>
        <!-- if you use velocity layout view in springmvc -->
        <dependency>
            <groupId>org.apache.velocity</groupId>
            <artifactId>velocity-tools</artifactId>
            <version>2.0</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.struts</groupId>
                    <artifactId>struts-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.struts</groupId>
                    <artifactId>struts-taglib</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.struts</groupId>
                    <artifactId>struts-tiles</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>sslext</groupId>
                    <artifactId>sslext</artifactId>
                </exclusion>
                <exclusion>
                    <artifactId>servlet-api</artifactId>
                    <groupId>javax.servlet</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-digester</artifactId>
                    <groupId>commons-digester</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- if you enable json support in spring mvc. -->
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-mapper-asl</artifactId>
            <version>${jackson.version}</version>
        </dependency>
        <!-- test scope -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>3.0-alpha-1</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
            <version>2.4.2</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-redis</artifactId>
            <version>1.3.0.RELEASE</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-aop</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <artifactId>hbase-client</artifactId>
            <exclusions>
                <exclusion>
                    <artifactId>servlet-api</artifactId>
                    <groupId>javax.servlet</groupId>
                </exclusion>
            </exclusions>
            <groupId>org.apache.hbase</groupId>
            <version>0.96.1.1-cdh5.0.0</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.3.3</version>
        </dependency>
        <dependency>
            <groupId>net.bull.javamelody</groupId>
            <artifactId>javamelody-core</artifactId>
            <version>1.37.0</version>
        </dependency>

        <dependency>
            <groupId>commons-fileupload</groupId>
            <artifactId>commons-fileupload</artifactId>
            <version>1.3</version>
            <exclusions>
                <exclusion>
                    <artifactId>commons-io</artifactId>
                    <groupId>commons-io</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <!--监控平台接入 -->
        <dependency>
            <groupId>com.dili.dd.monitor</groupId>
            <artifactId>monitor</artifactId>
            <version>0.0.3-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <artifactId>servlet-api</artifactId>
                    <groupId>org.mortbay.jetty</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.yqyw.messageCenter.sdk</groupId>
            <artifactId>diligrp-messageCenter-sdk</artifactId>
            <version>0.0.4-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>com.diligrp.website.web</groupId>
            <artifactId>diligrp-website-api</artifactId>
            <version>1.0.0-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <artifactId>servlet-api</artifactId>
                    <groupId>javax.servlet</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>fastjson</artifactId>
                    <groupId>com.alibaba</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>mybatis</artifactId>
                    <groupId>org.mybatis</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>guava</artifactId>
                    <groupId>com.google.guava</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>spring-webmvc</artifactId>
                    <groupId>org.springframework</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.yqyw.website.web</groupId>
            <artifactId>diligrp-website-api</artifactId>
            <version>1.0.3-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <artifactId>servlet-api</artifactId>
                    <groupId>javax.servlet</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>fastjson</artifactId>
                    <groupId>com.alibaba</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>mybatis</artifactId>
                    <groupId>org.mybatis</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>guava</artifactId>
                    <groupId>com.google.guava</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>spring-webmvc</artifactId>
                    <groupId>org.springframework</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.yqyw.filter</groupId>
            <artifactId>filter-keysdk</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <artifactId>mybatis</artifactId>
                    <groupId>org.mybatis</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>spring-context-support</artifactId>
                    <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>spring-context</artifactId>
                    <groupId>org.springframework</groupId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>com.yqyw.user</groupId>
            <artifactId>diligrp-user-client</artifactId>
            <version>0.0.4-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <artifactId>diligrp-website-util</artifactId>
                    <groupId>com.diligrp.website</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.yqyw.shop</groupId>
            <artifactId>shop-sdk</artifactId>
            <version>0.0.2-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>com.diligrp</groupId>
            <artifactId>diligrp-crm-api</artifactId>
            <!--更换最新的 chenzhiwei-->
            <version>0.0.1-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.httpcomponents</groupId>
                    <artifactId>httpcore</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>com.yqyw.filter</groupId>
            <artifactId>filter-keysdk</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <artifactId>mybatis</artifactId>
                    <groupId>org.mybatis</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>spring-context-support</artifactId>
                    <groupId>org.springframework</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>spring-context</artifactId>
                    <groupId>org.springframework</groupId>
                </exclusion>
            </exclusions>
        </dependency>

    </dependencies>

    <!-- 打包配置信息 -->
    <profiles>
        <profile>
            <!-- 开发环境 -->
            <id>develop</id>
            <!-- 默认 -->
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <package.env>develop</package.env>
                <!--jdbc type -->
                <dili_titan.jdbc.datasource.type>dbcp</dili_titan.jdbc.datasource.type>
                <!-- 数据库 -->
                <dili_titan.jdbc.driver>com.mysql.jdbc.Driver</dili_titan.jdbc.driver>
                <!-- 主库配置 -->
                <dili_titan.master.jdbc.url>jdbc:MySql://10.28.10.188:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.master.jdbc.url>
                <dili_titan.master.jdbc.username>root</dili_titan.master.jdbc.username>
                <dili_titan.master.jdbc.password>123456</dili_titan.master.jdbc.password>
                <!-- 从库配置 -->
                <dili_titan.slave.jdbc.url>jdbc:MySql://10.28.10.188:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.slave.jdbc.url>
                <dili_titan.slave.jdbc.username>du</dili_titan.slave.jdbc.username>
                <dili_titan.slave.jdbc.password>123456</dili_titan.slave.jdbc.password>
                <!-- crm接口地址 -->
                <dili_titan.crm.url>supplier.1n4j.com</dili_titan.crm.url>
                <!-- user接口地址 -->
                <dili_titan.user.url>user.1n4j.com</dili_titan.user.url>
                <!--关键字接口地址-->
                <dili_titan.keywords.url>keyword.filter.1n4j.com</dili_titan.keywords.url>
                <!--shop接口地址,需要测试自己修改 -->
                <dili_titan.shop.url>http://shop.1n4j.com</dili_titan.shop.url>
                <!-- redis接口地址 -->
                <dili_titan.redis.url>10.28.10.208</dili_titan.redis.url>
                <!--权限管理的redis配置-->
                <manage.redis.url>10.28.10.208</manage.redis.url>
                <manage.redis.port>6379</manage.redis.port>
                <!-- MQ 地址-->
                <conf.mq.namesrvAddr>10.28.10.209:9876;10.28.10.149:9876</conf.mq.namesrvAddr>
                <conf.mq.producerGroup>titanPNR</conf.mq.producerGroup>
                <!-- website接口地址 -->
                <dili_titan.website.url>manweb.1n4j.com</dili_titan.website.url>
                <!-- 日志 -->
                <dili_titan.log.level>INFO</dili_titan.log.level>
                <dili_titan.log.path>/export/logs</dili_titan.log.path>
                <dili_titan.log.root.appender>CONSOLE</dili_titan.log.root.appender>
                <!--打包编码 -->
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <!-- 图片服务器前缀 -->
                <project.imageserver.prefix>http://img0.1n4j.com</project.imageserver.prefix>
                <!--爱奇艺视频 -->
                <titan.aqy.appkey>e64a09bece964bb484e5decc30c0b950</titan.aqy.appkey>
                <titan.aqy.appSecret>f48d2b799f9661acdb6041e4ac7c142f</titan.aqy.appSecret>
            </properties>
        </profile>
        <profile>
            <!-- 测试环境 -->
            <id>test</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <package.env>test</package.env>
                <!--jdbc type -->
                <dili_titan.jdbc.datasource.type>dbcp</dili_titan.jdbc.datasource.type>
                <!-- 数据库 -->
                <dili_titan.jdbc.driver>com.mysql.jdbc.Driver</dili_titan.jdbc.driver>
                <!-- 主库配置 -->
                <dili_titan.master.jdbc.url>jdbc:MySql://10.28.6.156:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.master.jdbc.url>
                <dili_titan.master.jdbc.username>root</dili_titan.master.jdbc.username>
                <dili_titan.master.jdbc.password>123456</dili_titan.master.jdbc.password>
                <!-- 从库配置 -->
                <dili_titan.slave.jdbc.url>jdbc:MySql://10.28.6.155:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.slave.jdbc.url>
                <dili_titan.slave.jdbc.username>agriez_titan_reader</dili_titan.slave.jdbc.username>
                <dili_titan.slave.jdbc.password>123456</dili_titan.slave.jdbc.password>
                <!-- crm接口地址 -->
                <dili_titan.crm.url>supplier.1n4j.com</dili_titan.crm.url>
                <!-- user接口地址,需要测试自己修改 -->
                <dili_titan.user.url>user.1n4j.com</dili_titan.user.url>
                <!--关键字接口地址-->
                <dili_titan.keywords.url>keyword.filter.1n4j.com</dili_titan.keywords.url>
                <!--shop接口地址,需要测试自己修改 -->
                <dili_titan.shop.url>http://shop.1n4j.com</dili_titan.shop.url>
                <!-- redis接口地址 -->
                <dili_titan.redis.url>10.28.10.207</dili_titan.redis.url>
                <!--权限管理的redis配置-->
                <manage.redis.url>10.28.10.207</manage.redis.url>
                <manage.redis.port>6379</manage.redis.port>
                <!-- MQ 地址-->
                <conf.mq.namesrvAddr>10.28.10.230:9876</conf.mq.namesrvAddr>
                <conf.mq.producerGroup>titanPNR</conf.mq.producerGroup>
                <!-- website接口地址 -->
                <dili_titan.website.url>manweb.1n4j.com</dili_titan.website.url>
                <!-- 日志 -->
                <dili_titan.log.level>INFO</dili_titan.log.level>
                <dili_titan.log.path>/home/tomcat/export</dili_titan.log.path>
                <dili_titan.log.root.appender>CONSOLE</dili_titan.log.root.appender>
                <!--打包编码 -->
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <!-- 图片服务器前缀 -->
                <project.imageserver.prefix>http://img0.1n4j.com</project.imageserver.prefix>
                <!--爱奇艺视频 -->
                <titan.aqy.appkey>e64a09bece964bb484e5decc30c0b950</titan.aqy.appkey>
                <titan.aqy.appSecret>f48d2b799f9661acdb6041e4ac7c142f</titan.aqy.appSecret>
            </properties>
        </profile>

        <profile>
            <!--预发布环境-->
            <id>pre-online</id>
            <!-- 默认 -->
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <package.env>pre-online</package.env>

                <!--jdbc type -->
                <dili_titan.jdbc.datasource.type>dbcp</dili_titan.jdbc.datasource.type>
                <!-- 数据库 -->
                <dili_titan.jdbc.driver>com.mysql.jdbc.Driver</dili_titan.jdbc.driver>
                <!-- 主库配置 -->
                <dili_titan.master.jdbc.url>jdbc:MySql://titan.db.1n4j.com:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.master.jdbc.url>
                <dili_titan.master.jdbc.username>root</dili_titan.master.jdbc.username>
                <dili_titan.master.jdbc.password>123456</dili_titan.master.jdbc.password>
                <!-- 从库配置 -->
                <dili_titan.slave.jdbc.url>jdbc:MySql://titan.db.1n4j.com:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.slave.jdbc.url>
                <dili_titan.slave.jdbc.username>root</dili_titan.slave.jdbc.username>
                <dili_titan.slave.jdbc.password>123456</dili_titan.slave.jdbc.password>
                <!-- crm接口地址 -->
                <dili_titan.crm.url>supplier.1n4j.com</dili_titan.crm.url>
                <!-- user接口地址 -->
                <dili_titan.user.url>user.1n4j.com</dili_titan.user.url>
                <!--关键字接口地址-->
                <dili_titan.keywords.url>keyword.filter.1n4j.com</dili_titan.keywords.url>
                <!--shop接口地址,需要测试自己修改 -->
                <dili_titan.shop.url>http://shop.1n4j.com</dili_titan.shop.url>
                <!-- redis接口地址 -->
                <dili_titan.redis.url>redis.1n4j.com</dili_titan.redis.url>
                <!--权限管理的redis配置-->
                <manage.redis.url>redis.1n4j.com</manage.redis.url>
                <manage.redis.port>6379</manage.redis.port>
                <!-- MQ 地址-->
                <conf.mq.namesrvAddr>10.28.6.51:9876</conf.mq.namesrvAddr>
                <conf.mq.producerGroup>titanPNR</conf.mq.producerGroup>
                <!-- website接口地址 -->
                <dili_titan.website.url>manweb.1n4j.com</dili_titan.website.url>
                <!-- 日志 -->
                <dili_titan.log.level>INFO</dili_titan.log.level>
                <dili_titan.log.path>/diliapp/servers/logs</dili_titan.log.path>
                <dili_titan.log.root.appender>FILE_ALL</dili_titan.log.root.appender>
                <!--打包编码 -->
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <!-- 图片服务器前缀 -->
                <project.imageserver.prefix>http://img0.1n4j.com</project.imageserver.prefix>
                <!--爱奇艺视频 -->
                <titan.aqy.appkey>f689d13d9dce48039cae27e6e03940c6</titan.aqy.appkey>
                <titan.aqy.appSecret>8633dfebb9f4443d0f1244262bca94f6</titan.aqy.appSecret>
            </properties>
        </profile>

        <profile>
            <!--上线环境-->
            <id>online</id>
            <!-- 默认 -->
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <package.env>online</package.env>
                <!--jdbc type -->
                <dili_titan.jdbc.datasource.type>dbcp</dili_titan.jdbc.datasource.type>
                <!-- 数据库 -->
                <dili_titan.jdbc.driver>com.mysql.jdbc.Driver</dili_titan.jdbc.driver>
                <!-- 主库配置 -->
                <dili_titan.master.jdbc.url>jdbc:MySql://titan.db.1n4j.com:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.master.jdbc.url>
                <dili_titan.master.jdbc.username>appAccPayor</dili_titan.master.jdbc.username>
                <dili_titan.master.jdbc.password>iTDYVBtI6MX4NQ3Er2Oh</dili_titan.master.jdbc.password>
                <!-- 从库配置 -->
                <dili_titan.slave.jdbc.url>jdbc:MySql://192.168.60.61:3306/agriez_titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.slave.jdbc.url>
                <dili_titan.slave.jdbc.username>appAccPayor</dili_titan.slave.jdbc.username>
                <dili_titan.slave.jdbc.password>iTDYVBtI6MX4NQ3Er2Oh</dili_titan.slave.jdbc.password>
                <!-- crm接口地址 -->
                <dili_titan.crm.url>supplier.1n4j.com</dili_titan.crm.url>
                <!-- user接口地址 -->
                <dili_titan.user.url>user.1n4j.com</dili_titan.user.url>
                <!--关键字接口地址-->
                <dili_titan.keywords.url>keyword.filter.1n4j.com</dili_titan.keywords.url>
                <!--shop接口地址,需要测试自己修改 -->
                <dili_titan.shop.url>http://shop.1n4j.com</dili_titan.shop.url>
                <!-- redis接口地址 -->
                <dili_titan.redis.url>redis.1n4j.com</dili_titan.redis.url>
                <!--权限管理的redis配置-->
                <manage.redis.url>redis.1n4j.com</manage.redis.url>
                <manage.redis.port>6379</manage.redis.port>
                <!-- MQ 地址-->
                <conf.mq.namesrvAddr>192.168.60.62:9876;192.168.60.63:9876</conf.mq.namesrvAddr>
                <conf.mq.producerGroup>titanPNR</conf.mq.producerGroup>
                <!-- website接口地址 -->
                <dili_titan.website.url>manweb.1n4j.com</dili_titan.website.url>
                <!-- 日志 -->
                <dili_titan.log.level>INFO</dili_titan.log.level>
                <dili_titan.log.path>/diliapp/servers/logs</dili_titan.log.path>
                <dili_titan.log.root.appender>FILE_ALL</dili_titan.log.root.appender>
                <!--打包编码 -->
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <!-- 图片服务器前缀 -->
                <project.imageserver.prefix>http://img0.1n4j.com</project.imageserver.prefix>
                <!--爱奇艺视频 -->
                <titan.aqy.appkey>f689d13d9dce48039cae27e6e03940c6</titan.aqy.appkey>
                <titan.aqy.appSecret>8633dfebb9f4443d0f1244262bca94f6</titan.aqy.appSecret>
            </properties>
        </profile>

        <profile>
            <!-- 测试环境 -->
            <id>pnr-clone</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <!--jdbc type -->
                <dili_titan.jdbc.datasource.type>dbcp
                </dili_titan.jdbc.datasource.type>
                <!-- 数据库 -->
                <dili_titan.jdbc.driver>com.mysql.jdbc.Driver</dili_titan.jdbc.driver>
                <!-- 主库配置 -->
                <dili_titan.master.jdbc.url>jdbc:MySql://10.28.5.236:3306/titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.master.jdbc.url>
                <dili_titan.master.jdbc.username>root</dili_titan.master.jdbc.username>
                <dili_titan.master.jdbc.password>123456</dili_titan.master.jdbc.password>
                <!-- 从库配置 -->
                <dili_titan.slave.jdbc.url>jdbc:MySql://10.28.5.235:3306/titan?useUnicode=true&amp;characterEncoding=utf8</dili_titan.slave.jdbc.url>
                <dili_titan.slave.jdbc.username>titan_reader</dili_titan.slave.jdbc.username>
                <dili_titan.slave.jdbc.password>123456</dili_titan.slave.jdbc.password>
                <!-- crm接口地址 -->
                <dili_titan.crm.url>supplier.1n4j.com</dili_titan.crm.url>
                <!-- user接口地址,需要测试自己修改 -->
                <dili_titan.user.url>user.1n4j.com</dili_titan.user.url>
                <!--关键字接口地址-->
                <dili_titan.keywords.url>keyword.filter.1n4j.com</dili_titan.keywords.url>
                <!--shop接口地址,需要测试自己修改 -->
                <dili_titan.shop.url>http://shop.1n4j.com</dili_titan.shop.url>
                <!-- redis接口地址 -->
                <dili_titan.redis.url>10.28.5.200</dili_titan.redis.url>
                <!--权限管理的redis配置-->
                <manage.redis.url>10.28.5.200</manage.redis.url>
                <manage.redis.port>6379</manage.redis.port>
                <!-- MQ 地址-->
                <conf.mq.namesrvAddr>10.28.5.202:9876;10.28.5.203:9876</conf.mq.namesrvAddr>
                <conf.mq.producerGroup>titanPNR</conf.mq.producerGroup>
                <!-- website接口地址 -->
                <dili_titan.website.url>manweb.1n4j.com
                </dili_titan.website.url>
                <!-- 日志 -->
                <dili_titan.log.level>INFO</dili_titan.log.level>
                <dili_titan.log.path>/home/tomcat/export</dili_titan.log.path>
                <dili_titan.log.root.appender>CONSOLE
                </dili_titan.log.root.appender>
                <!--打包编码 -->
                <project.build.sourceEncoding>UTF-8
                </project.build.sourceEncoding>
                <!-- 图片服务器前缀 -->
                <project.imageserver.prefix>http://img0.1n4j.com</project.imageserver.prefix>
                <!--爱奇艺视频 -->
                <titan.aqy.appkey>f689d13d9dce48039cae27e6e03940c6</titan.aqy.appkey>
                <titan.aqy.appSecret>8633dfebb9f4443d0f1244262bca94f6</titan.aqy.appSecret>
            </properties>
        </profile>
    </profiles>

</project>