pom.xml 3.3 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
yong.you 已提交
6
      <version>0.6.2</version>
7 8 9 10 11 12 13
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>cat-consumer</artifactId>
   <name>CAT Consumer</name>
   <dependencies>
      <dependency>
         <groupId>com.dianping.cat</groupId>
14
         <artifactId>cat-core</artifactId>
15
      </dependency>
Y
yong.you 已提交
16 17 18 19 20
      <dependency>
         <groupId>org.unidal.webres</groupId>
         <artifactId>WebResBase</artifactId>
         <version>1.2.0</version>
      </dependency>
21
      <dependency>
Y
youyong 已提交
22
         <groupId>org.unidal.framework</groupId>
F
Frankie Wu 已提交
23
         <artifactId>test-framework</artifactId>
F
Frankie Wu 已提交
24
         <version>2.0.3</version>
F
Frankie Wu 已提交
25
         <scope>test</scope>
26
      </dependency>
Y
youyong 已提交
27 28 29 30 31
      <dependency>
         <groupId>com.google.code.gson</groupId>
         <artifactId>gson</artifactId>
         <scope>test</scope>
      </dependency>
32 33 34 35 36 37 38 39 40 41 42
      <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>
F
Frankie Wu 已提交
43
            <version>2.0.5</version>
44 45 46 47 48 49 50 51
            <executions>
               <execution>
                  <id>generate report models</id>
                  <phase>generate-sources</phase>
                  <goals>
                     <goal>dal-model</goal>
                  </goals>
                  <configuration>
52
                     <manifest>
F
Frankie Wu 已提交
53 54
							${basedir}/src/main/resources/META-INF/dal/model/transaction-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/event-report-manifest.xml,
55 56
							${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 已提交
57
							${basedir}/src/main/resources/META-INF/dal/model/state-report-manifest.xml,
58
							${basedir}/src/main/resources/META-INF/dal/model/top-report-manifest.xml,
Y
yong.you 已提交
59
							${basedir}/src/main/resources/META-INF/dal/model/aggreation-manifest.xml,
Y
yong.you 已提交
60
							${basedir}/src/main/resources/META-INF/dal/model/company-manifest.xml,
F
Frankie Wu 已提交
61
					 </manifest>
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
                  </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>
79 80 81
   <properties>
      <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
   </properties>
F
Frankie Wu 已提交
82
</project>
83