Package hudson.tasks
Interface Maven.ProjectWithMaven
-
- All Known Implementing Classes:
FreeStyleProject
,Project
- Enclosing class:
- Maven
public static interface Maven.ProjectWithMaven
Optional interface that can be implemented byAbstractProject
that has "contextual"Maven.MavenInstallation
associated with it.Code like RedeployPublisher uses this interface in an attempt to use the consistent Maven installation attached to the project.
- Since:
- 1.235
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Maven.MavenInstallation
inferMavenInstallation()
Gets theMaven.MavenInstallation
associated with the project.
-
-
-
Method Detail
-
inferMavenInstallation
Maven.MavenInstallation inferMavenInstallation()
Gets theMaven.MavenInstallation
associated with the project. Can be null.If the Maven installation can not be uniquely determined, it's often better to return just one of them, rather than returning null, since this method is currently ultimately only used to decide where to parse
conf/settings.xml
from.
-
-