|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.assembly.model.Repository
public class Repository
Defines a Maven repository to be included in the
assembly. The artifacts
available to be included in a repository are your
project's dependency
artifacts. The repository created contains the needed
metadata entries
and also contains both sha1 and md5 checksums. This is
useful for creating
archives which will be deployed to internal
repositories.
NOTE: Currently, only artifacts from the
central repository
are allowed.
Constructor Summary | |
---|---|
Repository()
|
Method Summary | |
---|---|
void |
addExclude(String string)
Method addExclude. |
void |
addGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
Method addGroupVersionAlignment. |
void |
addInclude(String string)
Method addInclude. |
String |
getDirectoryMode()
Get similar to a UNIX permission, sets the directory mode of the directories included. |
List<String> |
getExcludes()
Method getExcludes. |
String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the files included. |
List<GroupVersionAlignment> |
getGroupVersionAlignments()
Method getGroupVersionAlignments. |
List<String> |
getIncludes()
Method getIncludes. |
String |
getOutputDirectory()
Get sets the output directory relative to the root of the root directory of the assembly. |
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 |
removeExclude(String string)
Method removeExclude. |
void |
removeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
Method removeGroupVersionAlignment. |
void |
removeInclude(String string)
Method removeInclude. |
void |
setDirectoryMode(String directoryMode)
Set similar to a UNIX permission, sets the directory mode of the directories included. |
void |
setExcludes(List<String> excludes)
Set when <exclude> subelements are present, they define a set of dependency artifact coordinates to exclude. |
void |
setFileMode(String fileMode)
Set similar to a UNIX permission, sets the file mode of the files included. |
void |
setGroupVersionAlignments(List<GroupVersionAlignment> groupVersionAlignments)
Set specifies that you want to align a group of artifacts to a specified version. |
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 |
setIncludes(List<String> includes)
Set when <include> subelements are present, they define a set of artifact coordinates to include. |
void |
setOutputDirectory(String outputDirectory)
Set sets the output directory relative to the root of the root directory of the assembly. |
void |
setScope(String scope)
Set specifies the scope for artifacts included in this repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Repository()
Method Detail |
---|
public void addExclude(String string)
string
- public void addGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
groupVersionAlignment
- public void addInclude(String string)
string
- public String getDirectoryMode()
public List<String> getExcludes()
public String getFileMode()
public List<GroupVersionAlignment> getGroupVersionAlignments()
public List<String> getIncludes()
public String getOutputDirectory()
public String getScope()
public boolean isIncludeMetadata()
public void removeExclude(String string)
string
- public void removeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment)
groupVersionAlignment
- public void removeInclude(String string)
string
- public void setDirectoryMode(String directoryMode)
directoryMode
- public void setExcludes(List<String> excludes)
excludes
- public void setFileMode(String fileMode)
fileMode
- public void setGroupVersionAlignments(List<GroupVersionAlignment> groupVersionAlignments)
groupVersionAlignments
- public void setIncludeMetadata(boolean includeMetadata)
includeMetadata
- public void setIncludes(List<String> includes)
includes
- public void setOutputDirectory(String outputDirectory)
outputDirectory
- public void setScope(String scope)
scope
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |