File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/dev/sigstore/plugin Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ plugins {
3
3
id(" build-logic.test-junit5" )
4
4
id(" build-logic.depends-on-local-sigstore-java-repo" )
5
5
id(" build-logic.depends-on-local-sigstore-maven-plugin-repo" )
6
- id(" de.benediktritter .maven-plugin-development" ) version " 0.4.3 "
6
+ id(" org.gradlex .maven-plugin-development" ) version " 1.0.2 "
7
7
}
8
8
9
9
description = " A Maven plugin for signing with Sigstore"
10
10
11
11
dependencies {
12
12
compileOnly(" org.apache.maven:maven-plugin-api:3.9.9" )
13
13
compileOnly(" org.apache.maven:maven-core:3.9.10" )
14
- compileOnly(" org.apache.maven.plugin-tools:maven-plugin-annotations:3.14.0 " )
14
+ compileOnly(" org.apache.maven.plugin-tools:maven-plugin-annotations:3.15.1 " )
15
15
16
16
implementation(project(" :sigstore-java" ))
17
17
implementation(" org.bouncycastle:bcutil-jdk18on:1.80" )
Original file line number Diff line number Diff line change 22
22
import java .security .cert .X509Certificate ;
23
23
import java .time .temporal .ChronoUnit ;
24
24
import java .util .List ;
25
+ import javax .inject .Inject ;
25
26
import org .apache .maven .plugin .AbstractMojo ;
26
27
import org .apache .maven .plugin .MojoExecutionException ;
27
28
import org .apache .maven .plugin .MojoFailureException ;
28
- import org .apache .maven .plugins .annotations .Component ;
29
29
import org .apache .maven .plugins .annotations .LifecyclePhase ;
30
30
import org .apache .maven .plugins .annotations .Mojo ;
31
31
import org .apache .maven .plugins .annotations .Parameter ;
@@ -59,7 +59,7 @@ public class SigstoreSignAttachedMojo extends AbstractMojo {
59
59
private MavenProject project ;
60
60
61
61
/** Maven ProjectHelper */
62
- @ Component private MavenProjectHelper projectHelper ;
62
+ @ Inject private MavenProjectHelper projectHelper ;
63
63
64
64
@ Override
65
65
public void execute () throws MojoExecutionException , MojoFailureException {
You can’t perform that action at this time.
0 commit comments