File tree Expand file tree Collapse file tree 5 files changed +1
-18
lines changed
src/main/java/org/codehaus/mojo/exec Expand file tree Collapse file tree 5 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 181
181
<dependency >
182
182
<groupId >org.mockito</groupId >
183
183
<artifactId >mockito-core</artifactId >
184
- <version >4.5.0 </version >
184
+ <version >4.5.1 </version >
185
185
<scope >test</scope >
186
186
</dependency >
187
187
<dependency >
Original file line number Diff line number Diff line change 29
29
import org .apache .maven .model .Resource ;
30
30
import org .apache .maven .plugin .AbstractMojo ;
31
31
import org .apache .maven .plugin .MojoExecutionException ;
32
- import org .apache .maven .plugin .descriptor .PluginDescriptor ;
33
- import org .apache .maven .plugins .annotations .Component ;
34
32
import org .apache .maven .plugins .annotations .Parameter ;
35
33
import org .apache .maven .project .MavenProject ;
36
- import org .apache .maven .project .ProjectBuilder ;
37
- import org .apache .maven .shared .transfer .artifact .resolve .ArtifactResolver ;
38
34
import org .codehaus .plexus .util .cli .CommandLineUtils ;
39
35
40
36
/**
@@ -56,15 +52,6 @@ public abstract class AbstractExecMojo
56
52
@ Parameter ( defaultValue = "${session}" , readonly = true , required = true )
57
53
private MavenSession session ;
58
54
59
- @ Component
60
- private ArtifactResolver artifactResolver ;
61
-
62
- @ Component
63
- private ProjectBuilder projectBuilder ;
64
-
65
- @ Parameter ( defaultValue = "${plugin}" , readonly = true ) // Maven 3 only
66
- private PluginDescriptor plugin ;
67
-
68
55
@ Parameter ( readonly = true , defaultValue = "${plugin.artifacts}" )
69
56
private List <Artifact > pluginDependencies ;
70
57
Original file line number Diff line number Diff line change 21
21
import java .util .concurrent .ForkJoinPool ;
22
22
23
23
import org .apache .maven .artifact .Artifact ;
24
- import org .apache .maven .artifact .factory .ArtifactFactory ;
25
24
import org .apache .maven .plugin .MojoExecutionException ;
26
25
import org .apache .maven .plugin .MojoFailureException ;
27
26
import org .apache .maven .plugins .annotations .Component ;
32
31
import org .apache .maven .project .ProjectBuilder ;
33
32
import org .apache .maven .project .ProjectBuildingRequest ;
34
33
import org .apache .maven .shared .transfer .artifact .resolve .ArtifactResult ;
35
- import org .apache .maven .shared .transfer .dependencies .DefaultDependableCoordinate ;
36
34
import org .apache .maven .shared .transfer .dependencies .resolve .DependencyResolver ;
37
35
38
36
/**
Original file line number Diff line number Diff line change 44
44
import java .util .jar .Manifest ;
45
45
46
46
import org .apache .commons .exec .CommandLine ;
47
- import org .apache .commons .exec .DefaultExecutor ;
48
47
import org .apache .commons .exec .ExecuteException ;
49
48
import org .apache .commons .exec .ExecuteResultHandler ;
50
49
import org .apache .commons .exec .ExecuteWatchdog ;
Original file line number Diff line number Diff line change 22
22
import org .apache .commons .exec .CommandLine ;
23
23
import org .apache .commons .exec .DefaultExecutor ;
24
24
import org .apache .commons .exec .OS ;
25
- import org .apache .commons .exec .launcher .CommandLauncherFactory ;
26
25
import org .apache .commons .exec .launcher .VmsCommandLauncher ;
27
26
28
27
import java .io .File ;
You can’t perform that action at this time.
0 commit comments