pom.xml 3.1 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/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.wugui</groupId>
  8. <artifactId>datax-web</artifactId>
  9. <version>2.1.2</version>
  10. </parent>
  11. <artifactId>datax-executor</artifactId>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <java.version>1.8</java.version>
  15. </properties>
  16. <dependencyManagement>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-parent</artifactId>
  21. <version>${spring-boot.version}</version>
  22. <type>pom</type>
  23. <scope>import</scope>
  24. </dependency>
  25. </dependencies>
  26. </dependencyManagement>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-test</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.wugui</groupId>
  39. <artifactId>datax-core</artifactId>
  40. <version>${project.parent.version}</version>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-jar-plugin</artifactId>
  48. <configuration>
  49. <excludes>
  50. <exclude>**/*.yml</exclude>
  51. <exclude>**/*.xml</exclude>
  52. </excludes>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-assembly-plugin</artifactId>
  58. <version>2.2.1</version>
  59. <executions>
  60. <execution>
  61. <id>assemble</id>
  62. <goals>
  63. <goal>single</goal>
  64. </goals>
  65. <!-- install -->
  66. <phase>install</phase>
  67. </execution>
  68. </executions>
  69. <configuration>
  70. <appendAssemblyId>false</appendAssemblyId>
  71. <attach>false</attach>
  72. <descriptors>
  73. <descriptor>${basedir}/src/main/assembly/deploy.xml</descriptor>
  74. </descriptors>
  75. <finalName>${project.artifactId}_${project.version}_1</finalName>
  76. <outputDirectory>${project.parent.basedir}/packages</outputDirectory>
  77. </configuration>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. </project>