OSDN Git Service

83decbf8230c686f6f2d30eb1e6649fee08d11f1
[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>javax.servlet</groupId>
50                         <artifactId>javax.servlet-api</artifactId>
51                         <version>3.0.1</version>
52                         <scope>provided</scope>
53                 </dependency>
54         
55                 <dependency>
56                         <groupId>com.vaadin</groupId>
57                         <artifactId>vaadin-server</artifactId>
58                 </dependency>
59                 <dependency>
60                         <groupId>com.vaadin</groupId>
61                         <artifactId>vaadin-push</artifactId>
62                 </dependency>
63                 <dependency>
64                         <groupId>com.vaadin</groupId>
65                         <artifactId>vaadin-client</artifactId>
66                         <scope>provided</scope>
67                 </dependency>
68                 <!--
69                   Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
70                   
71                   For widgetset compilation, vaadin-client-compiler is automatically added on the
72                   compilation classpath by vaadin-maven-plugin so normally there is no need for an
73                   explicit dependency.
74                 -->
75                 <!--
76                 <dependency>
77                         <groupId>com.vaadin</groupId>
78                         <artifactId>vaadin-client-compiler</artifactId>
79                         <scope>provided</scope>
80                 </dependency>
81                 -->
82                 <dependency>
83                         <groupId>com.vaadin</groupId>
84                         <artifactId>vaadin-themes</artifactId>
85                 </dependency>
86          <dependency>
87           <groupId>com.orientechnologies</groupId>
88           <artifactId>orientdb-server</artifactId>
89           <version>2.1.7</version>
90          </dependency>
91          <dependency>
92           <groupId>com.orientechnologies</groupId>
93           <artifactId>orientdb-enterprise</artifactId>
94           <version>2.1.7</version>
95          </dependency>
96          <dependency>
97           <groupId>net.korabo.lib</groupId>
98           <artifactId>korabolib</artifactId>
99           <version>1.2.4</version>
100          </dependency>
101          <dependency>
102           <groupId>org.vaadin.addons</groupId>
103           <artifactId>dcharts-widget</artifactId>
104           <version>1.7.0</version>
105           <scope>compile</scope>
106          </dependency>
107       <dependency>
108          <groupId>org.vaadin.addons.lazyquerycontainer</groupId>
109          <artifactId>vaadin-lazyquerycontainer</artifactId>
110          <version>7.6.1.3</version>
111       </dependency>
112
113     </dependencies>
114
115         <build>
116                 <plugins>
117                         <plugin>
118                                 <groupId>org.apache.maven.plugins</groupId>
119                                 <artifactId>maven-compiler-plugin</artifactId>
120                                 <version>3.3</version>
121                                 <configuration>
122                                         <encoding>${project.encoding}</encoding>
123                                         <source>1.8</source>
124                                         <target>1.8</target>
125                                 </configuration>
126                         </plugin>
127                         <plugin>
128                                 <groupId>org.apache.maven.plugins</groupId>
129                                 <artifactId>maven-resources-plugin</artifactId>
130                                 <version>2.6</version>
131                                 <configuration>
132                                         <encoding>${project.encoding}</encoding>
133                                 </configuration>
134                         </plugin>
135                         <plugin>
136                                 <groupId>org.apache.maven.plugins</groupId>
137                                 <artifactId>maven-war-plugin</artifactId>
138                                 <version>2.3</version>
139                                 <configuration>
140                                         <failOnMissingWebXml>false</failOnMissingWebXml>
141                                         <!-- Exclude some unnecessary files generated by the GWT compiler. -->
142                                         <packagingExcludes>WEB-INF/classes/VAADIN/gwt-unitCache/**,
143                                                 WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
144                                 </configuration>
145                         </plugin>
146                         <plugin>
147                                 <groupId>com.vaadin</groupId>
148                                 <artifactId>vaadin-maven-plugin</artifactId>
149                                 <version>${vaadin.plugin.version}</version>
150                                 <configuration>
151                                         <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
152                                         <webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory>
153                                         <draftCompile>false</draftCompile>
154                                         <compileReport>false</compileReport>
155                                         <style>OBF</style>
156                                         <strict>true</strict>
157                                  <runTarget>http://localhost:8080/vaadin01</runTarget>
158                                 </configuration>
159                                 <executions>
160                                         <execution>
161                                                 <goals>
162                                                         <goal>update-theme</goal>
163                                                         <goal>update-widgetset</goal>
164                                                         <goal>compile</goal>
165                                                         <!-- disabled by default to use on-the-fly theme compilation -->
166                                                         <!-- <goal>compile-theme</goal> -->
167                                                 </goals>
168                                         </execution>
169                                 </executions>
170                         </plugin>
171                         <plugin>
172                                 <groupId>org.apache.maven.plugins</groupId>
173                                 <artifactId>maven-source-plugin</artifactId>
174                                 <version>2.4</version>
175                         </plugin>
176                         <plugin>
177                                 <groupId>org.apache.maven.plugins</groupId>
178                                 <artifactId>maven-clean-plugin</artifactId>
179                                 <version>2.6.1</version>
180                                 <!-- Clean up also any pre-compiled themes -->
181                                 <configuration>
182                                         <filesets>
183                                                 <fileset>
184                                                         <directory>src/main/webapp/VAADIN/themes</directory>
185                                                         <includes>
186                                                                 <include>**/styles.css</include>
187                                                                 <include>**/styles.scss.cache</include>
188                                                         </includes>
189                                                 </fileset>
190                                         </filesets>
191                                 </configuration>
192                         </plugin>
193
194                         <!-- The Jetty plugin allows us to easily test the development build by
195                                 running jetty:run on the command line. -->
196                         <plugin>
197                                 <groupId>org.eclipse.jetty</groupId>
198                                 <artifactId>jetty-maven-plugin</artifactId>
199                                 <version>${jetty.plugin.version}</version>
200                                 <configuration>
201                                     <scanIntervalSeconds>2</scanIntervalSeconds>
202                                 </configuration>
203                         </plugin>
204                 </plugins>
205
206                 <pluginManagement>
207                         <plugins>
208                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
209                                 <!-- TODO Remove when http://dev.vaadin.com/ticket/14924 is resolved -->
210                                 <plugin>
211                                         <groupId>org.eclipse.m2e</groupId>
212                                         <artifactId>lifecycle-mapping</artifactId>
213                                         <version>1.0.0</version>
214                                         <configuration>
215                                                 <lifecycleMappingMetadata>
216                                                         <pluginExecutions>
217                                                                 <pluginExecution>
218                                                                         <pluginExecutionFilter>
219                                                                                 <groupId>com.vaadin</groupId>
220                                                                                 <artifactId>
221                                                                                         vaadin-maven-plugin
222                                                                                 </artifactId>
223                                                                                 <versionRange>[7.1.11,)</versionRange>
224                                                                                 <goals>
225                                                                                         <goal>resources</goal>
226                                                                                         <goal>update-widgetset</goal>
227                                                                                         <goal>compile</goal>
228                                                                                         <goal>compile-theme</goal>
229                                                                                         <goal>update-theme</goal>
230                                                                                 </goals>
231                                                                         </pluginExecutionFilter>
232                                                                         <action>
233                                                                                 <ignore></ignore>
234                                                                         </action>
235                                                                 </pluginExecution>
236                                                         </pluginExecutions>
237                                                 </lifecycleMappingMetadata>
238                                         </configuration>
239                                 </plugin>
240                         </plugins>
241                 </pluginManagement>
242
243         </build>
244
245         <profiles>
246                 <profile>
247                         <!-- Vaadin pre-release repositories -->
248                         <id>vaadin-prerelease</id>
249                         <activation>
250                                 <activeByDefault>false</activeByDefault>
251                         </activation>
252                         
253                         <repositories>
254                                 <repository>
255                                         <id>vaadin-prereleases</id>
256                                         <url>http://maven.vaadin.com/vaadin-prereleases</url>
257                                 </repository>
258                 <repository>
259                    <id>vaadin-addons</id>
260                    <url>http://maven.vaadin.com/vaadin-addons</url>
261                 </repository>
262                         </repositories>
263                         <pluginRepositories>
264                                 <pluginRepository>
265                                         <id>vaadin-prereleases</id>
266                                         <url>http://maven.vaadin.com/vaadin-prereleases</url>
267                                 </pluginRepository>
268                         </pluginRepositories>
269                 </profile>
270         </profiles>
271
272 </project>