1 package org.apache.maven.project;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.File;
23
24 import org.apache.maven.project.validation.ModelValidationResult;
25
26
27
28
29 @Deprecated
30 public class InvalidProjectModelException
31 extends ProjectBuildingException
32 {
33 private ModelValidationResult validationResult;
34
35 public InvalidProjectModelException( String projectId, String message, File pomLocation )
36 {
37 super( projectId, message, pomLocation );
38 }
39
40
41
42
43
44
45
46
47 @Deprecated
48 public InvalidProjectModelException( String projectId, String pomLocation, String message,
49 ModelValidationResult validationResult )
50 {
51 this( projectId, message, new File( pomLocation ), validationResult );
52 }
53
54 public InvalidProjectModelException( String projectId, String message, File pomFile,
55 ModelValidationResult validationResult )
56 {
57 super( projectId, message, pomFile );
58
59 this.validationResult = validationResult;
60 }
61
62
63
64
65
66
67
68 @Deprecated
69 public InvalidProjectModelException( String projectId, String pomLocation, String message )
70 {
71 this( projectId, message, new File( pomLocation ) );
72 }
73
74 public final ModelValidationResult getValidationResult()
75 {
76 return validationResult;
77 }
78
79 }