|
|
@@ -0,0 +1,209 @@
|
|
|
+<?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.uas.search</groupId>
|
|
|
+ <artifactId>search-parent</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </parent>
|
|
|
+ <artifactId>search-console-b2b</artifactId>
|
|
|
+ <packaging>war</packaging>
|
|
|
+ <name>search-console-b2b Maven Webapp</name>
|
|
|
+ <url>http://maven.apache.org</url>
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <!-- 开发环境 -->
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <profile>dev</profile>
|
|
|
+ </properties>
|
|
|
+ <!-- 默认 -->
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <!-- 测试环境 -->
|
|
|
+ <id>test</id>
|
|
|
+ <properties>
|
|
|
+ <profile>test</profile>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <!-- 生产环境 -->
|
|
|
+ <id>prod</id>
|
|
|
+ <properties>
|
|
|
+ <profile>prod</profile>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+ <dependencies>
|
|
|
+ <!-- spring-webmvc -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-tx</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context-support</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-jpa</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- log4j -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>log4j</groupId>
|
|
|
+ <artifactId>log4j</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- fastjson -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- search-b2b-api -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.search</groupId>
|
|
|
+ <artifactId>search-api-b2b</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- dubbo -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>dubbo</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- zookeeper -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.zookeeper</groupId>
|
|
|
+ <artifactId>zookeeper</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.sgroschupf</groupId>
|
|
|
+ <artifactId>zkclient</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- lucene -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.lucene</groupId>
|
|
|
+ <artifactId>lucene-core</artifactId>
|
|
|
+ <version>5.2.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.lucene</groupId>
|
|
|
+ <artifactId>lucene-queryparser</artifactId>
|
|
|
+ <version>5.2.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.lucene</groupId>
|
|
|
+ <artifactId>lucene-analyzers-common</artifactId>
|
|
|
+ <version>5.2.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- IKAnalyzer -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.wltea.analyzer</groupId>
|
|
|
+ <artifactId>IKAnalyzer</artifactId>
|
|
|
+ <version>2012_v5</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- Lucene实时建索引时用于监听Oracle消息队列 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.jms</groupId>
|
|
|
+ <artifactId>jms</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- Oracle消息队列处理 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.oracle</groupId>
|
|
|
+ <artifactId>aqapi</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- hibernate -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-core</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-entitymanager</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>cglib</groupId>
|
|
|
+ <artifactId>cglib</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>dom4j</groupId>
|
|
|
+ <artifactId>dom4j</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate.javax.persistence</groupId>
|
|
|
+ <artifactId>hibernate-jpa-2.1-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate</groupId>
|
|
|
+ <artifactId>hibernate-ehcache</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- jdbc -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.oracle</groupId>
|
|
|
+ <artifactId>ojdbc6</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- dbcp -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-dbcp</groupId>
|
|
|
+ <artifactId>commons-dbcp</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- platform-core -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.uas.platform</groupId>
|
|
|
+ <artifactId>platform-core</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- 文件上传 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
+ <version>1.3.2</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <build>
|
|
|
+ <finalName>search-console-b2b</finalName>
|
|
|
+ <!-- 受profile影响的目录 -->
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+
|
|
|
+ <!-- 解决maven项目jre版本默认为1.5的问题 -->
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.5.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>1.7</source>
|
|
|
+ <target>1.7</target>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+</project>
|