gaojun2048 commented on issue #1970: Add ambari plugin #1469 URL: https://github.com/apache/incubator-dolphinscheduler/pull/1970#issuecomment-591859939 > > I want to make the source code into RPM package,but have a question。 > >  > > thank for your help! > > [INFO] dolphinscheduler ................................... SUCCESS [ 4.839 s] > [INFO] dolphinscheduler-ui ................................ SUCCESS [ 1.730 s] > [INFO] dolphinscheduler-common ............................ SUCCESS [ 31.917 s] > [INFO] dolphinscheduler-dao ............................... SUCCESS [ 29.429 s] > [INFO] dolphinscheduler-rpc ............................... SUCCESS [ 17.768 s] > [INFO] dolphinscheduler-alert ............................. SUCCESS [ 14.196 s] > [INFO] dolphinscheduler-server ............................ SUCCESS [ 23.985 s] > [INFO] dolphinscheduler-api ............................... SUCCESS [ 31.803 s] > [INFO] dolphinscheduler-dist .............................. FAILURE [ 21.314 s] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 03:03 min > [INFO] Finished at: 2020-02-27T16:24:10+08:00 > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.2.0:attached-rpm (default) on project dolphinscheduler-dist: Source location C:\Users\ZhiFa\Desktop\idea\apache-dolphinscheduler-incubating-1.2.1-src-release\dolphinscheduler-dist..\dolphinschedul > er-ui\dist does not exist -> [Help 1] Hi, From the log it looks like the dir `C:\Users\ZhiFa\Desktop\idea\apache-dolphinscheduler-incubating-1.2.1-src-release\dolphinscheduler-dist..\dolphinscheduler-ui\dist` is not exist. Can you take a look at this directory? Under normal circumstances, you need to install the rpm-build tool on the environment before running the mvn command to play the rpm package. To install rpm-build tools in centos , you can do like this: ``` yum install –y rpm-build rpmdevtools.noarch echo “%_topdir $YOURDIR” >~/.rpmmacros rpmdev-setuptree ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
