Advertisement
arpho

pom.xml

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