org.apache.maven.plugin.assembly.model
Class Repository

java.lang.Object
  extended by org.apache.maven.plugin.assembly.model.SetBase
      extended by org.apache.maven.plugin.assembly.model.Repository
All Implemented Interfaces:
java.io.Serializable

public class Repository
extends SetBase
implements java.io.Serializable

Defines a Maven repository to be included in the assembly.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Repository()
           
 
Method Summary
 void addGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
          Method addGroupVersionAlignment
 java.util.List getGroupVersionAlignments()
          Method getGroupVersionAlignments
 java.lang.String getModelEncoding()
           
 java.lang.String getScope()
          Get Specifies the scope for artifacts included in this repository.
 boolean isIncludeMetadata()
          Get If set to true, this property will trigger the creation of repository metadata which will allow the repository to be used as a functional remote repository.
 void removeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
          Method removeGroupVersionAlignment
 void setGroupVersionAlignments(java.util.List groupVersionAlignments)
          Set Align a group to a version or an individual artifact.
 void setIncludeMetadata(boolean includeMetadata)
          Set If set to true, this property will trigger the creation of repository metadata which will allow the repository to be used as a functional remote repository.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setScope(java.lang.String scope)
          Set Specifies the scope for artifacts included in this repository.
 
Methods inherited from class org.apache.maven.plugin.assembly.model.SetBase
addExclude, addInclude, getDirectoryMode, getExcludes, getFileMode, getIncludes, getOutputDirectory, isUseDefaultExcludes, isUseStrictFiltering, removeExclude, removeInclude, setDirectoryMode, setExcludes, setFileMode, setIncludes, setOutputDirectory, setUseDefaultExcludes, setUseStrictFiltering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repository

public Repository()
Method Detail

addGroupVersionAlignment

public void addGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
Method addGroupVersionAlignment

Parameters:
groupVersionAlignment -

getGroupVersionAlignments

public java.util.List getGroupVersionAlignments()
Method getGroupVersionAlignments


getScope

public java.lang.String getScope()
Get Specifies the scope for artifacts included in this repository. Default scope value is "runtime".


isIncludeMetadata

public boolean isIncludeMetadata()
Get If set to true, this property will trigger the creation of repository metadata which will allow the repository to be used as a functional remote repository.


removeGroupVersionAlignment

public void removeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
Method removeGroupVersionAlignment

Parameters:
groupVersionAlignment -

setGroupVersionAlignments

public void setGroupVersionAlignments(java.util.List groupVersionAlignments)
Set Align a group to a version or an individual artifact.

Parameters:
groupVersionAlignments -

setIncludeMetadata

public void setIncludeMetadata(boolean includeMetadata)
Set If set to true, this property will trigger the creation of repository metadata which will allow the repository to be used as a functional remote repository.

Parameters:
includeMetadata -

setScope

public void setScope(java.lang.String scope)
Set Specifies the scope for artifacts included in this repository. Default scope value is "runtime".

Parameters:
scope -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class SetBase

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class SetBase


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.