de.smartics.maven.plugin.buildmetadata.data
Class MavenMetaDataProvider
java.lang.Object
de.smartics.maven.plugin.buildmetadata.data.AbstractMetaDataProvider
de.smartics.maven.plugin.buildmetadata.data.MavenMetaDataProvider
-
All Implemented Interfaces:
-
MetaDataProvider
-
public final class MavenMetaDataProvider
-
extends
AbstractMetaDataProvider
Extracts information from the Maven project, session, and runtime information.
-
Author:
-
Robert Reiner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenMetaDataProvider
public MavenMetaDataProvider(MavenProject project,
MavenSession session,
RuntimeInformation runtime,
MavenMetaDataSelection selection)
-
Constructor.
-
Parameters:
-
project
- the Maven project.
-
session
- the Maven session instance.
-
runtime
- the runtime information of the Maven instance being executed for the build.
-
selection
- the selection of properties to be added or hidden.
-
See Also:
-
AbstractMetaDataProvider.AbstractMetaDataProvider()
provideBuildMetaData
public void provideBuildMetaData(Properties buildMetaDataProperties)
-
Adds the information of the Maven runtime as build properties.
-
-
Parameters:
-
buildMetaDataProperties
- the build meta data properties.
Copyright © 2006-2012
Kronseder & Reiner GmbH - smartics. All Rights Reserved.