Jeff Saremi created AMBARI-19811:
------------------------------------

             Summary: Ambari-server build fails on Windows: 
ambari-server-2.4.2.0.0-dist.tar.gz does not exist
                 Key: AMBARI-19811
                 URL: https://issues.apache.org/jira/browse/AMBARI-19811
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.2
         Environment: Windows 10
            Reporter: Jeff Saremi


Command line: 
mvn -B install package -DnewVersion=2.4.2.0.0 -DskipTests -Dpython.ver="python 
>= 2.6" -Drat.skip -P windows

It looks like the folder apache-ambari-2.4.2-src\ambari-server\target contains 
an ambari-server-2.4.2.0.0-dist.zip (which is the correct extension) however 
not a tar.gz. Somehow the Unix target paths are mixed in Windows settings


Error:
[DEBUG] Executing the copy-rename-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:19 min
[INFO] Finished at: 2017-01-31T16:19:15-08:00
[INFO] Final Memory: 78M/1247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.coderplus.maven.plugins:copy-rename-maven-plugin:1.0.1:rename (rename-file) 
on project ambari-server: sourceFile 
D:\Users\jesaremi\Downloads\apache-ambari-2.4.2-src\ambari-server\target\repo\ambari-server-2.4.2.0.0-dist.tar.gz
 does not exist -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
com.coderplus.maven.plugins:copy-rename-maven-plugin:1.0.1:rename (rename-file) 
on project ambari-server: sourceFile 
D:\Users\jesaremi\Downloads\apache-ambari-2.4.2-src\ambari-server\target\repo\ambari-server-2.4.2.0.0-dist.tar.gz
 does not exist
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to