Package org.eclipse.tycho.helper
Class ProjectHelper
java.lang.Object
org.eclipse.tycho.helper.ProjectHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.project.MavenProjectorg.codehaus.plexus.util.xml.Xpp3Domorg.codehaus.plexus.util.xml.Xpp3DomgetPluginConfiguration(String pluginGroupId, String pluginArtifactId, String goal) org.codehaus.plexus.util.xml.Xpp3DomgetPluginConfiguration(String pluginGroupId, String pluginArtifactId, String goal, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession mavenSession) List<org.apache.maven.model.Plugin> getPlugins(org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession mavenSession) Get all plugins for a project, either configured directly or specified on the commandlinebooleanhasPluginExecution(String pluginGroupId, String pluginArtifactId, String goal, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession mavenSession) Check if there is at least one plugin execution configured for the specified plugin and goal
-
Constructor Details
-
ProjectHelper
public ProjectHelper()
-
-
Method Details
-
getPlugins
public List<org.apache.maven.model.Plugin> getPlugins(org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession mavenSession) Get all plugins for a project, either configured directly or specified on the commandline- Parameters:
project-mavenSession-- Returns:
-
hasPluginExecution
public boolean hasPluginExecution(String pluginGroupId, String pluginArtifactId, String goal, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession mavenSession) Check if there is at least one plugin execution configured for the specified plugin and goal- Parameters:
pluginGroupId-pluginArtifactId-goal-project-mavenSession-- Returns:
trueif an execution was found orfalseotherwise.
-
getPluginConfiguration
-
getPluginConfiguration
-
getCurrentProject
public org.apache.maven.project.MavenProject getCurrentProject() -
getDom
-