1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
\r
4 <modelVersion>4.0.0</modelVersion>
\r
6 <groupId>com.example</groupId>
\r
7 <artifactId>single_module_application</artifactId>
\r
8 <packaging>war</packaging>
\r
9 <version>1.0-SNAPSHOT</version>
\r
10 <name>single_module_application</name>
\r
17 <vaadin.version>8.6.4</vaadin.version>
\r
18 <vaadin.plugin.version>8.6.4</vaadin.plugin.version>
\r
19 <jetty.plugin.version>9.3.9.v20160517</jetty.plugin.version>
\r
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
21 <maven.compiler.source>1.8</maven.compiler.source>
\r
22 <maven.compiler.target>1.8</maven.compiler.target>
\r
23 <!-- If there are no local customizations, this can also be "fetch" or "cdn" -->
\r
24 <vaadin.widgetset.mode>local</vaadin.widgetset.mode>
\r
29 <id>vaadin-addons</id>
\r
30 <url>http://maven.vaadin.com/vaadin-addons</url>
\r
34 <dependencyManagement>
\r
37 <groupId>com.vaadin</groupId>
\r
38 <artifactId>vaadin-bom</artifactId>
\r
39 <version>${vaadin.version}</version>
\r
41 <scope>import</scope>
\r
44 </dependencyManagement>
\r
48 <groupId>javax.servlet</groupId>
\r
49 <artifactId>javax.servlet-api</artifactId>
\r
50 <version>3.0.1</version>
\r
51 <scope>provided</scope>
\r
54 <groupId>com.vaadin</groupId>
\r
55 <artifactId>vaadin-server</artifactId>
\r
58 <groupId>com.vaadin</groupId>
\r
59 <artifactId>vaadin-push</artifactId>
\r
62 <groupId>com.vaadin</groupId>
\r
63 <artifactId>vaadin-client-compiled</artifactId>
\r
66 <groupId>com.vaadin</groupId>
\r
67 <artifactId>vaadin-themes</artifactId>
\r
74 <groupId>org.apache.maven.plugins</groupId>
\r
75 <artifactId>maven-war-plugin</artifactId>
\r
76 <version>3.2.0</version>
\r
78 <failOnMissingWebXml>false</failOnMissingWebXml>
\r
79 <!-- Exclude an unnecessary file generated by the GWT compiler. -->
\r
80 <packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
\r
84 <groupId>com.vaadin</groupId>
\r
85 <artifactId>vaadin-maven-plugin</artifactId>
\r
86 <version>${vaadin.plugin.version}</version>
\r
90 <goal>update-theme</goal>
\r
91 <goal>update-widgetset</goal>
\r
92 <goal>compile</goal>
\r
93 <!-- Comment out compile-theme goal to use on-the-fly theme compilation -->
\r
94 <goal>compile-theme</goal>
\r
100 <groupId>org.apache.maven.plugins</groupId>
\r
101 <artifactId>maven-clean-plugin</artifactId>
\r
102 <version>3.0.0</version>
\r
103 <!-- Clean up also any pre-compiled themes -->
\r
107 <directory>src/main/webapp/VAADIN/themes</directory>
\r
109 <include>**/styles.css</include>
\r
110 <include>**/styles.scss.cache</include>
\r
117 <!-- The Jetty plugin allows us to easily test the development build by
\r
118 running jetty:run on the command line. -->
\r
120 <groupId>org.eclipse.jetty</groupId>
\r
121 <artifactId>jetty-maven-plugin</artifactId>
\r
122 <version>${jetty.plugin.version}</version>
\r
124 <scanIntervalSeconds>2</scanIntervalSeconds>
\r
132 <!-- Vaadin pre-release repositories -->
\r
133 <id>vaadin-prerelease</id>
\r
135 <activeByDefault>false</activeByDefault>
\r
140 <id>vaadin-prereleases</id>
\r
141 <url>http://maven.vaadin.com/vaadin-prereleases</url>
\r
144 <id>vaadin-snapshots</id>
\r
145 <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
\r
147 <enabled>false</enabled>
\r
150 <enabled>true</enabled>
\r
154 <pluginRepositories>
\r
156 <id>vaadin-prereleases</id>
\r
157 <url>http://maven.vaadin.com/vaadin-prereleases</url>
\r
158 </pluginRepository>
\r
160 <id>vaadin-snapshots</id>
\r
161 <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
\r
163 <enabled>false</enabled>
\r
166 <enabled>true</enabled>
\r
168 </pluginRepository>
\r
169 </pluginRepositories>
\r