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:
Serializable

public class Repository
extends SetBase
implements 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.
 List<GroupVersionAlignment> getGroupVersionAlignments()
          Method getGroupVersionAlignments.
 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(List<GroupVersionAlignment> 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 setScope(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 List<GroupVersionAlignment> getGroupVersionAlignments()
Method getGroupVersionAlignments.

Returns:
List

getScope

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

Returns:
String

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.

Returns:
boolean

removeGroupVersionAlignment

public void removeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
Method removeGroupVersionAlignment.

Parameters:
groupVersionAlignment -

setGroupVersionAlignments

public void setGroupVersionAlignments(List<GroupVersionAlignment> 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(String scope)
Set specifies the scope for artifacts included in this repository. Default scope value is "runtime".

Parameters:
scope -


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.