pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.vvvtimes.com</groupId>
  7. <artifactId>JrebelBrainsLicenseServerforJava</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. </properties>
  12. <build>
  13. <plugins>
  14. <plugin>
  15. <groupId>org.apache.maven.plugins</groupId>
  16. <artifactId>maven-compiler-plugin</artifactId>
  17. <!-- 与Servlet版本对应 -->
  18. <version>3.1</version>
  19. <configuration>
  20. <source>1.6</source>
  21. <target>1.6</target>
  22. <encoding>utf8</encoding>
  23. </configuration>
  24. </plugin>
  25. <!-- 打包可运行jar包 -->
  26. <plugin>
  27. <groupId>org.apache.maven.plugins</groupId>
  28. <artifactId>maven-assembly-plugin</artifactId>
  29. <version>3.1.0</version>
  30. <configuration>
  31. <archive>
  32. <manifest>
  33. <mainClass>com.vvvtimes.server.MainServer</mainClass>
  34. </manifest>
  35. </archive>
  36. <descriptorRefs>
  37. <descriptorRef>jar-with-dependencies</descriptorRef>
  38. </descriptorRefs>
  39. </configuration>
  40. <executions>
  41. <execution>
  42. <id>make-assembly</id>
  43. <phase>package</phase>
  44. <goals>
  45. <goal>single</goal>
  46. </goals>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. </plugins>
  51. </build>
  52. <dependencies>
  53. <dependency>
  54. <groupId>org.eclipse.jetty.aggregate</groupId>
  55. <artifactId>jetty-all</artifactId>
  56. <version>8.1.2.v20120308</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>javax.servlet</groupId>
  60. <artifactId>javax.servlet-api</artifactId>
  61. <version>3.0.1</version>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.bouncycastle</groupId>
  66. <artifactId>bcprov-jdk15on</artifactId>
  67. <version>1.58</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>commons-codec</groupId>
  71. <artifactId>commons-codec</artifactId>
  72. <version>1.10</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>net.sf.json-lib</groupId>
  76. <artifactId>json-lib</artifactId>
  77. <version>2.4</version>
  78. <classifier>jdk15</classifier>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.commons</groupId>
  82. <artifactId>commons-lang3</artifactId>
  83. <version>3.1</version>
  84. </dependency>
  85. </dependencies>
  86. </project>