Skip to content

Commit

Permalink
FORGE-2481: Create Jandex indexes during packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 16, 2015
1 parent bb092f8 commit f228336
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,19 +216,18 @@

<build>
<plugins>
<!-- Ignoring unused plugin execution -->
<!-- Create jandex index for faster performance -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<inherited>true</inherited>
<groupId>org.jboss.jandex</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<version>1.0.3</version>
<executions>
<execution>
<id>get-build-timestamp</id>
<phase>none</phase>
</execution>
<execution>
<id>get-scm-revision</id>
<phase>none</phase>
<id>make-index</id>
<goals>
<goal>jandex</goal>
</goals>
<inherited>true</inherited>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -406,6 +405,19 @@
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jboss.jandex</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<versionRange>[1.0.3,)</versionRange>
<goals>
<goal>jandex</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
Expand Down

0 comments on commit f228336

Please sign in to comment.