pom.xml 3.6 KB
Newer Older
L
lidongdai 已提交
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/xsd/maven-4.0.0.xsd">
L
lidongdai 已提交
3 4 5
    <parent>
        <artifactId>dolphinscheduler-dist</artifactId>
        <groupId>org.apache.dolphinscheduler</groupId>
6
        <version>1.2.0-release</version>
L
lidongdai 已提交
7 8 9
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>dolphinscheduler-backend</artifactId>
L
lgcareer 已提交
10
    <name>${project.artifactId}</name>
L
lidongdai 已提交
11

L
lidongdai 已提交
12
    <dependencies>
L
lidongdai 已提交
13 14 15 16 17 18 19 20 21 22
        <dependency>
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-server</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-api</artifactId>
        </dependency>

L
lidongdai 已提交
23
    </dependencies>
L
lidongdai 已提交
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-assembly-plugin</artifactId>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/dolphinscheduler-binary-backend.xml</descriptor>
                            </descriptors>
                            <appendAssemblyId>false</appendAssemblyId>
                        </configuration>
                        <executions>
                            <execution>
                                <id>dolphinscheduler-binary-backend</id>
                                <phase>package</phase>
                                <goals>
43
                                    <goal>single</goal>
L
lidongdai 已提交
44 45 46 47
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
L
lgcareer 已提交
48

49
                    <!--<plugin>
L
lgcareer 已提交
50 51 52 53 54 55 56 57 58 59 60
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
61
                    </plugin>-->
L
lidongdai 已提交
62 63 64 65 66
                </plugins>
            </build>
        </profile>
    </profiles>

L
lgcareer 已提交
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
    <!--<build>
        <plugins>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <copy file="${project.build.directory}/apache-dolphinscheduler-backend.tar.gz" tofile="${project.basedir}/../../dist/apache-dolphinscheduler-incubating-backend-bin.tar.gz" overwrite="true" />
                                <copy file="${project.build.directory}/apache-dolphinscheduler-backend.zip" tofile="${project.basedir}/../../dist/apache-dolphinscheduler-incubating-backend-bin.zip" overwrite="true" />
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>-->



L
lidongdai 已提交
91 92

</project>