public class ParsedPomFileImpl extends Object implements ParsedPomFile
| Constructor and Description |
|---|
ParsedPomFileImpl(org.apache.maven.model.Model model,
org.eclipse.aether.artifact.ArtifactTypeRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId()
ArtifactId of the project
|
File |
getBaseDirectory()
Returns a base directory of the project.
|
File |
getBuildOutputDirectory()
Returns a directory where project build output is stored.
|
Set<MavenDependency> |
getDependencies()
Returns
|
Set<MavenDependency> |
getDependencyManagement()
Returns dependency management of the Project Object Model
|
String |
getFinalName()
Final name of the project packaged as a JAR, WAR or EAR; by default it is
artifactId + "." + packagingType |
String |
getGroupId()
GroupId of the project
|
String |
getName()
Name of the project
|
String |
getOrganizationName()
Returns organization name
|
URL |
getOrganizationUrl()
Returns organization url
|
PackagingType |
getPackagingType()
Packaging type of the project
|
Map<String,Object> |
getPluginConfiguration(String pluginKey)
Returns a plugin configuration in from of a map.
|
List<File> |
getProjectResources()
Returns a list of files defined as a resources for current project.
|
Properties |
getProperties()
Returns interpolated properties defined in the current project
|
File |
getSourceDirectory()
Returns a directory where project sources are stored.
|
File |
getTestSourceDirectory()
Returns a directory where project test sources are stored.
|
String |
getVersion()
Version of the project
|
public ParsedPomFileImpl(org.apache.maven.model.Model model,
org.eclipse.aether.artifact.ArtifactTypeRegistry registry)
public String getGroupId()
ParsedPomFilegetGroupId in interface ParsedPomFilepublic String getArtifactId()
ParsedPomFilegetArtifactId in interface ParsedPomFilepublic String getVersion()
ParsedPomFilegetVersion in interface ParsedPomFilepublic String getName()
ParsedPomFilegetName in interface ParsedPomFilepublic String getOrganizationName()
ParsedPomFilegetOrganizationName in interface ParsedPomFilepublic URL getOrganizationUrl()
ParsedPomFilegetOrganizationUrl in interface ParsedPomFilepublic String getFinalName()
ParsedPomFileartifactId + "." + packagingTypegetFinalName in interface ParsedPomFilepublic PackagingType getPackagingType()
ParsedPomFilegetPackagingType in interface ParsedPomFilepublic File getBaseDirectory()
ParsedPomFilenull.getBaseDirectory in interface ParsedPomFilepublic File getSourceDirectory()
ParsedPomFilenull.tgetSourceDirectory in interface ParsedPomFilepublic File getBuildOutputDirectory()
ParsedPomFilenull.getBuildOutputDirectory in interface ParsedPomFilepublic List<File> getProjectResources()
ParsedPomFilegetProjectResources in interface ParsedPomFilepublic File getTestSourceDirectory()
ParsedPomFilenull.getTestSourceDirectory in interface ParsedPomFilepublic Set<MavenDependency> getDependencyManagement()
ParsedPomFilegetDependencyManagement in interface ParsedPomFilepublic Set<MavenDependency> getDependencies()
ParsedPomFilegetDependencies in interface ParsedPomFilepublic Map<String,Object> getPluginConfiguration(String pluginKey)
ParsedPomFilenullgetPluginConfiguration in interface ParsedPomFilepluginKey - a combination of groupId:artifactIdpublic Properties getProperties()
ParsedPomFilegetProperties in interface ParsedPomFileCopyright © 2013 JBoss by Red Hat. All rights reserved.