org.codehaus.mojo.javascript.archive
Class JavascriptArchiver

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.archiver.AbstractArchiver
          extended by org.codehaus.plexus.archiver.zip.AbstractZipArchiver
              extended by org.codehaus.plexus.archiver.zip.ZipArchiver
                  extended by org.codehaus.plexus.archiver.jar.JarArchiver
                      extended by org.codehaus.mojo.javascript.archive.JavascriptArchiver
All Implemented Interfaces:
org.codehaus.plexus.archiver.Archiver, org.codehaus.plexus.archiver.FilterEnabled, org.codehaus.plexus.archiver.FinalizerEnabled, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class JavascriptArchiver
extends org.codehaus.plexus.archiver.jar.JarArchiver

Custom archiver for javascript dependencies, packaged as "jsar" (JavaScript ARchive), that are simply a jar of scripts and resources.

Author:
Nicolas De Loof
Plexus component:
role-hint:
"javascript"
instantiation-strategy:
"per-lookup"
role:
"org.codehaus.plexus.archiver.Archiver"

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.plexus.archiver.jar.JarArchiver
org.codehaus.plexus.archiver.jar.JarArchiver.FilesetManifestConfig
 
Field Summary
 
Fields inherited from class org.codehaus.plexus.archiver.zip.AbstractZipArchiver
addedDirs, addingNewFiles, archiveType, doubleFilePass, duplicate, entries, skipWriting
 
Fields inherited from class org.codehaus.plexus.archiver.AbstractArchiver
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE
 
Fields inherited from interface org.codehaus.plexus.archiver.Archiver
ROLE
 
Constructor Summary
JavascriptArchiver()
           
 
Method Summary
 void createDefaultManifest(org.apache.maven.project.MavenProject project)
           
 
Methods inherited from class org.codehaus.plexus.archiver.jar.JarArchiver
addConfiguredIndexJars, addConfiguredManifest, cleanUp, createEmptyZip, finalizeZipOutputStream, findJarName, grabFilesAndDirs, initZipOutputStream, reset, setFilesetmanifest, setIndex, setManifest, setManifestEncoding, writeIndexLikeList, zipFile
 
Methods inherited from class org.codehaus.plexus.archiver.zip.AbstractZipArchiver
addParentDirs, addResources, createArchive, getArchiveFinalizers, getComment, getDirMode, getEncoding, getFileMode, getResourcesToAdd, getResourcesToUpdate, isCompress, isFilesonly, isInUpdateMode, isRoundUp, isSupportingForced, runArchiveFinalizers, setArchiveFilters, setArchiveFinalizers, setComment, setCompress, setDirMode, setEncoding, setFileMode, setFilesonly, setRoundUp, setUpdateMode, zipDir, zipFile
 
Methods inherited from class org.codehaus.plexus.archiver.AbstractArchiver
addArchivedFileSet, addArchivedFileSet, addArchivedFileSet, addArchivedFileSet, addDirectory, addDirectory, addDirectory, addDirectory, addFile, addFile, checkForced, contextualize, getDefaultDirectoryMode, getDefaultFileMode, getDestFile, getDirs, getFiles, getIncludeEmptyDirs, getLogger, isForced, isUptodate, setDefaultDirectoryMode, setDefaultFileMode, setDestFile, setForced, setIncludeEmptyDirs
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavascriptArchiver

public JavascriptArchiver()
Method Detail

createDefaultManifest

public void createDefaultManifest(org.apache.maven.project.MavenProject project)
                           throws org.codehaus.plexus.archiver.jar.ManifestException,
                                  java.io.IOException,
                                  org.codehaus.plexus.archiver.ArchiverException
Throws:
org.codehaus.plexus.archiver.jar.ManifestException
java.io.IOException
org.codehaus.plexus.archiver.ArchiverException


Copyright © 2011 SOFTEC sa. All Rights Reserved.