pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.techempower</groupId>
  5. <artifactId>minijax-techempower</artifactId>
  6. <version>0.0.1</version>
  7. <packaging>jar</packaging>
  8. <name>minijax-techempower</name>
  9. <description>Minijax implementation of TechEmpower Framework Benchmarks</description>
  10. <properties>
  11. <eclipselink.version>2.7.0</eclipselink.version>
  12. <jpa.version>2.1.1</jpa.version>
  13. <minijax.version>0.1.4</minijax.version>
  14. <mysql-connector.version>6.0.6</mysql-connector.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <shade.version>3.1.0</shade.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>mysql</groupId>
  21. <artifactId>mysql-connector-java</artifactId>
  22. <version>${mysql-connector.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.eclipse.persistence</groupId>
  26. <artifactId>eclipselink</artifactId>
  27. <version>${eclipselink.version}</version>
  28. <exclusions>
  29. <exclusion>
  30. <groupId>javax.validation</groupId>
  31. <artifactId>validation-api</artifactId>
  32. </exclusion>
  33. <exclusion>
  34. <groupId>org.eclipse.persistence</groupId>
  35. <artifactId>javax.persistence</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.eclipse.persistence</groupId>
  41. <artifactId>javax.persistence</artifactId>
  42. <version>${jpa.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.minijax</groupId>
  46. <artifactId>minijax-core</artifactId>
  47. <version>${minijax.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.minijax</groupId>
  51. <artifactId>minijax-db</artifactId>
  52. <version>${minijax.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.minijax</groupId>
  56. <artifactId>minijax-json</artifactId>
  57. <version>${minijax.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.minijax</groupId>
  61. <artifactId>minijax-mustache</artifactId>
  62. <version>${minijax.version}</version>
  63. </dependency>
  64. </dependencies>
  65. <repositories>
  66. <repository>
  67. <id>ossrh</id>
  68. <url>https://oss.sonatype.org/content/repositories/releases/</url>
  69. </repository>
  70. </repositories>
  71. <build>
  72. <plugins>
  73. <plugin>
  74. <groupId>org.apache.maven.plugins</groupId>
  75. <artifactId>maven-compiler-plugin</artifactId>
  76. <version>2.3.2</version>
  77. <inherited>true</inherited>
  78. <configuration>
  79. <source>1.8</source>
  80. <target>1.8</target>
  81. <optimize>true</optimize>
  82. <debug>false</debug>
  83. </configuration>
  84. </plugin>
  85. <plugin>
  86. <groupId>com.github.ekryd.sortpom</groupId>
  87. <artifactId>sortpom-maven-plugin</artifactId>
  88. <version>2.8.0</version>
  89. <configuration>
  90. <predefinedSortOrder>recommended_2008_06</predefinedSortOrder>
  91. <lineSeparator>\n</lineSeparator>
  92. <nrOfIndentSpace>4</nrOfIndentSpace>
  93. <encoding>${project.build.sourceEncoding}</encoding>
  94. <sortProperties>true</sortProperties>
  95. <sortDependencies>groupId,artifactId</sortDependencies>
  96. <createBackupFile>false</createBackupFile>
  97. </configuration>
  98. <executions>
  99. <execution>
  100. <goals>
  101. <goal>sort</goal>
  102. </goals>
  103. <phase>verify</phase>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>de.empulse.eclipselink</groupId>
  109. <artifactId>staticweave-maven-plugin</artifactId>
  110. <version>1.0.0</version>
  111. <dependencies>
  112. <dependency>
  113. <groupId>org.eclipse.persistence</groupId>
  114. <artifactId>org.eclipse.persistence.jpa</artifactId>
  115. <version>${eclipselink.version}</version>
  116. </dependency>
  117. </dependencies>
  118. <executions>
  119. <execution>
  120. <goals>
  121. <goal>weave</goal>
  122. </goals>
  123. <phase>process-classes</phase>
  124. <configuration>
  125. <persistenceXMLLocation>META-INF/persistence.xml</persistenceXMLLocation>
  126. <logLevel>FINE</logLevel>
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-shade-plugin</artifactId>
  134. <version>${shade.version}</version>
  135. <configuration>
  136. <filters>
  137. <filter>
  138. <artifact>*:*</artifact>
  139. <excludes>
  140. <exclude>META-INF/*.SF</exclude>
  141. <exclude>META-INF/*.DSA</exclude>
  142. <exclude>META-INF/*.RSA</exclude>
  143. </excludes>
  144. </filter>
  145. </filters>
  146. <createDependencyReducedPom>false</createDependencyReducedPom>
  147. </configuration>
  148. <executions>
  149. <execution>
  150. <goals>
  151. <goal>shade</goal>
  152. </goals>
  153. <phase>package</phase>
  154. <configuration>
  155. <transformers>
  156. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  157. <mainClass>com.techempower.minijax.MinijaxBenchmark</mainClass>
  158. </transformer>
  159. </transformers>
  160. </configuration>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. </plugins>
  165. </build>
  166. </project>