pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. ~
  20. -->
  21. <project xmlns="http://maven.apache.org/POM/4.0.0"
  22. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  23. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  24. <parent>
  25. <artifactId>dolphinscheduler</artifactId>
  26. <groupId>org.apache.dolphinscheduler</groupId>
  27. <version>dev-SNAPSHOT</version>
  28. </parent>
  29. <modelVersion>4.0.0</modelVersion>
  30. <artifactId>dolphinscheduler-tools</artifactId>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.dolphinscheduler</groupId>
  34. <artifactId>dolphinscheduler-dao</artifactId>
  35. </dependency>
  36. </dependencies>
  37. <build>
  38. <plugins>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-jar-plugin</artifactId>
  42. <configuration>
  43. <excludes>
  44. <exclude>*.yaml</exclude>
  45. </excludes>
  46. </configuration>
  47. </plugin>
  48. <plugin>
  49. <artifactId>maven-assembly-plugin</artifactId>
  50. <executions>
  51. <execution>
  52. <id>dolphinscheduler-tools</id>
  53. <phase>package</phase>
  54. <goals>
  55. <goal>single</goal>
  56. </goals>
  57. <configuration>
  58. <finalName>tools</finalName>
  59. <descriptors>
  60. <descriptor>src/main/assembly/dolphinscheduler-tools.xml</descriptor>
  61. </descriptors>
  62. <appendAssemblyId>false</appendAssemblyId>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. <profiles>
  70. <profile>
  71. <id>docker</id>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.codehaus.mojo</groupId>
  76. <artifactId>exec-maven-plugin</artifactId>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. </profile>
  81. </profiles>
  82. </project>