Advertisement
Guest User

hibernate

a guest
Sep 29th, 2016
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.79 KB | None | 0 0
  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>ru.javabegin.training</groupId>
  6. <artifactId>SpringMVC</artifactId>
  7. <name>SpringMVC</name>
  8. <packaging>war</packaging>
  9. <version>1.0.0-BUILD-SNAPSHOT</version>
  10. <properties>
  11. <java-version>1.6</java-version>
  12. <org.springframework-version>4.2.2.RELEASE</org.springframework-version>
  13. <org.aspectj-version>1.8.0</org.aspectj-version>
  14. <org.slf4j-version>1.7.7</org.slf4j-version>
  15. </properties>
  16. <dependencies>
  17. <!-- Spring -->
  18. <dependency>
  19. <groupId>org.springframework</groupId>
  20. <artifactId>spring-context</artifactId>
  21. <version>${org.springframework-version}</version>
  22. <exclusions>
  23. <!-- Exclude Commons Logging in favor of SLF4j -->
  24. <exclusion>
  25. <groupId>commons-logging</groupId>
  26. <artifactId>commons-logging</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework</groupId>
  32. <artifactId>spring-webmvc</artifactId>
  33. <version>${org.springframework-version}</version>
  34. </dependency>
  35.  
  36. <!-- AspectJ -->
  37. <dependency>
  38. <groupId>org.aspectj</groupId>
  39. <artifactId>aspectjrt</artifactId>
  40. <version>${org.aspectj-version}</version>
  41. </dependency>
  42.  
  43. <!-- Logging -->
  44. <dependency>
  45. <groupId>org.slf4j</groupId>
  46. <artifactId>slf4j-api</artifactId>
  47. <version>${org.slf4j-version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.slf4j</groupId>
  51. <artifactId>jcl-over-slf4j</artifactId>
  52. <version>${org.slf4j-version}</version>
  53. <scope>runtime</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.xerial</groupId>
  57. <artifactId>sqlite-jdbc</artifactId>
  58. <version>3.8.11.2</version>
  59. </dependency>
  60. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
  61. <dependency>
  62. <groupId>com.fasterxml.jackson.core</groupId>
  63. <artifactId>jackson-core</artifactId>
  64. <version>2.8.2</version>
  65. </dependency>
  66. <!-- https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-mapper-asl -->
  67. <dependency>
  68. <groupId>org.codehaus.jackson</groupId>
  69. <artifactId>jackson-mapper-asl</artifactId>
  70. <version>1.9.13</version>
  71. </dependency>
  72.  
  73.  
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-jdbc</artifactId>
  77. <version>4.0.5.RELEASE</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-log4j12</artifactId>
  82. <version>${org.slf4j-version}</version>
  83. <scope>runtime</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.logging.log4j</groupId>
  87. <artifactId>log4j-core</artifactId>
  88. <version>2.6.2</version>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>javax.mail</groupId>
  92. <artifactId>mail</artifactId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>javax.jms</groupId>
  96. <artifactId>jms</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>com.sun.jdmk</groupId>
  100. <artifactId>jmxtools</artifactId>
  101. </exclusion>
  102. <exclusion>
  103. <groupId>com.sun.jmx</groupId>
  104. <artifactId>jmxri</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. <scope>runtime</scope>
  108. </dependency>
  109. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
  110. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
  111. <dependency>
  112. <groupId>org.hibernate</groupId>
  113. <artifactId>hibernate-core</artifactId>
  114. <version>4.2.2.Final</version>
  115. </dependency>
  116.  
  117.  
  118. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager -->
  119. <dependency>
  120. <groupId>org.hibernate</groupId>
  121. <artifactId>hibernate-entitymanager</artifactId>
  122. <version>4.2.2.Final</version>
  123. </dependency>
  124.  
  125. <!-- https://mvnrepository.com/artifact/org.springframework/spring-orm -->
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-orm</artifactId>
  129. <version>4.1.3.RELEASE</version>
  130. </dependency>
  131.  
  132. <dependency>
  133. <groupId>javax.transaction</groupId>
  134. <artifactId>jta</artifactId>
  135. <version>1.1</version>
  136. </dependency>
  137.  
  138. <!-- @Inject -->
  139. <dependency>
  140. <groupId>javax.inject</groupId>
  141. <artifactId>javax.inject</artifactId>
  142. <version>1</version>
  143. </dependency>
  144.  
  145. <!-- Servlet -->
  146. <dependency>
  147. <groupId>javax.servlet</groupId>
  148. <artifactId>servlet-api</artifactId>
  149. <version>2.5</version>
  150. <scope>provided</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>javax.servlet.jsp</groupId>
  154. <artifactId>jsp-api</artifactId>
  155. <version>2.1</version>
  156. <scope>provided</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>javax.servlet</groupId>
  160. <artifactId>jstl</artifactId>
  161. <version>1.2</version>
  162. </dependency>
  163.  
  164.  
  165.  
  166. <!-- Test -->
  167. <dependency>
  168. <groupId>junit</groupId>
  169. <artifactId>junit</artifactId>
  170. <version>4.7</version>
  171. <scope>test</scope>
  172. </dependency>
  173. </dependencies>
  174. <build>
  175. <plugins>
  176. <plugin>
  177. <artifactId>maven-eclipse-plugin</artifactId>
  178. <version>2.9</version>
  179. <configuration>
  180. <additionalProjectnatures>
  181. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  182. </additionalProjectnatures>
  183. <additionalBuildcommands>
  184. <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
  185. </additionalBuildcommands>
  186. <downloadSources>true</downloadSources>
  187. <downloadJavadocs>true</downloadJavadocs>
  188. </configuration>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-compiler-plugin</artifactId>
  193. <version>2.5.1</version>
  194. <configuration>
  195. <source>1.6</source>
  196. <target>1.6</target>
  197. <compilerArgument>-Xlint:all</compilerArgument>
  198. <showWarnings>true</showWarnings>
  199. <showDeprecation>true</showDeprecation>
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.codehaus.mojo</groupId>
  204. <artifactId>exec-maven-plugin</artifactId>
  205. <version>1.2.1</version>
  206. <configuration>
  207. <mainClass>org.test.int1.Main</mainClass>
  208. </configuration>
  209. </plugin>
  210.  
  211.  
  212. </plugins>
  213. </build>
  214. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement