You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
194 lines
8.1 KiB
194 lines
8.1 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<!-- |
|
~ Licensed to the Apache Software Foundation (ASF) under one or more |
|
~ contributor license agreements. See the NOTICE file distributed with |
|
~ this work for additional information regarding copyright ownership. |
|
~ The ASF licenses this file to You under the Apache License, Version 2.0 |
|
~ (the "License"); you may not use this file except in compliance with |
|
~ the License. You may obtain a copy of the License at |
|
~ |
|
~ http://www.apache.org/licenses/LICENSE-2.0 |
|
~ |
|
~ Unless required by applicable law or agreed to in writing, software |
|
~ distributed under the License is distributed on an "AS IS" BASIS, |
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
~ See the License for the specific language governing permissions and |
|
~ limitations under the License. |
|
--> |
|
<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"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<parent> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler</artifactId> |
|
<version>dev-SNAPSHOT</version> |
|
</parent> |
|
|
|
<artifactId>dolphinscheduler-dist</artifactId> |
|
<name>${project.artifactId}</name> |
|
|
|
<properties> |
|
<assembly.skipAssembly>${build.assembly.skip}</assembly.skipAssembly> |
|
</properties> |
|
|
|
<dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-bom</artifactId> |
|
<version>${project.version}</version> |
|
<type>pom</type> |
|
<scope>import</scope> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-standalone-server</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-api</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-alert-server</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-ui</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-tools</artifactId> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<finalName>apache-dolphinscheduler-${project.version}</finalName> |
|
<plugins> |
|
<plugin> |
|
<artifactId>maven-assembly-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>dolphinscheduler-bin</id> |
|
<goals> |
|
<goal>single</goal> |
|
</goals> |
|
<phase>package</phase> |
|
|
|
<configuration> |
|
<descriptors> |
|
<descriptor>src/main/assembly/dolphinscheduler-bin.xml</descriptor> |
|
</descriptors> |
|
<appendAssemblyId>true</appendAssemblyId> |
|
</configuration> |
|
</execution> |
|
|
|
<execution> |
|
<id>src</id> |
|
<goals> |
|
<goal>single</goal> |
|
</goals> |
|
<phase>package</phase> |
|
<configuration> |
|
<descriptors> |
|
<descriptor>src/main/assembly/dolphinscheduler-src.xml</descriptor> |
|
</descriptors> |
|
<appendAssemblyId>true</appendAssemblyId> |
|
</configuration> |
|
</execution> |
|
|
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>exec-maven-plugin</artifactId> |
|
<version>${exec-maven-plugin.version}</version> |
|
<configuration> |
|
<skip>${build.assembly.skip}</skip> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<id>assembly-plugins</id> |
|
<goals> |
|
<goal>exec</goal> |
|
</goals> |
|
<phase>package</phase> |
|
<configuration> |
|
<executable>bash</executable> |
|
<workingDirectory>${project.basedir}</workingDirectory> |
|
<arguments> |
|
<argument>src/main/assembly/assembly-plugins.sh</argument> |
|
<argument>${build.plugins.skip}</argument> |
|
</arguments> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<profiles> |
|
<profile> |
|
<id>docker</id> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>exec-maven-plugin</artifactId> |
|
<version>${exec-maven-plugin.version}</version> |
|
<executions> |
|
<execution> |
|
<id>docker-build</id> |
|
<goals> |
|
<goal>exec</goal> |
|
</goals> |
|
<phase>package</phase> |
|
<configuration> |
|
<skip>${docker.build.skip}</skip> |
|
<environmentVariables> |
|
<DOCKER_BUILDKIT>1</DOCKER_BUILDKIT> |
|
</environmentVariables> |
|
<executable>bash</executable> |
|
<workingDirectory>${project.basedir}</workingDirectory> |
|
<arguments> |
|
<argument>src/main/docker/docker-build.sh</argument> |
|
<argument>${docker.hub}</argument> |
|
<argument>${docker.tag}</argument> |
|
</arguments> |
|
</configuration> |
|
</execution> |
|
<execution> |
|
<id>docker-push</id> |
|
<goals> |
|
<goal>exec</goal> |
|
</goals> |
|
<phase>deploy</phase> |
|
<configuration> |
|
<skip>${docker.push.skip}</skip> |
|
<environmentVariables> |
|
<DOCKER_BUILDKIT>1</DOCKER_BUILDKIT> |
|
</environmentVariables> |
|
<executable>bash</executable> |
|
<workingDirectory>${project.basedir}</workingDirectory> |
|
<arguments> |
|
<argument>src/main/docker/docker-push.sh</argument> |
|
<argument>${docker.hub}</argument> |
|
<argument>${docker.tag}</argument> |
|
</arguments> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
</profiles> |
|
</project>
|
|
|