pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.techempower</groupId>
  7. <artifactId>actframework</artifactId>
  8. <version>1.0.0</version>
  9. <name>ActFramework sample project</name>
  10. <packaging>jar</packaging>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <act.version>1.0.2</act.version>
  15. <act-morphia.version>1.0.1</act-morphia.version>
  16. <act-ebean.version>1.0.1</act-ebean.version>
  17. <mysql.version>5.1.38</mysql.version>
  18. <postgres-jdbc.version>9.4.1208</postgres-jdbc.version>
  19. <app.entry>com.techempower.act.AppEntry</app.entry>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>mysql</groupId>
  24. <artifactId>mysql-connector-java</artifactId>
  25. <version>${mysql.version}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.actframework</groupId>
  29. <artifactId>act</artifactId>
  30. <version>${act.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.actframework</groupId>
  34. <artifactId>act-morphia</artifactId>
  35. <version>${act-morphia.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.actframework</groupId>
  39. <artifactId>act-ebean</artifactId>
  40. <version>${act-ebean.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>ch.qos.logback</groupId>
  44. <artifactId>logback-classic</artifactId>
  45. <version>1.1.6</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.postgresql</groupId>
  49. <artifactId>postgresql</artifactId>
  50. <version>${postgres-jdbc.version}</version>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <finalName>act</finalName>
  55. <resources>
  56. <resource>
  57. <directory>src/main/resources</directory>
  58. <filtering>true</filtering>
  59. </resource>
  60. </resources>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-assembly-plugin</artifactId>
  65. <version>2.5.5</version>
  66. <executions>
  67. <execution>
  68. <id>create-archive</id>
  69. <phase>package</phase>
  70. <goals>
  71. <goal>single</goal>
  72. </goals>
  73. <configuration>
  74. <appendAssemblyId>false</appendAssemblyId>
  75. <descriptors>
  76. <descriptor>src/assembly/pkg.xml</descriptor>
  77. </descriptors>
  78. <outputDirectory>${project.build.directory}/dist/</outputDirectory>
  79. </configuration>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. </plugins>
  84. <pluginManagement>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-compiler-plugin</artifactId>
  89. <version>3.3</version>
  90. <configuration>
  91. <source>1.8</source>
  92. <target>1.8</target>
  93. </configuration>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-source-plugin</artifactId>
  98. <version>2.1.2</version>
  99. <configuration>
  100. <includePom>true</includePom>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.codehaus.mojo</groupId>
  105. <artifactId>exec-maven-plugin</artifactId>
  106. <version>1.2.1</version>
  107. <configuration>
  108. <executable>java</executable>
  109. <arguments>
  110. <argument>-Xms512m</argument>
  111. <argument>-Xmx512m</argument>
  112. <argument>-classpath</argument>
  113. <classpath/>
  114. <argument>${app.entry}</argument>
  115. </arguments>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </pluginManagement>
  120. </build>
  121. </project>