get extjs-wrapped dependency from maven central repository
[jibu.git] / jibu-web / jibu-core-extjs / pom.xml
Commit [+] Author Date Line Data
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
dac81c45
TW
Tommy Wang2010-07-27 10:06:16 +080019 xmlns="http://maven.apache.org/POM/4.0.0"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +080021 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.gaixie.jibu</groupId>
24 <artifactId>jibu-web</artifactId>
25 <version>1.0.0-SNAPSHOT</version>
26 </parent>
27
28 <groupId>org.gaixie.jibu.web</groupId>
29 <artifactId>jibu-core-extjs</artifactId>
30 <name>Jibu Web :: Core (Extjs)</name>
31 <packaging>war</packaging>
32
33 <properties>
34 <build.webappDirectory>${project.build.directory}/${project.build.finalName}</build.webappDirectory>
35 </properties>
0e1dccd8 Tommy Wang2010-07-28 19:25:38 +080036
7e788128 Tommy Wang2010-07-26 01:15:27 +080037 <build>
dac81c45
TW
Tommy Wang2010-07-27 10:06:16 +080038 <resources>
39 <resource>
40 <directory>../../jibu-core/src/main/resources</directory>
41 </resource>
42 </resources>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +080043
44 <!--
45 重新指定编译后class文件的位置,否则每次mvn jetty:run之前都要mvn package
46 -->
47 <outputDirectory>${build.webappDirectory}/WEB-INF/classes</outputDirectory>
48 <plugins>
49 <plugin>
50 <artifactId>maven-war-plugin</artifactId>
dac81c45
TW
Tommy Wang2010-07-27 10:06:16 +080051 <configuration>
52 <warSourceExcludes>js/*.js</warSourceExcludes>
53 <overlays>
54 <overlay>
e61a1012 Tommy Wang2010-07-28 17:30:40 +080055 <groupId>org.gaixie.extjs-wrapped</groupId>
dac81c45
TW
Tommy Wang2010-07-27 10:06:16 +080056 <artifactId>extjs-wrapped</artifactId>
57 <type>zip</type>
58 </overlay>
59 </overlays>
60 </configuration>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +080061 </plugin>
62 <plugin>
63 <groupId>org.mortbay.jetty</groupId>
64 <artifactId>jetty-maven-plugin</artifactId>
65 <configuration>
dac81c45
TW
Tommy Wang2010-07-27 10:06:16 +080066 <!--
67 增加webdefault.xml的配置,解决windows下jetty run时文件lock问题。
68 见http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows (7.1.x的配置稍有不同)
69 多个webapp配置
70 参考6.1.x配置:http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory
71 如果7.1.x版本:implementation类不同,
72 见http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/resource/ResourceCollection.html
73 -->
7e788128 Tommy Wang2010-07-26 01:15:27 +080074 <webAppConfig>
dac81c45 Tommy Wang2010-07-27 10:06:16 +080075 <defaultsDescriptor>src/test/resources/webdefault.xml</defaultsDescriptor>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +080076 <baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
77 <resourcesAsCSV>src/main/webapp,${build.webappDirectory}</resourcesAsCSV>
78 </baseResource>
79 </webAppConfig>
80 </configuration>
81 </plugin>
82 <plugin>
0cd2867f Tommy Wang2010-07-29 17:00:03 +080083 <groupId>net.sf.alchim</groupId>
7e788128 Tommy Wang2010-07-26 01:15:27 +080084 <artifactId>yuicompressor-maven-plugin</artifactId>
0cd2867f Tommy Wang2010-07-29 17:00:03 +080085 <version>0.7.1</version>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +080086 <executions>
87 <execution>
88 <goals>
89 <goal>compress</goal>
90 </goals>
91 </execution>
92 </executions>
93 <configuration>
94 <nosuffix>true</nosuffix>
95 <aggregations>
96 <aggregation>
dac81c45 Tommy Wang2010-07-27 10:06:16 +080097 <removeIncluded>true</removeIncluded>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +080098 <output>${project.build.directory}/${project.build.finalName}/js/jibu-core-all.js</output>
99 <!-- files to include, path relative to output's directory or absolute path-->
100 <includes>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +0800101 <include>**/*.js</include>
102 </includes>
103 </aggregation>
104 </aggregations>
105 </configuration>
106 </plugin>
107 </plugins>
108 </build>
109 <dependencies>
110 <dependency>
dac81c45
TW
Tommy Wang2010-07-27 10:06:16 +0800111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 </dependency>
114 <dependency>
115 <groupId>org.easymock</groupId>
116 <artifactId>easymock</artifactId>
117 </dependency>
118 <dependency>
90f3cfcc
TW
Tommy Wang2010-07-28 10:29:07 +0800119 <groupId>com.google.inject</groupId>
120 <artifactId>guice</artifactId>
121 </dependency>
122 <dependency>
123 <groupId>com.google.inject.extensions</groupId>
124 <artifactId>guice-servlet</artifactId>
125 </dependency>
126 <dependency>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +0800127 <groupId>org.mortbay.jetty</groupId>
128 <artifactId>servlet-api</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>org.slf4j</groupId>
132 <artifactId>slf4j-api</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>ch.qos.logback</groupId>
136 <artifactId>logback-core</artifactId>
137 </dependency>
138 <dependency>
139 <groupId>ch.qos.logback</groupId>
140 <artifactId>logback-classic</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>org.gaixie.jibu</groupId>
144 <artifactId>jibu-core</artifactId>
145 </dependency>
146 <dependency>
e61a1012 Tommy Wang2010-07-28 17:30:40 +0800147 <groupId>org.gaixie.extjs-wrapped</groupId>
7e788128 Tommy Wang2010-07-26 01:15:27 +0800148 <artifactId>extjs-wrapped</artifactId>
0e1dccd8 Tommy Wang2010-07-28 19:25:38 +0800149 <version>3.2.1</version>
0cd2867f Tommy Wang2010-07-29 17:00:03 +0800150 <type>zip</type>
7e788128
TW
Tommy Wang2010-07-26 01:15:27 +0800151 </dependency>
152 </dependencies>
153</project>