pom.xml 4.1 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>
F
Frankie Wu 已提交
6
      <version>0.6.0-SNAPSHOT</version>
7 8 9 10 11 12 13 14 15 16
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>cat-consumer</artifactId>
   <name>CAT Consumer</name>
   <dependencies>
      <dependency>
         <groupId>com.dianping.cat</groupId>
         <artifactId>cat-hadoop</artifactId>
      </dependency>
      <dependency>
Y
youyong 已提交
17
         <groupId>org.unidal.framework</groupId>
F
Frankie Wu 已提交
18 19 20 21 22 23 24
         <artifactId>dal-jdbc</artifactId>
         <version>2.0.1</version>
      </dependency>
      <dependency>
         <groupId>com.alibaba.cobar</groupId>
         <artifactId>cobar-server</artifactId>
         <version>1.3.0</version>
25 26
      </dependency>
      <dependency>
Y
youyong 已提交
27
         <groupId>org.unidal.framework</groupId>
F
Frankie Wu 已提交
28 29 30
         <artifactId>test-framework</artifactId>
         <version>2.0.2</version>
         <scope>test</scope>
31
      </dependency>
Y
youyong 已提交
32 33 34 35 36
      <dependency>
         <groupId>com.google.code.gson</groupId>
         <artifactId>gson</artifactId>
         <scope>test</scope>
      </dependency>
37 38 39 40 41 42 43 44 45 46 47
      <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 已提交
48
            <version>2.0.5</version>
49 50 51 52 53 54 55 56 57
            <executions>
               <execution>
                  <id>generate report models</id>
                  <phase>generate-sources</phase>
                  <goals>
                     <goal>dal-model</goal>
                  </goals>
                  <configuration>
                     <manifest>${basedir}/src/main/resources/META-INF/dal/model/database-report-manifest.xml,
F
Frankie Wu 已提交
58
							${basedir}/src/main/resources/META-INF/dal/model/sql-report-manifest.xml,
Y
youyong 已提交
59
							${basedir}/src/main/resources/META-INF/dal/model/health-report-manifest.xml,
F
Frankie Wu 已提交
60 61 62 63 64 65
							${basedir}/src/main/resources/META-INF/dal/model/cross-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/matrix-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/heartbeat-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/problem-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/transaction-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/event-report-manifest.xml,
Y
youyong 已提交
66
							${basedir}/src/main/resources/META-INF/dal/model/ip-report-manifest.xml,
Y
youyong 已提交
67 68
							${basedir}/src/main/resources/META-INF/dal/model/state-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/top-report-manifest.xml,</manifest>
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
                  </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>
               <execution>
                  <id>generate dal jdbc model</id>
                  <phase>generate-sources</phase>
                  <goals>
                     <goal>dal-jdbc</goal>
                  </goals>
                  <configuration>
                     <manifest><![CDATA[${basedir}/src/main/resources/META-INF/dal/jdbc/report-manifest.xml,]]></manifest>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
F
Frankie Wu 已提交
96
</project>
97