pom.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <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/xsd/maven-4.0.0.xsd">
  19. <parent>
  20. <artifactId>dolphinscheduler-dist</artifactId>
  21. <groupId>org.apache.dolphinscheduler</groupId>
  22. <version>1.2.1-SNAPSHOT</version>
  23. </parent>
  24. <modelVersion>4.0.0</modelVersion>
  25. <artifactId>dolphinscheduler-src</artifactId>
  26. <name>${project.artifactId}</name>
  27. <profiles>
  28. <profile>
  29. <id>release</id>
  30. <build>
  31. <plugins>
  32. <plugin>
  33. <artifactId>maven-assembly-plugin</artifactId>
  34. <executions>
  35. <execution>
  36. <id>src</id>
  37. <phase>package</phase>
  38. <goals>
  39. <goal>single</goal>
  40. </goals>
  41. <configuration>
  42. <descriptors>
  43. <descriptor>src/main/assembly/dolphinscheduler-src.xml</descriptor>
  44. </descriptors>
  45. <appendAssemblyId>true</appendAssemblyId>
  46. </configuration>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-source-plugin</artifactId>
  53. <executions>
  54. <execution>
  55. <id>attach-sources</id>
  56. <phase>verify</phase>
  57. <goals>
  58. <goal>jar-no-fork</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </profile>
  66. </profiles>
  67. </project>