You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2019/08/20 21:08:03 UTC

[myfaces] branch master updated: generate jandex

This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/master by this push:
     new 20371b6  generate jandex
20371b6 is described below

commit 20371b6dad70157180508041865fade0c91aa818
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Tue Aug 20 23:07:55 2019 +0200

    generate jandex
---
 api/pom.xml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/api/pom.xml b/api/pom.xml
index 4a71906..98bc320 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -365,6 +365,31 @@
                 <artifactId>maven-surefire-plugin</artifactId>
             </plugin>
 
+            <!-- generate jandex file for Quarkus but skip classes which depends on JSP dependency -->
+            <plugin>
+                <groupId>org.jboss.jandex</groupId>
+                <artifactId>jandex-maven-plugin</artifactId>
+                <version>1.0.6</version>
+                <executions>
+                  <execution>
+                    <id>make-index</id>
+                    <goals>
+                        <goal>jandex</goal>
+                    </goals>
+                    <configuration>
+                        <fileSets>
+                            <fileSet>
+                                <directory>${project.build.outputDirectory}</directory>
+                                <excludes>
+                                  <exclude>**/*Tag.class</exclude>
+                                </excludes>
+                            </fileSet>
+                        </fileSets>
+                    </configuration>
+                  </execution>
+                </executions>
+            </plugin>
+
         </plugins>
 
     </build>