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
- Version:
- $Id: FlatRepositoryLayout.java 958295 2010-06-26 23:16:18Z hboutemy $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.