Skip to content

Commit

Permalink
HSEARCH-4688 Upgrade to Jandex 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Oct 6, 2022
1 parent 47544c7 commit cd82823
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion integrationtest/showcase/library/pom.xml
Expand Up @@ -123,7 +123,7 @@
<build>
<plugins>
<plugin>
<groupId>org.jboss.jandex</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<executions>
<execution>
Expand Down
2 changes: 1 addition & 1 deletion orm6/parents/integrationtest/pom.xml
Expand Up @@ -67,7 +67,7 @@
(which, unfortunately, might be different from the version used in ORM 5.x
on which our utils are aligned) -->
<exclusion>
<groupId>org.jboss</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex</artifactId>
</exclusion>
<exclusion>
Expand Down
2 changes: 1 addition & 1 deletion orm6/parents/internal/pom.xml
Expand Up @@ -67,7 +67,7 @@
(which, unfortunately, might be different from the version used in ORM 5.x
on which our utils are aligned) -->
<exclusion>
<groupId>org.jboss</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex</artifactId>
</exclusion>
<exclusion>
Expand Down
2 changes: 1 addition & 1 deletion orm6/parents/public/pom.xml
Expand Up @@ -67,7 +67,7 @@
(which, unfortunately, might be different from the version used in ORM 5.x
on which our utils are aligned) -->
<exclusion>
<groupId>org.jboss</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex</artifactId>
</exclusion>
<exclusion>
Expand Down
12 changes: 9 additions & 3 deletions pom.xml
Expand Up @@ -274,7 +274,7 @@
when the versions start diverging, thanks to the maven-enforcer-plugin
and to our own explicit dependencies in the relevant artifacts.
-->
<version.org.jboss.jandex>2.4.2.Final</version.org.jboss.jandex>
<version.io.smallrye.jandex>3.0.0</version.io.smallrye.jandex>
<version.org.hibernate.commons.annotations>${version.org.hibernate.commons.annotations.orm6}</version.org.hibernate.commons.annotations>
<version.net.bytebuddy>${version.net.bytebuddy.orm6}</version.net.bytebuddy>
<version.io.smallrye.jandex>3.0.0</version.io.smallrye.jandex>
Expand Down Expand Up @@ -372,7 +372,7 @@
<version.help.plugin>3.3.0</version.help.plugin>
<version.install.plugin>3.0.1</version.install.plugin>
<version.io.takari.maven>0.7.7</version.io.takari.maven>
<version.jandex.plugin>1.2.3</version.jandex.plugin>
<version.jandex.plugin>3.0.0</version.jandex.plugin>
<version.japicmp.plugin>0.16.0</version.japicmp.plugin>
<version.jar.plugin>3.3.0</version.jar.plugin>
<version.javadoc.plugin>3.4.1</version.javadoc.plugin>
Expand Down Expand Up @@ -1567,6 +1567,12 @@
<version>${maven.min.version}</version>
</requireMavenVersion>
<banDuplicatePomDependencyVersions />
<bannedDependencies>
<excludes>
<!-- We use Jandex 3 instead: io.smallrye:jandex, io.smallrye:jandex-maven-plugin -->
<exclude>org.jboss:jandex*</exclude>
</excludes>
</bannedDependencies>
</rules>
</configuration>
</execution>
Expand Down Expand Up @@ -1979,7 +1985,7 @@
<version>1.0.2</version>
</plugin>
<plugin>
<groupId>org.jboss.jandex</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<version>${version.jandex.plugin}</version>
<executions>
Expand Down
4 changes: 2 additions & 2 deletions util/common/pom.xml
Expand Up @@ -26,10 +26,10 @@
<artifactId>jboss-logging-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex</artifactId>
<!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. -->
<version>${version.org.jboss.jandex}</version>
<version>${version.io.smallrye.jandex}</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions util/internal/test/common/pom.xml
Expand Up @@ -76,10 +76,10 @@
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex</artifactId>
<!-- DO NOT MANAGE this dependency. See the version property declaration. -->
<version>${version.org.jboss.jandex}</version>
<version>${version.io.smallrye.jandex}</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
Expand All @@ -97,7 +97,7 @@
</plugin>
<!-- This is only necessary to implement a few tests in other Maven modules; see JandexUtilsTest -->
<plugin>
<groupId>org.jboss.jandex</groupId>
<groupId>io.smallrye</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<executions>
<execution>
Expand Down

0 comments on commit cd82823

Please sign in to comment.