Skip to content

Commit

Permalink
With a new annotation-indexer comes a new index location
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed May 10, 2021
1 parent f593a95 commit 062ed96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion annotation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<dependency>
<groupId>org.jenkins-ci</groupId>
<artifactId>annotation-indexer</artifactId>
<version>1.12</version>
<version>1.14</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class ProcessMojo extends AbstractMojo {
private File classesDirectory;

public void execute() throws MojoExecutionException, MojoFailureException {
File index = new File(classesDirectory, "META-INF/annotations/" + WithBridgeMethods.class.getName());
File index = new File(classesDirectory, "META-INF/services/annotations/" + WithBridgeMethods.class.getName());
if (!index.exists()) {
getLog().debug("Skipping because there's no "+index);
return;
Expand Down

0 comments on commit 062ed96

Please sign in to comment.