pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5. <parent>
  6. <artifactId>top-online</artifactId>
  7. <groupId>com.top</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.top</groupId>
  12. <artifactId>top-web</artifactId>
  13. <packaging>war</packaging>
  14. <version>1.0.0</version>
  15. <name>top-web</name>
  16. <build>
  17. <plugins>
  18. <!-- Set Java compiler level -->
  19. <plugin>
  20. <groupId>org.apache.maven.plugins</groupId>
  21. <artifactId>maven-compiler-plugin</artifactId>
  22. <version>3.1</version>
  23. <configuration>
  24. <source>1.8</source>
  25. <target>1.8</target>
  26. </configuration>
  27. </plugin>
  28. <plugin>
  29. <groupId>org.apache.maven.plugins</groupId>
  30. <artifactId>maven-war-plugin</artifactId>
  31. <version>2.1.1</version>
  32. <configuration>
  33. <warName>ROOT##${project.version}</warName>
  34. </configuration>
  35. </plugin>
  36. </plugins>
  37. </build>
  38. <dependencies>
  39. <dependency>
  40. <groupId>com.top</groupId>
  41. <artifactId>top-core</artifactId>
  42. <version>1.0.0</version>
  43. </dependency>
  44. <!-- JavaEE servlet api for tomcat. -->
  45. <dependency>
  46. <groupId>org.apache.tomcat</groupId>
  47. <artifactId>tomcat-servlet-api</artifactId>
  48. <scope>provided</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>jaxen</groupId>
  52. <artifactId>jaxen</artifactId>
  53. </dependency>
  54. <!-- BEGIN test dependency -->
  55. <dependency>
  56. <groupId>junit</groupId>
  57. <artifactId>junit</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework</groupId>
  62. <artifactId>spring-test</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. <!-- END test dependency -->
  66. <dependency>
  67. <groupId>commons-fileupload</groupId>
  68. <artifactId>commons-fileupload</artifactId>
  69. </dependency>
  70. <!--xml tool-->
  71. <dependency>
  72. <groupId>com.mycila</groupId>
  73. <artifactId>mycila-xmltool</artifactId>
  74. </dependency>
  75. </dependencies>
  76. </project>