public class MavenDefaultLayout extends Object implements RepositoryLayout
Constructor and Description |
---|
MavenDefaultLayout() |
Modifier and Type | Method and Description |
---|---|
URI |
getPath(Artifact artifact)
Gets the URI to the location within a remote repository where the specified artifact would be stored.
|
URI |
getPath(Metadata metadata)
Gets the URI to the location within a remote repository where the specified metadata would be stored.
|
public URI getPath(Artifact artifact)
RepositoryLayout
getPath
in interface RepositoryLayout
artifact
- The artifact to get the URI for, must not be null
.null
.public URI getPath(Metadata metadata)
RepositoryLayout
getPath
in interface RepositoryLayout
metadata
- The metadata to get the URI for, must not be null
.null
.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.