Guest User

Untitled

a guest
Jul 2nd, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  3. http://maven.apache.org/maven-v4_0_0.xsd">
  4.  
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.o7planning</groupId>
  7. <artifactId>HelloSpringMVC</artifactId>
  8. <packaging>war</packaging>
  9. <version>0.0.1-SNAPSHOT</version>
  10. <name>HelloSpringMVC Maven Webapp</name>
  11. <url>http://maven.apache.org</url>
  12.  
  13. <parent>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-starter-parent</artifactId>
  16. <version>1.2.3.RELEASE</version>
  17. <relativePath/> <!-- lookup parent from repository -->
  18. </parent>
  19.  
  20. <properties>
  21. <org.springframework.version>4.0.5.RELEASE</org.springframework.version>
  22. <org.hibernate.version>4.3.5.Final</org.hibernate.version>
  23. </properties>
  24.  
  25.  
  26. <dependencies>
  27.  
  28. <!--Hibernate-->
  29. <dependency>
  30. <groupId>org.hibernate.common</groupId>
  31. <artifactId>hibernate-commons-annotations</artifactId>
  32. <version>4.0.4.Final</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.hibernate</groupId>
  36. <artifactId>hibernate-core</artifactId>
  37. <version>${org.hibernate.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.hibernate</groupId>
  41. <artifactId>hibernate-entitymanager</artifactId>
  42. <version>${org.hibernate.version}</version>
  43. </dependency>
  44.  
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <version>3.8.1</version>
  49. <scope>test</scope>
  50. </dependency>
  51.  
  52. <!-- Servlet Library -->
  53. <!-- http://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
  54. <dependency>
  55. <groupId>javax.servlet</groupId>
  56. <artifactId>javax.servlet-api</artifactId>
  57. <version>3.1.0</version>
  58. <scope>provided</scope>
  59. </dependency>
  60.  
  61. <!-- Spring dependencies -->
  62. <!-- http://mvnrepository.com/artifact/org.springframework/spring-core -->
  63. <dependency>
  64. <groupId>org.springframework</groupId>
  65. <artifactId>spring-core</artifactId>
  66. <version>4.1.4.RELEASE</version>
  67. </dependency>
  68.  
  69. <!-- http://mvnrepository.com/artifact/org.springframework/spring-web -->
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-web</artifactId>
  73. <version>4.1.4.RELEASE</version>
  74. </dependency>
  75.  
  76. <!-- http://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
  77. <dependency>
  78. <groupId>org.springframework</groupId>
  79. <artifactId>spring-webmvc</artifactId>
  80. <version>4.1.4.RELEASE</version>
  81. </dependency>
  82.  
  83. <dependency>
  84. <groupId>org.postgresql</groupId>
  85. <artifactId>postgresql</artifactId>
  86. <version>9.4-1206-jdbc42</version>
  87. <scope>runtime</scope>
  88. </dependency>
  89.  
  90. <dependency>
  91. <groupId>javax.servlet</groupId>
  92. <artifactId>jsp-api</artifactId>
  93. <version>2.0</version>
  94. <scope>provided</scope>
  95. </dependency>
  96.  
  97. <!-- Jstl for jsp page -->
  98. <!-- http://mvnrepository.com/artifact/javax.servlet/jstl -->
  99. <dependency>
  100. <groupId>javax.servlet</groupId>
  101. <artifactId>jstl</artifactId>
  102. <version>1.2</version>
  103. </dependency>
  104.  
  105. <!--Commons-->
  106. <dependency>
  107. <groupId>commons-dbcp</groupId>
  108. <artifactId>commons-dbcp</artifactId>
  109. <version>1.4</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>commons-pool</groupId>
  113. <artifactId>commons-pool</artifactId>
  114. <version>1.6</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>commons-collections</groupId>
  118. <artifactId>commons-collections</artifactId>
  119. <version>3.2.1</version>
  120. </dependency>
  121.  
  122. <!--Other Libs-->
  123. <dependency>
  124. <groupId>com.google.guava</groupId>
  125. <artifactId>guava</artifactId>
  126. <version>15.0</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>log4j</groupId>
  130. <artifactId>log4j</artifactId>
  131. <version>1.2.17</version>
  132. </dependency>
  133.  
  134. </dependencies>
  135.  
  136.  
  137. <build>
  138. <finalName>HelloSpringMVC</finalName>
  139. <plugins>
  140.  
  141. <!-- Config: Maven Tomcat Plugin -->
  142. <!-- http://mvnrepository.com/artifact/org.apache.tomcat.maven/tomcat7-maven-plugin -->
  143. <plugin>
  144. <groupId>org.apache.tomcat.maven</groupId>
  145. <artifactId>tomcat7-maven-plugin</artifactId>
  146. <version>2.2</version>
  147. <!-- Config: contextPath and Port (Default - /HelloSpringMVC : 8080) -->
  148. <!--
  149. <configuration>
  150. <path>/</path>
  151. <port>8899</port>
  152. </configuration>
  153. -->
  154. </plugin>
  155. </plugins>
  156. </build>
  157.  
  158. </project>
Advertisement
Add Comment
Please, Sign In to add comment