Examples of ManifestConfiguration


Examples of org.apache.maven.archiver.ManifestConfiguration

 
  /**
   * add "Class-Path: xx.jar" to MANIFEST.MF
   */
  private void extraManifest() {
    ManifestConfiguration manifest = super.archive.getManifest();
    PropertyUtil.setProperty(manifest, "addClasspath", "true");
    PropertyUtil.setProperty(manifest, "classpathPrefix", classpathPrefix);
  }
View Full Code Here

Examples of org.apache.maven.archiver.ManifestConfiguration

  /**
   * add "Class-Path: xx.jar" to MANIFEST.MF<br/>
   * add "MainClass: xx"
   */
  private void extraManifest() {
    ManifestConfiguration manifest = super.archive.getManifest();
    PropertyUtil.setProperty(manifest, "addClasspath", true);
    PropertyUtil.setProperty(manifest, "classpathPrefix", classpathPrefix);
    if(mainClass != null) {
      if(!bootable) {
        PropertyUtil.setProperty(manifest, "mainClass", mainClass);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.