2015-02-28 16:09:55 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2015-03-03 22:21:35 +08:00
|
|
|
<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 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.ctrip.zeus</groupId>
|
|
|
|
<artifactId>zeus</artifactId>
|
|
|
|
<version>0.1</version>
|
|
|
|
<name>Zeus</name>
|
|
|
|
<packaging>jar</packaging>
|
2015-03-03 20:14:43 +08:00
|
|
|
|
2015-03-03 22:21:35 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.unidal.framework</groupId>
|
|
|
|
<artifactId>dal-jdbc</artifactId>
|
2015-03-10 15:21:03 +08:00
|
|
|
<version>2.1.3</version>
|
2015-03-03 22:21:35 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dianping.cat</groupId>
|
|
|
|
<artifactId>cat-client</artifactId>
|
|
|
|
<version>1.1.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
2015-03-14 16:55:30 +08:00
|
|
|
<version>5.1.34</version>
|
2015-03-03 22:21:35 +08:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2015-03-03 20:14:43 +08:00
|
|
|
|
2015-03-03 22:21:35 +08:00
|
|
|
<!-- Jersey -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
|
|
<artifactId>jersey-common</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
|
|
<artifactId>jersey-server</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
|
|
<artifactId>jersey-client</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.ext</groupId>
|
|
|
|
<artifactId>jersey-spring3</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
2015-03-04 22:01:23 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2015-03-03 22:21:35 +08:00
|
|
|
</dependency>
|
|
|
|
<!-- Jersey End -->
|
2015-03-03 20:14:43 +08:00
|
|
|
|
2015-03-03 22:21:35 +08:00
|
|
|
<!-- Spring -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</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>
|
2015-03-04 22:01:23 +08:00
|
|
|
<artifactId>spring-web</artifactId>
|
2015-03-03 22:21:35 +08:00
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
2015-03-10 15:21:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aspects</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
2015-03-11 22:41:10 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-03-10 15:21:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version>
|
2015-03-11 22:41:10 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<scope>test</scope>
|
2015-03-10 15:21:03 +08:00
|
|
|
</dependency>
|
2015-03-12 13:17:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
2015-03-12 17:38:49 +08:00
|
|
|
<artifactId>mysql-connector-mxj</artifactId>
|
2015-03-12 13:17:28 +08:00
|
|
|
<version>5.0.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
2015-03-12 17:38:49 +08:00
|
|
|
<artifactId>mysql-connector-mxj-db-files</artifactId>
|
2015-03-12 13:17:28 +08:00
|
|
|
<version>5.0.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-03-03 22:21:35 +08:00
|
|
|
<!-- Spring End -->
|
2015-03-03 20:14:43 +08:00
|
|
|
|
2015-03-03 22:21:35 +08:00
|
|
|
<!-- Log -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-access</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
</dependency>
|
2015-03-30 13:52:51 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.ctrip.framework.clogging</groupId>
|
|
|
|
<artifactId>clogging-agent</artifactId>
|
|
|
|
<version>3.3.2</version>
|
|
|
|
</dependency>
|
2015-03-03 22:21:35 +08:00
|
|
|
<!-- Log End -->
|
|
|
|
|
2015-03-04 22:01:23 +08:00
|
|
|
<!-- Jetty -->
|
2015-03-03 22:21:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
2015-03-04 22:01:23 +08:00
|
|
|
<version>${jetty.version}</version>
|
2015-03-03 22:21:35 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
2015-03-04 22:01:23 +08:00
|
|
|
<version>${jetty.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
</dependency>
|
2015-03-05 17:01:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jsp</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>apache-jstl</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
</dependency>
|
2015-03-04 22:01:23 +08:00
|
|
|
<!-- Jetty End -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.netflix.archaius</groupId>
|
|
|
|
<artifactId>archaius-core</artifactId>
|
|
|
|
<version>0.6.5</version>
|
2015-03-03 22:21:35 +08:00
|
|
|
</dependency>
|
2015-03-07 15:13:22 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>18.0</version>
|
|
|
|
</dependency>
|
2015-03-08 22:31:12 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-exec</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
</dependency>
|
2015-03-03 22:21:35 +08:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.unidal.maven.plugins</groupId>
|
|
|
|
<artifactId>codegen-maven-plugin</artifactId>
|
|
|
|
<version>2.1.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate dal jdbc model</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>dal-jdbc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<manifest><![CDATA[,
|
2015-03-03 20:14:43 +08:00
|
|
|
${basedir}/src/main/resources/META-INF/dal/jdbc/core-manifest.xml,
|
|
|
|
,]]></manifest>
|
2015-03-03 22:21:35 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generate dal model files</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>dal-model</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<manifest><![CDATA[
|
2015-03-03 20:14:43 +08:00
|
|
|
${basedir}/src/main/resources/META-INF/dal/model/model-manifest.xml,
|
2015-03-16 19:29:36 +08:00
|
|
|
${basedir}/src/main/resources/META-INF/dal/model/page-manifest.xml,
|
|
|
|
${basedir}/src/main/resources/META-INF/dal/model/status-manifest.xml,
|
2015-03-19 20:18:34 +08:00
|
|
|
${basedir}/src/main/resources/META-INF/dal/model/nginx-manifest.xml,
|
2015-03-03 20:14:43 +08:00
|
|
|
]]></manifest>
|
2015-03-03 22:21:35 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.unidal.maven.plugins</groupId>
|
|
|
|
<artifactId>plexus-maven-plugin</artifactId>
|
2015-03-13 22:08:07 +08:00
|
|
|
<version>2.1.1</version>
|
2015-03-03 22:21:35 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate plexus component descriptor</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>plexus</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<className>com.ctrip.zeus.build.ComponentsConfigurator</className>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-03-04 22:39:03 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2015-03-05 14:31:42 +08:00
|
|
|
<version>2.2</version>
|
2015-03-04 22:39:03 +08:00
|
|
|
<configuration>
|
2015-03-05 17:43:30 +08:00
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
2015-03-04 22:39:03 +08:00
|
|
|
<descriptors>
|
2015-03-05 14:31:42 +08:00
|
|
|
<descriptor>assembly/assembly.xml</descriptor>
|
2015-03-04 22:39:03 +08:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
2015-03-05 14:31:42 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-03-04 22:39:03 +08:00
|
|
|
</plugin>
|
2015-03-09 16:40:11 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>utf-8</encoding>
|
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-03-03 22:21:35 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-03-11 20:55:15 +08:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>central</id>
|
|
|
|
<url>http://repo1.maven.org/maven2</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>frameworks</id>
|
|
|
|
<url>https://raw.githubusercontent.com/unidal/frameworks/mvn-repo</url>
|
|
|
|
<releases>
|
|
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>central</id>
|
|
|
|
<url>http://repo1.maven.org/maven2</url>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>maven-plugins</id>
|
|
|
|
<url>https://raw.githubusercontent.com/unidal/maven-plugins/mvn-repo</url>
|
|
|
|
<releases>
|
|
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
2015-03-03 22:21:35 +08:00
|
|
|
<properties>
|
|
|
|
<jersey.version>2.16</jersey.version>
|
|
|
|
<spring.version>4.1.5.RELEASE</spring.version>
|
|
|
|
<slf4j.version>1.7.5</slf4j.version>
|
|
|
|
<logback.version>1.1.1</logback.version>
|
2015-03-04 22:01:23 +08:00
|
|
|
<jetty.version>9.2.3.v20140905</jetty.version>
|
2015-03-03 22:21:35 +08:00
|
|
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
2015-02-28 16:09:55 +08:00
|
|
|
</project>
|
|
|
|
|