Java Doc for MavenEmbedder.java in  » Build » maven » org » apache » maven » embedder » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Build » maven » org.apache.maven.embedder 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.maven.embedder.MavenEmbedder

MavenEmbedder
public class MavenEmbedder (Code)
Class intended to be used by clients who wish to embed Maven into their applications
author:
   Jason van Zyl


Field Summary
final public static  FileDEFAULT_GLOBAL_SETTINGS_FILE
    
final public static  StringDEFAULT_LOCAL_REPO_ID
    
final public static  FileDEFAULT_USER_SETTINGS_FILE
    
final public static  FiledefaultUserLocalRepository
    
final public static  StringuserHome
    
final public static  FileuserMavenConfigurationHome
    

Constructor Summary
public  MavenEmbedder(Configuration embedderConfiguration)
    

Method Summary
public  ArtifactcreateArtifact(String groupId, String artifactId, String version, String scope, String type)
    
public  ArtifactcreateArtifactWithClassifier(String groupId, String artifactId, String version, String type, String classifier)
    
public  MavenExecutionResultexecute(MavenExecutionRequest request)
    
public  ListgetAllLifecyclePhases()
    
public  ArtifactHandlergetArtifactHandler(Artifact artifact)
    
public  ListgetBuildLifecyclePhases()
    
public  ClassWorldgetClassWorld()
    
public  ListgetCleanLifecyclePhases()
    
public  ConfigurationgetConfiguration()
    
public  ListgetDefaultLifecyclePhases()
    
public  ListgetLifecyclePhases()
    
public  ArtifactRepositorygetLocalRepository()
    
public  MavenEmbedderLoggergetLogger()
    
public  PlexusContainergetPlexusContainer()
     Return the instance of the plexus container being used in the embedder.
protected  MapgetPluginExtensionComponents(Plugin plugin)
     protected for tests only..
public  SettingsgetSettings()
    
public  ListgetSiteLifecyclePhases()
    
public  ModelreadModel(File file)
    
public  MavenProjectreadProject(File mavenProject)
    
public  MavenExecutionResultreadProjectWithDependencies(MavenExecutionRequest request)
     This method is used to grab the list of dependencies that belong to a project so that a UI can be populated.
public static  SettingsreadSettings(File file)
    
public  voidresolve(Artifact artifact, List remoteRepositories, ArtifactRepository localRepository)
    
public  voidsetLogger(MavenEmbedderLogger logger)
    
public  voidstop()
    
public static  ConfigurationValidationResultvalidateConfiguration(Configuration configuration)
    
protected  voidverifyPlugin(Plugin plugin, MavenProject project)
    
public  voidwriteModel(Writer writer, Model model, boolean namespaceDeclaration)
    
public  voidwriteModel(Writer writer, Model model)
    
public static  voidwriteSettings(File file, Settings settings)
    

Field Detail
DEFAULT_GLOBAL_SETTINGS_FILE
final public static File DEFAULT_GLOBAL_SETTINGS_FILE(Code)



DEFAULT_LOCAL_REPO_ID
final public static String DEFAULT_LOCAL_REPO_ID(Code)



DEFAULT_USER_SETTINGS_FILE
final public static File DEFAULT_USER_SETTINGS_FILE(Code)



defaultUserLocalRepository
final public static File defaultUserLocalRepository(Code)



userHome
final public static String userHome(Code)



userMavenConfigurationHome
final public static File userMavenConfigurationHome(Code)




Constructor Detail
MavenEmbedder
public MavenEmbedder(Configuration embedderConfiguration) throws MavenEmbedderException(Code)




Method Detail
createArtifact
public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type)(Code)



createArtifactWithClassifier
public Artifact createArtifactWithClassifier(String groupId, String artifactId, String version, String type, String classifier)(Code)



execute
public MavenExecutionResult execute(MavenExecutionRequest request)(Code)



getAllLifecyclePhases
public List getAllLifecyclePhases()(Code)



getArtifactHandler
public ArtifactHandler getArtifactHandler(Artifact artifact)(Code)



getBuildLifecyclePhases
public List getBuildLifecyclePhases()(Code)



getClassWorld
public ClassWorld getClassWorld()(Code)



getCleanLifecyclePhases
public List getCleanLifecyclePhases()(Code)



getConfiguration
public Configuration getConfiguration()(Code)



getDefaultLifecyclePhases
public List getDefaultLifecyclePhases()(Code)



getLifecyclePhases
public List getLifecyclePhases()(Code)



getLocalRepository
public ArtifactRepository getLocalRepository()(Code)



getLogger
public MavenEmbedderLogger getLogger()(Code)



getPlexusContainer
public PlexusContainer getPlexusContainer()(Code)
Return the instance of the plexus container being used in the embedder. The plexus container used in the embedder.



getPluginExtensionComponents
protected Map getPluginExtensionComponents(Plugin plugin) throws PluginManagerException(Code)
protected for tests only..



getSettings
public Settings getSettings()(Code)



getSiteLifecyclePhases
public List getSiteLifecyclePhases()(Code)



readModel
public Model readModel(File file) throws XmlPullParserException, IOException(Code)



readProject
public MavenProject readProject(File mavenProject) throws ProjectBuildingException(Code)



readProjectWithDependencies
public MavenExecutionResult readProjectWithDependencies(MavenExecutionRequest request)(Code)
This method is used to grab the list of dependencies that belong to a project so that a UI can be populated. For example, a list of libraries that are used by an Eclipse, Netbeans, or IntelliJ project.



readSettings
public static Settings readSettings(File file) throws IOException, SettingsConfigurationException(Code)



resolve
public void resolve(Artifact artifact, List remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException(Code)



setLogger
public void setLogger(MavenEmbedderLogger logger)(Code)



stop
public void stop() throws MavenEmbedderException(Code)



validateConfiguration
public static ConfigurationValidationResult validateConfiguration(Configuration configuration)(Code)



verifyPlugin
protected void verifyPlugin(Plugin plugin, MavenProject project) throws ComponentLookupException, ArtifactResolutionException, PluginVersionResolutionException, ArtifactNotFoundException, InvalidVersionSpecificationException, InvalidPluginException, PluginManagerException, PluginNotFoundException, PluginVersionNotFoundException(Code)
mkleint: protected so that IDE integrations can selectively allow downloading artifacts from remote repositories (if they prohibit by default on project loading)



writeModel
public void writeModel(Writer writer, Model model, boolean namespaceDeclaration) throws IOException(Code)



writeModel
public void writeModel(Writer writer, Model model) throws IOException(Code)



writeSettings
public static void writeSettings(File file, Settings settings) throws IOException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.