pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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>org.durcframework</groupId>
  5. <artifactId>autoCode</artifactId>
  6. <version>1.0.0</version>
  7. <dependencies>
  8. <dependency>
  9. <groupId>net.oschina.durcframework</groupId>
  10. <artifactId>durcframework-core</artifactId>
  11. <version>1.0.16</version>
  12. </dependency>
  13. <dependency>
  14. <groupId>com.alibaba</groupId>
  15. <artifactId>druid</artifactId>
  16. <version>1.0.4</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.alibaba</groupId>
  20. <artifactId>fastjson</artifactId>
  21. <version>1.1.41</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>mysql</groupId>
  25. <artifactId>mysql-connector-java</artifactId>
  26. <version>5.1.31</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.velocity</groupId>
  30. <artifactId>velocity</artifactId>
  31. <version>1.7</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.sitemesh</groupId>
  35. <artifactId>sitemesh</artifactId>
  36. <version>3.0.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>junit</groupId>
  40. <artifactId>junit</artifactId>
  41. <version>4.8</version>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.tomcat</groupId>
  46. <artifactId>servlet-api</artifactId>
  47. <version>6.0.29</version>
  48. <scope>provided</scope>
  49. </dependency>
  50. <!-- 支持的数据源,默认已经支持mysql -->
  51. <dependency>
  52. <groupId>net.sourceforge.jtds</groupId>
  53. <artifactId>jtds</artifactId>
  54. <version>1.2.2</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.ant</groupId>
  58. <artifactId>ant</artifactId>
  59. <version>1.8.2</version>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.apache.ant</groupId>
  63. <artifactId>ant-launcher</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <finalName>autoCode</finalName>
  70. <plugins>
  71. <!-- mvn jetty:run -->
  72. <plugin>
  73. <groupId>org.mortbay.jetty</groupId>
  74. <artifactId>maven-jetty-plugin</artifactId>
  75. <configuration>
  76. <contextPath>/autoCode</contextPath>
  77. <connectors>
  78. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  79. <port>8088</port>
  80. </connector>
  81. </connectors>
  82. <reload>automatic</reload>
  83. <scanIntervalSeconds>3</scanIntervalSeconds>
  84. <systemProperties>
  85. <systemProperty>
  86. <name>org.mortbay.util.URI.charset</name>
  87. <value>UTF-8</value>
  88. </systemProperty>
  89. </systemProperties>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-compiler-plugin</artifactId>
  95. <configuration>
  96. <source>1.6</source>
  97. <target>1.6</target>
  98. <encoding>UTF-8</encoding>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-war-plugin</artifactId>
  104. <configuration>
  105. <warSourceDirectory>src/main/webapp</warSourceDirectory>
  106. </configuration>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>