You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

210 lines
6.3 KiB

10 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.edurekademo.tutorial</groupId>
  6. <artifactId>addressbook</artifactId>
  7. <packaging>war</packaging>
  8. <version>2.0</version>
  9. <name>Vaadin Addressbook example</name>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <failOnMissingWebXml>false</failOnMissingWebXml>
  13. <vaadin.version>8.0.0.alpha2</vaadin.version>
  14. <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
  15. </properties>
  16. <repositories>
  17. <repository>
  18. <id>vaadin-prereleases</id>
  19. <name>Vaadin Pre-releases</name>
  20. <url>https://maven.vaadin.com/vaadin-prereleases</url>
  21. </repository>
  22. <!-- Essential Vaadin artifacts are in maven central, but maven.vaadin.com
  23. contains a huge set of additional libraries. See vaadin.com/directory -->
  24. <repository>
  25. <id>vaadin-addons</id>
  26. <url>http://maven.vaadin.com/vaadin-addons</url>
  27. </repository>
  28. <repository>
  29. <id>vaadin-snapshots</id>
  30. <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  31. <releases>
  32. <enabled>false</enabled>
  33. </releases>
  34. <snapshots>
  35. <enabled>true</enabled>
  36. </snapshots>
  37. </repository>
  38. </repositories>
  39. <pluginRepositories>
  40. <pluginRepository>
  41. <id>vaadin-snapshots</id>
  42. <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  43. <releases>
  44. <enabled>false</enabled>
  45. </releases>
  46. <snapshots>
  47. <enabled>true</enabled>
  48. </snapshots>
  49. </pluginRepository>
  50. </pluginRepositories>
  51. <dependencies>
  52. <dependency>
  53. <groupId>com.vaadin</groupId>
  54. <artifactId>vaadin-compatibility-server</artifactId>
  55. <version>${vaadin.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.vaadin</groupId>
  59. <artifactId>vaadin-compatibility-shared</artifactId>
  60. <version>${vaadin.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.vaadin</groupId>
  64. <artifactId>vaadin-compatibility-client-compiled</artifactId>
  65. <version>${vaadin.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.vaadin</groupId>
  69. <artifactId>vaadin-themes</artifactId>
  70. <version>${vaadin.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>javax.servlet</groupId>
  74. <artifactId>javax.servlet-api</artifactId>
  75. <version>3.0.1</version>
  76. <scope>compile</scope>
  77. </dependency>
  78. <!-- The huge set of awesome Java libraries are available as such
  79. for Vaadin developers, you should take the advantage of those. In this app
  80. we just use the commons-beanutils to help implementing the fake backend. -->
  81. <dependency>
  82. <groupId>commons-beanutils</groupId>
  83. <artifactId>commons-beanutils</artifactId>
  84. <version>1.9.2</version>
  85. <type>jar</type>
  86. </dependency>
  87. <!-- LOGGING -->
  88. <dependency>
  89. <groupId>log4j</groupId>
  90. <artifactId>log4j</artifactId>
  91. <version>1.2.9</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.slf4j</groupId>
  95. <artifactId>slf4j-api</artifactId>
  96. <version>1.7.7</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.slf4j</groupId>
  100. <artifactId>slf4j-simple</artifactId>
  101. <version>1.7.7</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.slf4j</groupId>
  105. <artifactId>slf4j-log4j12</artifactId>
  106. <version>1.7.7</version>
  107. </dependency>
  108. <!-- TESTING -->
  109. <dependency>
  110. <groupId>junit</groupId>
  111. <artifactId>junit</artifactId>
  112. <version>4.12</version>
  113. <scope>test</scope>
  114. </dependency>
  115. <!-- COMMONS -->
  116. <dependency>
  117. <groupId>commons-httpclient</groupId>
  118. <artifactId>commons-httpclient</artifactId>
  119. <version>3.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.commons</groupId>
  123. <artifactId>commons-lang3</artifactId>
  124. <version>3.1</version>
  125. </dependency>
  126. <!-- JSON -->
  127. <dependency>
  128. <groupId>org.json</groupId>
  129. <artifactId>json</artifactId>
  130. <version>20140107</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.codehaus.jackson</groupId>
  134. <artifactId>jackson-jaxrs</artifactId>
  135. <version>1.9.4</version>
  136. </dependency>
  137. <!-- XML -->
  138. <dependency>
  139. <groupId>com.sun.xml.security</groupId>
  140. <artifactId>xml-security-impl</artifactId>
  141. <version>1.0</version>
  142. </dependency>
  143. </dependencies>
  144. <build>
  145. <plugins>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-compiler-plugin</artifactId>
  149. <version>3.2</version>
  150. <configuration>
  151. <source>1.8</source>
  152. <target>1.8</target>
  153. </configuration>
  154. </plugin>
  155. <plugin>
  156. <groupId>org.eclipse.jetty</groupId>
  157. <artifactId>jetty-maven-plugin</artifactId>
  158. <version>9.2.3.v20140905</version>
  159. </plugin>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-surefire-plugin</artifactId>
  163. <version>2.19.1</version>
  164. <configuration>
  165. <parallel>methods</parallel>
  166. <threadCount>10</threadCount>
  167. <includes>
  168. <include>**/Test*.java</include>
  169. <include>**/Test.java</include>
  170. <include>**/TestCase.java</include>
  171. </includes>
  172. <excludes>
  173. <exclude>**/*Abstract*Test.java</exclude>
  174. </excludes>
  175. </configuration>
  176. </plugin>
  177. </plugins>
  178. <finalName>addressbook</finalName>
  179. </build>
  180. <reporting>
  181. <plugins>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-surefire-report-plugin</artifactId>
  185. <version>2.19.1</version>
  186. </plugin>
  187. </plugins>
  188. </reporting>
  189. </project>