pom.xml 3.0 KB
Newer Older
F
Frankie Wu 已提交
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4 5
<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">
   <parent>
      <groupId>com.dianping.cat</groupId>
      <artifactId>parent</artifactId>
Y
youyong205 已提交
6
      <version>1.1.4</version>
7 8 9
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>cat-consumer</artifactId>
Y
yong.you 已提交
10
   <name>cat-consumer</name>
Y
yong.you 已提交
11
   <packaging>jar</packaging>
12 13 14
   <dependencies>
      <dependency>
         <groupId>com.dianping.cat</groupId>
15
         <artifactId>cat-core</artifactId>
16 17
      </dependency>
      <dependency>
Y
youyong 已提交
18
         <groupId>org.unidal.framework</groupId>
F
Frankie Wu 已提交
19
         <artifactId>test-framework</artifactId>
Y
youyong205 已提交
20
         <version>2.1.0</version>
F
Frankie Wu 已提交
21
         <scope>test</scope>
22
      </dependency>
Y
youyong 已提交
23 24 25 26 27
      <dependency>
         <groupId>com.google.code.gson</groupId>
         <artifactId>gson</artifactId>
         <scope>test</scope>
      </dependency>
28 29 30 31 32 33 34 35 36 37 38
      <dependency>
         <groupId>mysql</groupId>
         <artifactId>mysql-connector-java</artifactId>
         <scope>runtime</scope>
      </dependency>
   </dependencies>
   <build>
      <plugins>
         <plugin>
            <groupId>org.unidal.maven.plugins</groupId>
            <artifactId>codegen-maven-plugin</artifactId>
Y
youyong205 已提交
39
            <version>2.0.9</version>
40 41 42 43 44 45 46 47
            <executions>
               <execution>
                  <id>generate report models</id>
                  <phase>generate-sources</phase>
                  <goals>
                     <goal>dal-model</goal>
                  </goals>
                  <configuration>
Y
youyong205 已提交
48
                     <manifest>${basedir}/src/main/resources/META-INF/dal/model/transaction-report-manifest.xml,
F
Frankie Wu 已提交
49
							${basedir}/src/main/resources/META-INF/dal/model/event-report-manifest.xml,
50 51
							${basedir}/src/main/resources/META-INF/dal/model/problem-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/heartbeat-report-manifest.xml,
Y
youyong 已提交
52
							${basedir}/src/main/resources/META-INF/dal/model/state-report-manifest.xml,
53
							${basedir}/src/main/resources/META-INF/dal/model/top-report-manifest.xml,
Y
youyong205 已提交
54
							${basedir}/src/main/resources/META-INF/dal/model/company-manifest.xml,</manifest>
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
                  </configuration>
               </execution>
               <execution>
                  <id>generate plexus component descriptor</id>
                  <phase>process-classes</phase>
                  <goals>
                     <goal>plexus</goal>
                  </goals>
                  <configuration>
                     <className>com.dianping.cat.consumer.build.ComponentsConfigurator</className>
                     <env>dev</env>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
72 73 74
   <properties>
      <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
   </properties>
F
Frankie Wu 已提交
75
</project>
76