org.apache.maven.artifact.repository.layout
Class FlatRepositoryLayout
java.lang.Object
org.apache.maven.artifact.repository.layout.FlatRepositoryLayout
- All Implemented Interfaces:
- ArtifactRepositoryLayout
@Component(role=org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout.class,
hint="flat")
public class FlatRepositoryLayout
- extends Object
- implements ArtifactRepositoryLayout
The code in this class is taken from DefaultRepositorylayout, located at:
http://svn.apache.org/viewvc/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java
FlatRepositoryLayout
public FlatRepositoryLayout()
getId
public String getId()
- Specified by:
getId
in interface ArtifactRepositoryLayout
pathOf
public String pathOf(Artifact artifact)
- Specified by:
pathOf
in interface ArtifactRepositoryLayout
pathOfLocalRepositoryMetadata
public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata,
ArtifactRepository repository)
- Specified by:
pathOfLocalRepositoryMetadata
in interface ArtifactRepositoryLayout
pathOfRemoteRepositoryMetadata
public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata)
- Specified by:
pathOfRemoteRepositoryMetadata
in interface ArtifactRepositoryLayout
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.