Advertisement
arpho

pom.xml

Jan 16th, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.59 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>com.metmi</groupId>
  6. <artifactId>mmasgis</artifactId>
  7. <name>MMASGIS7</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>3.1.1.RELEASE</org.springframework-version>
  13. <org.aspectj-version>1.6.10</org.aspectj-version>
  14. <org.slf4j-version>1.6.6</org.slf4j-version>
  15. <spring.version>3.1.1.RELEASE</spring.version>
  16. </properties>
  17. <dependencies>
  18. <!-- Spring -->
  19. <dependency>
  20. <groupId>org.springframework</groupId>
  21. <artifactId>spring-context</artifactId>
  22. <version>${org.springframework-version}</version>
  23. <exclusions>
  24. <!-- Exclude Commons Logging in favor of SLF4j -->
  25. <exclusion>
  26. <groupId>commons-logging</groupId>
  27. <artifactId>commons-logging</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework</groupId>
  33. <artifactId>spring-core</artifactId>
  34. <version>${spring.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. <version>5.1.26</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework</groupId>
  43. <artifactId>spring-webmvc</artifactId>
  44. <version>${org.springframework-version}</version>
  45. </dependency>
  46.  
  47. <!-- AspectJ -->
  48. <dependency>
  49. <groupId>org.aspectj</groupId>
  50. <artifactId>aspectjrt</artifactId>
  51. <version>${org.aspectj-version}</version>
  52. </dependency>
  53.  
  54. <!-- Logging -->
  55. <dependency>
  56. <groupId>org.slf4j</groupId>
  57. <artifactId>slf4j-api</artifactId>
  58. <version>${org.slf4j-version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>jcl-over-slf4j</artifactId>
  63. <version>${org.slf4j-version}</version>
  64. <scope>runtime</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.slf4j</groupId>
  68. <artifactId>slf4j-log4j12</artifactId>
  69. <version>${org.slf4j-version}</version>
  70. <scope>runtime</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>log4j</groupId>
  74. <artifactId>log4j</artifactId>
  75. <version>1.2.15</version>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>javax.mail</groupId>
  79. <artifactId>mail</artifactId>
  80. </exclusion>
  81. <exclusion>
  82. <groupId>javax.jms</groupId>
  83. <artifactId>jms</artifactId>
  84. </exclusion>
  85. <exclusion>
  86. <groupId>com.sun.jdmk</groupId>
  87. <artifactId>jmxtools</artifactId>
  88. </exclusion>
  89. <exclusion>
  90. <groupId>com.sun.jmx</groupId>
  91. <artifactId>jmxri</artifactId>
  92. </exclusion>
  93. </exclusions>
  94. <scope>runtime</scope>
  95. </dependency>
  96.  
  97. <!-- @Inject -->
  98. <dependency>
  99. <groupId>javax.inject</groupId>
  100. <artifactId>javax.inject</artifactId>
  101. <version>1</version>
  102. </dependency>
  103.  
  104. <!-- Servlet -->
  105. <dependency>
  106. <groupId>javax.servlet</groupId>
  107. <artifactId>servlet-api</artifactId>
  108. <version>2.5</version>
  109. <scope>provided</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>javax.servlet.jsp</groupId>
  113. <artifactId>jsp-api</artifactId>
  114. <version>2.1</version>
  115. <scope>provided</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>javax.servlet</groupId>
  119. <artifactId>jstl</artifactId>
  120. <version>1.2</version>
  121. </dependency>
  122.  
  123. <!-- Test -->
  124. <dependency>
  125. <groupId>junit</groupId>
  126. <artifactId>junit</artifactId>
  127. <version>4.7</version>
  128. <scope>test</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>springframework</groupId>
  132. <artifactId>spring-jdbc</artifactId>
  133. <version>1.0-m4</version>
  134. </dependency>
  135. </dependencies>
  136. <build>
  137. <plugins>
  138. <plugin>
  139. <artifactId>maven-eclipse-plugin</artifactId>
  140. <version>2.9</version>
  141. <configuration>
  142. <additionalProjectnatures>
  143. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  144. </additionalProjectnatures>
  145. <additionalBuildcommands>
  146. <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
  147. </additionalBuildcommands>
  148. <downloadSources>true</downloadSources>
  149. <downloadJavadocs>true</downloadJavadocs>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <version>2.5.1</version>
  156. <configuration>
  157. <source>1.6</source>
  158. <target>1.6</target>
  159. <compilerArgument>-Xlint:all</compilerArgument>
  160. <showWarnings>true</showWarnings>
  161. <showDeprecation>true</showDeprecation>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.codehaus.mojo</groupId>
  166. <artifactId>exec-maven-plugin</artifactId>
  167. <version>1.2.1</version>
  168. <configuration>
  169. <mainClass>org.test.int1.Main</mainClass>
  170. </configuration>
  171. </plugin>
  172. </plugins>
  173. </build>
  174. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement