Skip to content

Commit

Permalink
Merge pull request #25 from jglick/update-annotation-indexer
Browse files Browse the repository at this point in the history
With a new `annotation-indexer` comes a new index location
  • Loading branch information
kohsuke committed May 12, 2021
2 parents f593a95 + 062ed96 commit 364e1c9
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 364e1c9

Please sign in to comment.