camel/camel-agent/pom.xml

162 lines
5.9 KiB
XML
Raw Normal View History

2015-12-03 23:47:57 +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/xsd/maven-4.0.0.xsd">
2016-08-30 14:52:59 +08:00
<parent>
<groupId>com.dianping.platform</groupId>
<artifactId>camel</artifactId>
<version>1.0.0</version>
</parent>
2015-12-03 23:47:57 +08:00
<modelVersion>4.0.0</modelVersion>
<groupId>com.dianping.platform</groupId>
2016-05-09 09:30:14 +08:00
<artifactId>camel-agent</artifactId>
<name>camel-agent</name>
2016-08-30 14:52:59 +08:00
<!-- if want to deploy on tomcat, change this to war -->
2015-12-03 23:47:57 +08:00
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2016-08-30 14:52:59 +08:00
<start-class>com.dianping.platform.slb.agent.CamelAgentApplication</start-class>
<!-- tomcat.version defines the version of tomcat which will be deployed on. above 7 is recommended. -->
<tomcat.version>7.0.63</tomcat.version>
<springboot.version>1.3.6.RELEASE</springboot.version>
2015-12-03 23:47:57 +08:00
</properties>
2016-08-30 14:52:59 +08:00
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${springboot.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
2015-12-03 23:47:57 +08:00
<dependencies>
2016-08-30 14:52:59 +08:00
<!-- spring boot framework -->
2015-12-03 23:47:57 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
2016-08-30 14:52:59 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- web related -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>3.0-0.3.15</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-el</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<version>${tomcat.version}</version>
2015-12-03 23:47:57 +08:00
</dependency>
2016-08-30 14:52:59 +08:00
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-logging-juli</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-websocket</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jsp-api</artifactId>
<version>${tomcat.version}</version>
</dependency>
<!-- log -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<!-- common utils -->
2015-12-03 23:47:57 +08:00
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
2016-08-30 14:52:59 +08:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
2015-12-03 23:47:57 +08:00
</dependency>
2015-12-04 02:49:43 +08:00
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
2015-12-03 23:47:57 +08:00
</dependencies>
<build>
<plugins>
2016-08-30 14:52:59 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
2015-12-03 23:47:57 +08:00
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
2016-08-30 14:52:59 +08:00
<version>${springboot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>${start-class}</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<archive>
<manifest>
<mainClass>${start-class}</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
2015-12-03 23:47:57 +08:00
</plugin>
</plugins>
</build>
</project>