|
23 | 23 | <groupId>org.hibernate.search</groupId>
|
24 | 24 | <artifactId>hibernate-search-mapper-orm</artifactId>
|
25 | 25 | </dependency>
|
26 |
| - <!-- This dependency is only here to solve compilation warnings. |
27 |
| - For some reason, if we rely on the transitive dependency from mapper-orm, |
28 |
| - we end up with compilation warnings like this: |
29 |
| - unknown enum constant XmlAccessType.FIELD |
30 |
| - This seems related to the annotation processor, |
31 |
| - but who knows what the exact reason is. |
32 |
| - --> |
33 |
| - <dependency> |
34 |
| - <groupId>jakarta.xml.bind</groupId> |
35 |
| - <artifactId>jakarta.xml.bind-api</artifactId> |
36 |
| - <!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. --> |
37 |
| - <version>${version.jakarta.xml.bind}</version> |
38 |
| - <scope>provided</scope> |
39 |
| - </dependency> |
40 | 26 | <dependency>
|
41 | 27 | <groupId>org.jboss.logging</groupId>
|
42 | 28 | <artifactId>jboss-logging</artifactId>
|
|
49 | 35 | <groupId>org.apache.avro</groupId>
|
50 | 36 | <artifactId>avro</artifactId>
|
51 | 37 | </dependency>
|
| 38 | + |
| 39 | + <!-- This dependency is only here to solve Moditect errors. |
| 40 | + For some reason, the jakarta.transaction module requires jakarta.interceptor, |
| 41 | + but the jakarta.transaction-api Maven module doesn't depend on jakarta.interceptor-api, |
| 42 | + and that doesn't play well with Moditect, which ends up throwing an exception: |
| 43 | + Execution add-module-infos of goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info failed: Module jakarta.interceptor not found, required by jakarta.transaction |
| 44 | + --> |
| 45 | + <dependency> |
| 46 | + <groupId>jakarta.interceptor</groupId> |
| 47 | + <artifactId>jakarta.interceptor-api</artifactId> |
| 48 | + <!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. --> |
| 49 | + <version>${version.jakarta.interceptor-api}</version> |
| 50 | + <scope>provided</scope> |
| 51 | + </dependency> |
| 52 | + <!-- This dependency is only here to solve Moditect errors. |
| 53 | + For some reason, the jakarta.transaction module requires jakarta.cdi, |
| 54 | + but the jakarta.transaction-api Maven module doesn't depend on jakarta.enterprise.cdi-api, |
| 55 | + and that doesn't play well with Moditect, which ends up throwing an exception: |
| 56 | + Execution add-module-infos of goal org.moditect:moditect-maven-plugin:1.0.0.RC2:add-module-info failed: Module jakarta.interceptor not found, required by jakarta.transaction |
| 57 | + --> |
| 58 | + <dependency> |
| 59 | + <groupId>jakarta.enterprise</groupId> |
| 60 | + <artifactId>jakarta.enterprise.cdi-api</artifactId> |
| 61 | + <!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. --> |
| 62 | + <version>${version.jakarta.enterprise}</version> |
| 63 | + <scope>provided</scope> |
| 64 | + </dependency> |
| 65 | + |
52 | 66 | <dependency>
|
53 | 67 | <groupId>org.hibernate.search</groupId>
|
54 | 68 | <artifactId>hibernate-search-util-internal-test-orm</artifactId>
|
|
0 commit comments