Package io.lumify.core.version

Examples of io.lumify.core.version.BuildInfo


        // Built By: gshankman
        // Build Platform: Mac OS X 10.9.1 (x86_64)
        // Build JVM: 1.7.0_51-b13 (Oracle Corporation)
        // Built By Maven: 3.1.1
        // ---------------
        BuildInfo build = info.getBuildInfo();
        return new String[] {
            new StringBuilder()
                    .append(SEP_LINE).append('\n')
                    .append("Project:            ").append(info.getName()).append('\n')
                    .append("Group ID:           ").append(info.getGroupId()).append('\n')
                    .append("Artifact ID:        ").append(info.getArtifactId()).append('\n')
                    .append("Version:            ").append(info.getVersion()).append('\n')
                    .append("SCM Revision:       ").append(info.getScmRevision()).append('\n')
                    .append("Location:           ").append(info.getSource()).append('\n')
                    .append("Built On:           ").append(build.getDate()).append('\n')
                    .append("Built By:           ").append(build.getUser()).append('\n')
                    .append("Build Platform:     ").append(build.osSpec()).append('\n')
                    .append("Build JVM:          ").append(build.jvmSpec()).append('\n')
                    .append("Built By Maven:     ").append(build.getMavenVersion()).append('\n')
                    .append(SEP_LINE).append('\n')
                    .toString()
        };
    }
View Full Code Here

TOP

Related Classes of io.lumify.core.version.BuildInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.