de.smartics.maven.util.project
Interface MavenContext

Package class diagram package MavenContext
All Known Implementing Classes:
DefaultMavenContext

public interface MavenContext

Simple wrapper arround a plexus container.

Author:
Robert Reiner

Method Summary
 org.codehaus.plexus.PlexusContainer getContainer()
          Returns a reference to the plexus container.
 ArtifactRepository getLocalArtifactRepository()
          Returns a reference to the local artifact repository.
 Log getLog()
          Returns the plugin logger.
 ProfileManager getProfileManager()
          Returns a reference to the profile manager.
 MavenProjectBuilder getProjectBuilder()
          Returns a reference to the configured project builder.
 

Method Detail

getLog

Log getLog()
Returns the plugin logger. Must return not null.

Returns:
the plugin logger.

getContainer

org.codehaus.plexus.PlexusContainer getContainer()
Returns a reference to the plexus container. May return null.

Returns:
the plexus container.

getProjectBuilder

MavenProjectBuilder getProjectBuilder()
Returns a reference to the configured project builder. Must return not null.

Returns:
the configured project builder.

getLocalArtifactRepository

ArtifactRepository getLocalArtifactRepository()
Returns a reference to the local artifact repository. Must return not null.

Returns:
the artifact repository.

getProfileManager

ProfileManager getProfileManager()
Returns a reference to the profile manager. Must return not null.

Returns:
the profile manager.


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.