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 @Deprecated
27 public class InvalidProjectModelException
28 extends ProjectBuildingException
29 {
30 private ModelValidationResult validationResult;
31
32 public InvalidProjectModelException( String projectId, String message, File pomLocation )
33 {
34 super( projectId, message, pomLocation );
35 }
36
37
38
39
40
41
42
43
44 public InvalidProjectModelException( String projectId, String pomLocation, String message,
45 ModelValidationResult validationResult )
46 {
47 this( projectId, message, new File( pomLocation ), validationResult );
48 }
49
50 public InvalidProjectModelException( String projectId, String message, File pomFile,
51 ModelValidationResult validationResult )
52 {
53 super( projectId, message, pomFile );
54
55 this.validationResult = validationResult;
56 }
57
58
59
60
61
62
63
64 public InvalidProjectModelException( String projectId, String pomLocation, String message )
65 {
66 this( projectId, message, new File( pomLocation ) );
67 }
68
69 public final ModelValidationResult getValidationResult()
70 {
71 return validationResult;
72 }
73
74 }