public interface ParsedPomFile
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 dependencies of the Project Object Model
|
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()
Deprecated.
|
Properties |
getProperties()
Returns interpolated properties defined in the current project
|
List<Resource> |
getResources()
Returns a list of defined resources for current project.
|
File |
getSourceDirectory()
Returns a directory where project sources are stored.
|
File |
getTestOutputDirectory()
Returns a directory where project test output is stored.
|
List<Resource> |
getTestResources()
Returns a list of defined test resources for current project.
|
File |
getTestSourceDirectory()
Returns a directory where project test sources are stored.
|
String |
getVersion()
Version of the project
|
String getGroupId()
String getArtifactId()
String getVersion()
String getName()
String getOrganizationName()
URL getOrganizationUrl() throws IllegalStateException
IllegalStateException
- if organization URL in PMO file does not represent a valid URLString getFinalName()
artifactId + "." + packagingType
PackagingType getPackagingType()
File getBaseDirectory()
null
.File getSourceDirectory()
null
.tFile getBuildOutputDirectory()
null
.File getTestSourceDirectory()
null
.File getTestOutputDirectory()
null
.Set<MavenDependency> getDependencies()
Set<MavenDependency> getDependencyManagement()
@Deprecated List<File> getProjectResources()
getResources()
List<Resource> getResources()
List<Resource> getTestResources()
Properties getProperties()
Copyright © 2022 JBoss by Red Hat. All rights reserved.