dependency-reduced-pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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" 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.xingye</groupId>
  5. <artifactId>atswingtool</artifactId>
  6. <name>atswingtool</name>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <description>atswingtool</description>
  9. <build>
  10. <sourceDirectory>src/main/java</sourceDirectory>
  11. <resources>
  12. <resource>
  13. <directory>src/main/profiles/${env}</directory>
  14. </resource>
  15. <resource>
  16. <directory>src/main/resources</directory>
  17. </resource>
  18. </resources>
  19. <plugins>
  20. <plugin>
  21. <artifactId>maven-shade-plugin</artifactId>
  22. <version>2.4</version>
  23. <executions>
  24. <execution>
  25. <phase>package</phase>
  26. <goals>
  27. <goal>shade</goal>
  28. </goals>
  29. <configuration>
  30. <filters>
  31. <filter>
  32. <artifact>*:*</artifact>
  33. </filter>
  34. </filters>
  35. <transformers>
  36. <transformer>
  37. <resource>META-INF/spring.handlers</resource>
  38. </transformer>
  39. <transformer>
  40. <resource>META-INF/spring.schemas</resource>
  41. </transformer>
  42. </transformers>
  43. <artifactSet />
  44. </configuration>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.eclipse.jetty</groupId>
  50. <artifactId>jetty-maven-plugin</artifactId>
  51. <version>9.3.0.M2</version>
  52. <configuration>
  53. <webAppConfig>
  54. <contextPath>/atswingtool</contextPath>
  55. </webAppConfig>
  56. <scanIntervalSeconds>0</scanIntervalSeconds>
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>2.3.2</version>
  62. <configuration>
  63. <source>1.8</source>
  64. <target>1.8</target>
  65. <encoding>UTF-8</encoding>
  66. </configuration>
  67. </plugin>
  68. </plugins>
  69. </build>
  70. <properties>
  71. <java.version>1.8</java.version>
  72. </properties>
  73. </project>