pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.uas.report</groupId>
  5. <artifactId>report</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>report Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <oracle.jdbc.version>11.2.0</oracle.jdbc.version>
  12. <spring.version>4.1.6.RELEASE</spring.version>
  13. <log4j.version>1.2.16</log4j.version>
  14. <servlet.version>3.0-alpha-1</servlet.version>
  15. <commons.dbcp.version>1.4</commons.dbcp.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>junit</groupId>
  20. <artifactId>junit</artifactId>
  21. <version>3.8.1</version>
  22. <scope>test</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>javax.servlet</groupId>
  26. <artifactId>servlet-api</artifactId>
  27. <version>${servlet.version}</version>
  28. <scope>provided</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>commons-dbcp</groupId>
  32. <artifactId>commons-dbcp</artifactId>
  33. <version>${commons.dbcp.version}</version>
  34. </dependency>
  35. <!-- log4j -->
  36. <dependency>
  37. <groupId>log4j</groupId>
  38. <artifactId>log4j</artifactId>
  39. <version>${log4j.version}</version>
  40. </dependency>
  41. <!-- spring-webmvc -->
  42. <dependency>
  43. <groupId>org.springframework</groupId>
  44. <artifactId>spring-webmvc</artifactId>
  45. <version>${spring.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.oracle</groupId>
  49. <artifactId>ojdbc6</artifactId>
  50. <version>${oracle.jdbc.version}</version>
  51. </dependency>
  52. <!-- 打印报表 -->
  53. <dependency>
  54. <groupId>net.sf.jasperreports</groupId>
  55. <artifactId>jasperreports</artifactId>
  56. <version>6.3.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.codehaus.groovy</groupId>
  60. <artifactId>groovy-all</artifactId>
  61. <version>2.4.7</version>
  62. </dependency>
  63. <!-- 自制中文字体 - 微软雅黑 -->
  64. <dependency>
  65. <groupId>com.uas.report</groupId>
  66. <artifactId>msyahei</artifactId>
  67. <version>1.0.0</version>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <finalName>report</finalName>
  72. <!-- 解决maven项目jre版本默认为1.5的问题 -->
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-compiler-plugin</artifactId>
  77. <version>3.1</version>
  78. <configuration>
  79. <source>1.7</source>
  80. <target>1.7</target>
  81. </configuration>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. </project>