pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <!-- Please see: http://www.eclipse.org/jetty/documentation/current/jetty-maven-plugin.html -->
  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.eyeofmidas</groupId>
  6. <artifactId>cardserver</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>cardserver Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <packaging>war</packaging>
  11. <dependencies>
  12. <dependency>
  13. <groupId>junit</groupId>
  14. <artifactId>junit</artifactId>
  15. <version>4.12</version>
  16. <scope>test</scope>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.eclipse.jetty</groupId>
  20. <artifactId>jetty-server</artifactId>
  21. <version>${jetty.version}</version>
  22. <scope>compile</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.eclipse.jetty</groupId>
  26. <artifactId>jetty-servlet</artifactId>
  27. <version>${jetty.version}</version>
  28. <scope>compile</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.eclipse.jetty</groupId>
  32. <artifactId>jetty-webapp</artifactId>
  33. <version>${jetty.version}</version>
  34. <scope>compile</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.eclipse.jetty</groupId>
  38. <artifactId>jetty-jsp</artifactId>
  39. <version>9.2.14.v20151106</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.google.guava</groupId>
  43. <artifactId>guava</artifactId>
  44. <version>18.0</version>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <finalName>cardserver</finalName>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.eclipse.jetty</groupId>
  52. <artifactId>jetty-maven-plugin</artifactId>
  53. <version>${jetty.version}</version>
  54. <configuration>
  55. <scanIntervalSeconds>10</scanIntervalSeconds>
  56. <webApp>
  57. <contextPath>/</contextPath>
  58. </webApp>
  59. </configuration>
  60. </plugin>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-dependency-plugin</artifactId>
  64. <version>2.3</version>
  65. <executions>
  66. <execution>
  67. <phase>package</phase>
  68. <goals>
  69. <goal>copy</goal>
  70. </goals>
  71. <configuration>
  72. <artifactItems>
  73. <artifactItem>
  74. <groupId>org.eclipse.jetty</groupId>
  75. <artifactId>jetty-runner</artifactId>
  76. <version>${jetty.version}</version>
  77. <destFileName>jetty-runner.jar</destFileName>
  78. </artifactItem>
  79. </artifactItems>
  80. </configuration>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.codehaus.mojo</groupId>
  86. <artifactId>exec-maven-plugin</artifactId>
  87. <version>1.1</version>
  88. <executions>
  89. <execution>
  90. <goals>
  91. <goal>java</goal>
  92. </goals>
  93. </execution>
  94. </executions>
  95. <configuration>
  96. <mainClass>com.eyeofmidas.cardserver.CardServer</mainClass>
  97. </configuration>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. <properties>
  102. <jetty.version>9.3.6.v20151106</jetty.version>
  103. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  104. </properties>
  105. </project>