Package org.apache.maven.project
Class InvalidProjectVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.project.ProjectBuildingException
org.apache.maven.project.InvalidProjectVersionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidDependencyVersionException
InvalidProjectVersionException
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidProjectVersionException
(String projectId, String locationInPom, String offendingVersion, File pomFile, InvalidVersionSpecificationException cause) -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
formatMessage
(String projectId, String locationInPom, String offendingVersion, InvalidVersionSpecificationException cause) Methods inherited from class org.apache.maven.project.ProjectBuildingException
getPomFile, getPomLocation, getProjectId, getResults
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
locationInPom
-
offendingVersion
-
-
Constructor Details
-
InvalidProjectVersionException
public InvalidProjectVersionException(String projectId, String locationInPom, String offendingVersion, File pomFile, InvalidVersionSpecificationException cause)
-
-
Method Details
-
formatMessage
private static String formatMessage(String projectId, String locationInPom, String offendingVersion, InvalidVersionSpecificationException cause) -
getOffendingVersion
-
getLocationInPom
-