Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5.  
  6. <groupId>com.vaadin</groupId>
  7. <artifactId>VaadinApp</artifactId>
  8. <packaging>war</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10.  
  11. <name>VaadinApp</name>
  12.  
  13. <prerequisites>
  14. <maven>3</maven>
  15. </prerequisites>
  16.  
  17. <properties>
  18. <vaadin.version>8.0.6</vaadin.version>
  19. <vaadin.plugin.version>8.0.6</vaadin.plugin.version>
  20. <jetty.plugin.version>9.3.9.v20160517</jetty.plugin.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <maven.compiler.source>1.8</maven.compiler.source>
  23. <maven.compiler.target>1.8</maven.compiler.target>
  24. <!-- If there are no local customisations, this can also be "fetch" or "cdn" -->
  25. <vaadin.widgetset.mode>local</vaadin.widgetset.mode>
  26. </properties>
  27.  
  28. <repositories>
  29. <repository>
  30. <id>vaadin-addons</id>
  31. <url>http://maven.vaadin.com/vaadin-addons</url>
  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.  
  49. <!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
  50. <dependency>
  51. <groupId>org.xerial</groupId>
  52. <artifactId>sqlite-jdbc</artifactId>
  53. <version>3.18.0</version>
  54. </dependency>
  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>com.vaadin</groupId>
  63. <artifactId>vaadin-server</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.vaadin</groupId>
  67. <artifactId>vaadin-push</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.vaadin</groupId>
  71. <artifactId>vaadin-client-compiled</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.vaadin</groupId>
  75. <artifactId>vaadin-themes</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>junit</groupId>
  79. <artifactId>junit</artifactId>
  80. <version>${junit.version}</version>
  81. <scope>test</scope>
  82. </dependency>
  83. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  84. <dependency>
  85. <groupId>mysql</groupId>
  86. <artifactId>mysql-connector-java</artifactId>
  87. <version>5.1.42</version>
  88. </dependency>
  89.  
  90.  
  91. </dependencies>
  92. <build>
  93.  
  94.  
  95. <plugins>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-compiler-plugin</artifactId>
  99. <configuration>
  100. <source>1.8</source>
  101. <target>1.8</target>
  102. </configuration>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-war-plugin</artifactId>
  107. <version>3.0.0</version>
  108. <configuration>
  109. <failOnMissingWebXml>false</failOnMissingWebXml>
  110. <!-- Exclude an unnecessary file generated by the GWT compiler. -->
  111. <packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>com.vaadin</groupId>
  116. <artifactId>vaadin-maven-plugin</artifactId>
  117. <version>${vaadin.plugin.version}</version>
  118. <executions>
  119. <execution>
  120. <goals>
  121. <goal>update-theme</goal>
  122. <goal>update-widgetset</goal>
  123. <goal>compile</goal>
  124. <!-- Comment out compile-theme goal to use on-the-fly theme compilation -->
  125. <goal>compile-theme</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-clean-plugin</artifactId>
  133. <version>3.0.0</version>
  134. <!-- Clean up also any pre-compiled themes -->
  135. <configuration>
  136. <filesets>
  137. <fileset>
  138. <directory>src/main/webapp/VAADIN/themes</directory>
  139. <includes>
  140. <include>**/styles.css</include>
  141. <include>**/styles.scss.cache</include>
  142. </includes>
  143. </fileset>
  144. </filesets>
  145. </configuration>
  146. </plugin>
  147.  
  148. <!-- The Jetty plugin allows us to easily test the development build by
  149. running jetty:run on the command line. -->
  150. <plugin>
  151. <groupId>org.eclipse.jetty</groupId>
  152. <artifactId>jetty-maven-plugin</artifactId>
  153. <version>${jetty.plugin.version}</version>
  154. <configuration>
  155. <scanIntervalSeconds>2</scanIntervalSeconds>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. </build>
  160.  
  161. <profiles>
  162. <profile>
  163. <!-- Vaadin pre-release repositories -->
  164. <id>vaadin-prerelease</id>
  165. <activation>
  166. <activeByDefault>false</activeByDefault>
  167. </activation>
  168.  
  169. <repositories>
  170. <repository>
  171. <id>vaadin-prereleases</id>
  172. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  173. </repository>
  174. <repository>
  175. <id>vaadin-snapshots</id>
  176. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  177. <releases>
  178. <enabled>false</enabled>
  179. </releases>
  180. <snapshots>
  181. <enabled>true</enabled>
  182. </snapshots>
  183. </repository>
  184. </repositories>
  185. <pluginRepositories>
  186. <pluginRepository>
  187. <id>vaadin-prereleases</id>
  188. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  189. </pluginRepository>
  190. <pluginRepository>
  191. <id>vaadin-snapshots</id>
  192. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  193. <releases>
  194. <enabled>false</enabled>
  195. </releases>
  196. <snapshots>
  197. <enabled>true</enabled>
  198. </snapshots>
  199. </pluginRepository>
  200. </pluginRepositories>
  201. </profile>
  202. </profiles>
  203.  
  204. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement