public final class MetaDataProviderBuilder extends Object
MetaDataProvider.| Constructor and Description |
|---|
MetaDataProviderBuilder(org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session,
org.apache.maven.execution.RuntimeInformation runtime,
ScmInfo scmInfo)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MetaDataProvider |
build(Provider config)
Creates a configured instance of the
MetaDataProvider interface. |
public MetaDataProviderBuilder(org.apache.maven.project.MavenProject project,
org.apache.maven.execution.MavenSession session,
org.apache.maven.execution.RuntimeInformation runtime,
ScmInfo scmInfo)
project - the Maven project.session - the Maven session instance.runtime - the runtime information of the Maven instance being executed
for the build.scmInfo - the information for the SCM provided to the build plugin.public MetaDataProvider build(Provider config) throws org.apache.maven.plugin.MojoExecutionException
MetaDataProvider interface.config - the configuration for the build.org.apache.maven.plugin.MojoExecutionException - if the instance cannot be created.Copyright © 2006-2014. All Rights Reserved.