Le Thu, Mar 30, 2017 at 09:58:16AM -0700, Roman Shaposhnik a écrit:
> Java 7 is no longer supported by Bigtop.

Doesn't matter here. Tried with java8:

asl@i005:~/buildjava8$ cat /etc/debian_version 
8.7
asl@i005:~/buildjava8$ java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-1~bpo8+1-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

Fails exactly the same way:

[INFO] Building ODPi Ambari Management Pack 1.0.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ odpi-ambari-mpack ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ 
odpi-ambari-mpack ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:regex-property (regex-property) @ 
odpi-ambari-mpack ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ odpi-ambari-mpack ---
[INFO] Executing: /bin/sh -c cd 
'/home/asl/buildjava8/output/ambari/ambari-2.5.0/contrib/management-packs/odpi-ambari-mpack'
 && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 
/home/asl/buildjava8/output/ambari/ambari-2.5.0/contrib/management-packs/odpi-ambari-mpack
[INFO] Storing buildNumber: 42b78bf91d8ef694cd10430d6f0525ee725fb041 at 
timestamp: 1490894547941
[INFO] Storing buildScmBranch: master
[INFO] 
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-resources) @ 
odpi-ambari-mpack ---
[WARNING] File encoding has not been set, using platform encoding 
ANSI_X3.4-1968, i.e. build is platform dependent!
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-assembly-plugin:2.4.1:single (build-tarball) @ 
odpi-ambari-mpack ---
[INFO] Reading assembly descriptor: src/main/assemblies/odpi-ambari-mpack.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.500 s
[INFO] Finished at: 2017-03-30T19:22:28+02:00
[INFO] Final Memory: 13M/238M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (build-tarball) on 
project odpi-ambari-mpack: Assembly is incorrectly configured: Assembly is 
incorrectly configured:
[ERROR] Assembly:  is not configured correctly: Assembly ID must be present and 
non-empty.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
debian/rules:29: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/home/asl/buildjava8/output/ambari/ambari-2.5.0'
debian/rules:26: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -b
 failed
:ambari-deb FAILED

        Arnaud.

Attachment: signature.asc
Description: Digital signature

Reply via email to