org.apache.geronimo.mavenplugins.car
Class Maven2RepositoryAdapter

java.lang.Object
  extended by org.apache.geronimo.kernel.repository.AbstractRepository
      extended by org.apache.geronimo.kernel.repository.Maven2Repository
          extended by org.apache.geronimo.system.repository.Maven2Repository
              extended by org.apache.geronimo.mavenplugins.car.Maven2RepositoryAdapter
All Implemented Interfaces:
ListableRepository, Repository, WritableListableRepository, WriteableRepository, SourceRepository

public class Maven2RepositoryAdapter
extends Maven2Repository
implements SourceRepository

Helps adapt Geronimo repositories to Maven repositories for packaging building.

Version:
$Rev: 648603 $ $Date: 2008-04-16 15:52:51 +0800 (Wed, 16 Apr 2008) $

Nested Class Summary
static interface Maven2RepositoryAdapter.ArtifactLookup
           
 
Field Summary
static GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.kernel.repository.AbstractRepository
rootFile
 
Constructor Summary
Maven2RepositoryAdapter(Set<org.apache.maven.artifact.Artifact> dependencyTree, Maven2RepositoryAdapter.ArtifactLookup lookup)
           
 
Method Summary
static GBeanInfo getGBeanInfo()
           
 File getLocation(Artifact artifact)
           
 PluginListType getPluginList()
           
 SortedSet list()
           
 SortedSet list(Artifact query)
           
protected  Artifact mavenToGeronimoArtifact(org.apache.maven.artifact.Artifact artifact)
           
 OpenResult open(Artifact artifact, FileWriteMonitor fileWriteMonitor)
           
 
Methods inherited from class org.apache.geronimo.kernel.repository.AbstractRepository
contains, copyToRepository, copyToRepository, getDependencies, setTypeHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.kernel.repository.WriteableRepository
copyToRepository, copyToRepository
 
Methods inherited from interface org.apache.geronimo.kernel.repository.Repository
contains, getDependencies
 
Methods inherited from interface org.apache.geronimo.kernel.repository.Repository
contains, getDependencies
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

Maven2RepositoryAdapter

public Maven2RepositoryAdapter(Set<org.apache.maven.artifact.Artifact> dependencyTree,
                               Maven2RepositoryAdapter.ArtifactLookup lookup)
Method Detail

getLocation

public File getLocation(Artifact artifact)
Specified by:
getLocation in interface Repository
Overrides:
getLocation in class Maven2Repository

list

public SortedSet list()
Specified by:
list in interface ListableRepository
Overrides:
list in class Maven2Repository

list

public SortedSet list(Artifact query)
Specified by:
list in interface ListableRepository
Overrides:
list in class Maven2Repository

mavenToGeronimoArtifact

protected Artifact mavenToGeronimoArtifact(org.apache.maven.artifact.Artifact artifact)

getPluginList

public PluginListType getPluginList()
Specified by:
getPluginList in interface SourceRepository

open

public OpenResult open(Artifact artifact,
                       FileWriteMonitor fileWriteMonitor)
                throws IOException,
                       FailedLoginException
Specified by:
open in interface SourceRepository
Throws:
IOException
FailedLoginException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.