OSDN Git Service

add jsp-api
[spiga-app/vaadin.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4
5         <groupId>net.korabo.app</groupId>
6         <artifactId>vaadin01</artifactId>
7         <packaging>war</packaging>
8         <version>1.0-SNAPSHOT</version>
9         <name>vaadin01</name>
10
11         <properties>
12                 <vaadin.version>7.6.3</vaadin.version>
13                 <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
14                 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
15                 <project.encoding>UTF-8</project.encoding>
16         </properties>
17
18         <repositories>
19                 <repository>
20                         <id>vaadin-addons</id>
21                         <url>http://maven.vaadin.com/vaadin-addons</url>
22                 </repository>
23                 <repository>
24                         <id>vaadin-snapshots</id>
25                         <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
26                         <releases>
27                                 <enabled>false</enabled>
28                         </releases>
29                         <snapshots>
30                                 <enabled>true</enabled>
31                         </snapshots>
32                 </repository>
33         </repositories>
34
35         <dependencyManagement>
36                 <dependencies>
37                         <dependency>
38                                 <groupId>com.vaadin</groupId>
39                                 <artifactId>vaadin-bom</artifactId>
40                                 <version>${vaadin.version}</version>
41                                 <type>pom</type>
42                                 <scope>import</scope>
43                         </dependency>
44                 </dependencies>
45         </dependencyManagement>
46
47         <dependencies>
48             <dependency>
49                 <groupId>org.ow2.asm</groupId>
50                 <artifactId>asm</artifactId>
51                 <version>5.0.3</version>
52                 <scope>compile</scope>
53             </dependency>
54             <!--<dependency org="javax.servlet.jsp" name="jsp-api" rev="2.2" />-->
55                 <dependency>
56                         <groupId>javax.servlet</groupId>
57                         <artifactId>javax.servlet-api</artifactId>
58                         <version>3.0.1</version>
59                         <scope>provided</scope>
60                 </dependency>
61          <dependency>
62           <groupId>javax.servlet.jsp</groupId>
63           <artifactId>jsp-api</artifactId>
64           <version>2.2</version>
65          </dependency>
66         
67                 <dependency>
68                         <groupId>com.vaadin</groupId>
69                         <artifactId>vaadin-server</artifactId>
70                 </dependency>
71                 <dependency>
72                         <groupId>com.vaadin</groupId>
73                         <artifactId>vaadin-push</artifactId>
74                 </dependency>
75                 <dependency>
76                         <groupId>com.vaadin</groupId>
77                         <artifactId>vaadin-client</artifactId>
78                         <scope>provided</scope>
79                 </dependency>
80                 <!--
81                   Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
82                   
83           For widgetset compilation, vaadin-client-compiler is automatically added on the
84           compilation classpath by vaadin-maven-plugin so normally there is no need for an
85           explicit dependency.
86         -->
87         <!--
88         <dependency>
89                 <groupId>com.vaadin</groupId>
90                 <artifactId>vaadin-client-compiler</artifactId>
91                 <scope>provided</scope>
92         </dependency>
93         -->
94         <dependency>
95             <groupId>com.vaadin</groupId>
96             <artifactId>vaadin-themes</artifactId>
97         </dependency>
98         <dependency>
99             <groupId>org.vaadin.addons.lazyquerycontainer</groupId>
100             <artifactId>vaadin-lazyquerycontainer</artifactId>
101             <version>7.6.1.3</version>
102         </dependency>
103         <dependency>
104             <groupId>org.tylproject.vaadin.addon.fieldbinder</groupId>
105             <artifactId>field-binder</artifactId>
106             <version>1.4</version>
107         </dependency>
108         <dependency>
109             <groupId>com.orientechnologies</groupId>
110             <artifactId>orientdb-server</artifactId>
111             <version>2.1.7</version>
112         </dependency>
113         <dependency>
114             <groupId>com.orientechnologies</groupId>
115             <artifactId>orientdb-enterprise</artifactId>
116             <version>2.1.7</version>
117         </dependency>
118         <dependency>
119             <groupId>com.orientechnologies</groupId>
120             <artifactId>orientdb-graphdb</artifactId>
121             <version>2.1.7</version>
122         </dependency>
123         <dependency>
124             <groupId>com.orientechnologies</groupId>
125             <artifactId>orientdb-object</artifactId>
126             <version>2.1.7</version>
127         </dependency>
128         <dependency>
129             <groupId>net.korabo.lib</groupId>
130             <artifactId>korabolib</artifactId>
131             <version>1.2.4</version>
132         </dependency>
133         <dependency>
134             <groupId>org.vaadin.addons</groupId>
135             <artifactId>dcharts-widget</artifactId>
136             <version>1.7.0</version>
137             <scope>compile</scope>
138         </dependency>
139         <dependency>
140             <groupId>org.vaadin.addons.lazyquerycontainer</groupId>
141             <artifactId>vaadin-lazyquerycontainer</artifactId>
142             <version>7.6.1.3</version>
143         </dependency>
144     </dependencies>
145
146     <build>
147         <plugins>
148             <plugin>
149                 <groupId>org.apache.maven.plugins</groupId>
150                 <artifactId>maven-compiler-plugin</artifactId>
151                 <version>3.3</version>
152                 <configuration>
153                     <encoding>${project.encoding}</encoding>
154                     <source>1.8</source>
155                     <target>1.8</target>
156                 </configuration>
157             </plugin>
158             <plugin>
159                 <groupId>org.apache.maven.plugins</groupId>
160                 <artifactId>maven-resources-plugin</artifactId>
161                 <version>2.6</version>
162                 <configuration>
163                     <encoding>${project.encoding}</encoding>
164                 </configuration>
165             </plugin>
166             <plugin>
167                 <groupId>org.apache.maven.plugins</groupId>
168                 <artifactId>maven-war-plugin</artifactId>
169                 <version>2.3</version>
170                 <configuration>
171                     <failOnMissingWebXml>false</failOnMissingWebXml>
172                     <!-- Exclude some unnecessary files generated by the GWT compiler. -->
173                     <packagingExcludes>WEB-INF/classes/VAADIN/gwt-unitCache/**,
174                         WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
175                 </configuration>
176             </plugin>
177             <plugin>
178                 <groupId>com.vaadin</groupId>
179                 <artifactId>vaadin-maven-plugin</artifactId>
180                 <version>${vaadin.plugin.version}</version>
181                 <configuration>
182                     <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
183                     <webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory>
184                     <draftCompile>false</draftCompile>
185                     <compileReport>false</compileReport>
186                     <style>OBF</style>
187                     <strict>true</strict>
188                     <runTarget>http://localhost:8888/vaadin01</runTarget>
189                 </configuration>
190                 <executions>
191                     <execution>
192                         <goals>
193                             <goal>update-theme</goal>
194                             <goal>update-widgetset</goal>
195                             <goal>compile</goal>
196                             <!-- disabled by default to use on-the-fly theme compilation -->
197                             <!-- <goal>compile-theme</goal> -->
198                         </goals>
199                     </execution>
200                 </executions>
201             </plugin>
202             <plugin>
203                 <groupId>org.apache.maven.plugins</groupId>
204                 <artifactId>maven-source-plugin</artifactId>
205                 <version>2.4</version>
206             </plugin>
207             <plugin>
208                 <groupId>org.apache.maven.plugins</groupId>
209                 <artifactId>maven-clean-plugin</artifactId>
210                 <version>2.6.1</version>
211                 <!-- Clean up also any pre-compiled themes -->
212                 <configuration>
213                     <filesets>
214                         <fileset>
215                             <directory>src/main/webapp/VAADIN/themes</directory>
216                             <includes>
217                                 <include>**/styles.css</include>
218                                 <include>**/styles.scss.cache</include>
219                             </includes>
220                         </fileset>
221                     </filesets>
222                 </configuration>
223             </plugin>
224
225             <!-- The Jetty plugin allows us to easily test the development build by
226             running jetty:run on the command line. -->
227             <plugin>
228                 <groupId>org.eclipse.jetty</groupId>
229                 <artifactId>jetty-maven-plugin</artifactId>
230                 <version>${jetty.plugin.version}</version>
231                 <configuration>
232                     <scanIntervalSeconds>2</scanIntervalSeconds>
233                 </configuration>
234             </plugin>
235         </plugins>
236
237         <pluginManagement>
238             <plugins>
239                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
240                 <!-- TODO Remove when http://dev.vaadin.com/ticket/14924 is resolved -->
241                 <plugin>
242                     <groupId>org.eclipse.m2e</groupId>
243                     <artifactId>lifecycle-mapping</artifactId>
244                     <version>1.0.0</version>
245                     <configuration>
246                         <lifecycleMappingMetadata>
247                             <pluginExecutions>
248                                 <pluginExecution>
249                                     <pluginExecutionFilter>
250                                         <groupId>com.vaadin</groupId>
251                                         <artifactId>
252                                             vaadin-maven-plugin
253                                         </artifactId>
254                                         <versionRange>[7.1.11,)</versionRange>
255                                         <goals>
256                                             <goal>resources</goal>
257                                             <goal>update-widgetset</goal>
258                                             <goal>compile</goal>
259                                             <goal>compile-theme</goal>
260                                             <goal>update-theme</goal>
261                                         </goals>
262                                     </pluginExecutionFilter>
263                                     <action>
264                                         <ignore></ignore>
265                                     </action>
266                                 </pluginExecution>
267                             </pluginExecutions>
268                         </lifecycleMappingMetadata>
269                     </configuration>
270                 </plugin>
271             </plugins>
272         </pluginManagement>
273
274     </build>
275
276     <profiles>
277         <profile>
278             <!-- Vaadin pre-release repositories -->
279             <id>vaadin-prerelease</id>
280             <activation>
281                 <activeByDefault>false</activeByDefault>
282             </activation>
283                         
284             <repositories>
285                 <repository>
286                     <id>vaadin-prereleases</id>
287                     <url>http://maven.vaadin.com/vaadin-prereleases</url>
288                 </repository>
289                 <repository>
290                     <id>vaadin-addons</id>
291                     <url>http://maven.vaadin.com/vaadin-addons</url>
292                 </repository>
293             </repositories>
294             <pluginRepositories>
295                 <pluginRepository>
296                     <id>vaadin-prereleases</id>
297                     <url>http://maven.vaadin.com/vaadin-prereleases</url>
298                 </pluginRepository>
299             </pluginRepositories>
300         </profile>
301     </profiles>
302
303 </project>