pom.xml 3.9 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.0.0</version>
7 8 9 10 11 12 13 14 15 16 17 18 19
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>cat-core</artifactId>
   <name>cat-core</name>
   <packaging>jar</packaging>
   <dependencies>
      <dependency>
         <groupId>com.dianping.cat</groupId>
         <artifactId>cat-client</artifactId>
      </dependency>
      <dependency>
         <groupId>org.unidal.framework</groupId>
         <artifactId>foundation-service</artifactId>
F
Frankie Wu 已提交
20
         <version>2.0.4</version>
21 22
      </dependency>
      <dependency>
S
sunryuan 已提交
23 24
         <groupId>org.unidal.webres</groupId>
         <artifactId>WebResBase</artifactId>
F
Frankie Wu 已提交
25
         <version>1.2.1</version>
26 27 28 29
      </dependency>
      <dependency>
         <groupId>org.unidal.framework</groupId>
         <artifactId>dal-jdbc</artifactId>
F
Frankie Wu 已提交
30
         <version>2.0.4</version>
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
      </dependency>
      <dependency>
         <groupId>org.jboss.netty</groupId>
         <artifactId>netty</artifactId>
      </dependency>
      <dependency>
         <groupId>javax.servlet</groupId>
         <artifactId>servlet-api</artifactId>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
         <optional>true</optional>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.unidal.framework</groupId>
         <artifactId>test-framework</artifactId>
F
Frankie Wu 已提交
50
         <version>2.0.4</version>
51 52 53 54 55 56 57 58
         <scope>test</scope>
      </dependency>
   </dependencies>
   <build>
      <plugins>
         <plugin>
            <groupId>org.unidal.maven.plugins</groupId>
            <artifactId>codegen-maven-plugin</artifactId>
Y
yong.you 已提交
59
            <version>2.0.8</version>
60 61 62 63 64 65 66 67
            <executions>
               <execution>
                  <id>generate data model</id>
                  <phase>generate-sources</phase>
                  <goals>
                     <goal>dal-model</goal>
                  </goals>
                  <configuration>
F
Frankie Wu 已提交
68 69 70
                     <manifest>
                        ${basedir}/src/main/resources/META-INF/dal/model/server-manifest.xml,
                     </manifest>
71 72 73 74 75 76 77 78 79
                  </configuration>
               </execution>
               <execution>
                  <id>generate dal jdbc model</id>
                  <phase>generate-sources</phase>
                  <goals>
                     <goal>dal-jdbc</goal>
                  </goals>
                  <configuration>
F
Frankie Wu 已提交
80 81 82 83 84 85
                     <manifest>
                        ${basedir}/src/main/resources/META-INF/dal/jdbc/report-manifest.xml,
						${basedir}/src/main/resources/META-INF/dal/jdbc/config-manifest.xml, 
						${basedir}/src/main/resources/META-INF/dal/jdbc/report-manifest.xml,
						${basedir}/src/main/resources/META-INF/dal/jdbc/config-manifest.xml,
					 </manifest>
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
                  </configuration>
               </execution>
               <execution>
                  <id>generate plexus component descriptor</id>
                  <phase>process-classes</phase>
                  <goals>
                     <goal>plexus</goal>
                  </goals>
                  <configuration>
                     <className>com.dianping.cat.build.ComponentsConfigurator</className>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
   <properties>
      <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
   </properties>
F
Frankie Wu 已提交
105
</project>
106