|
2920 | 2920 | </plugins> |
2921 | 2921 | </build> |
2922 | 2922 | </profile> |
| 2923 | + <profile> |
| 2924 | + <id>hibernate-7.2</id> |
| 2925 | + <!-- Note that we compile the test suite against Hibernate 5.6 because this testsuite will be jakarta-transformed --> |
| 2926 | + <properties> |
| 2927 | + <jpa.excludedGroups>com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate,com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate60,com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate66</jpa.excludedGroups> |
| 2928 | + <additional.source.directory>src/main/hibernate</additional.source.directory> |
| 2929 | + </properties> |
| 2930 | + <dependencies> |
| 2931 | + <dependency> |
| 2932 | + <groupId>org.hibernate</groupId> |
| 2933 | + <artifactId>hibernate-core</artifactId> |
| 2934 | + <version>${version.hibernate-5.6}</version> |
| 2935 | + </dependency> |
| 2936 | + <dependency> |
| 2937 | + <groupId>org.hibernate</groupId> |
| 2938 | + <artifactId>hibernate-envers</artifactId> |
| 2939 | + <version>${version.hibernate-5.6}</version> |
| 2940 | + </dependency> |
| 2941 | + <dependency> |
| 2942 | + <groupId>org.hibernate</groupId> |
| 2943 | + <artifactId>hibernate-testing</artifactId> |
| 2944 | + <version>${version.hibernate-5.6}</version> |
| 2945 | + </dependency> |
| 2946 | + <dependency> |
| 2947 | + <groupId>com.vladmihalcea</groupId> |
| 2948 | + <artifactId>hibernate-types-52</artifactId> |
| 2949 | + <version>${version.hibernate-types}</version> |
| 2950 | + </dependency> |
| 2951 | + <dependency> |
| 2952 | + <groupId>jakarta.xml.bind</groupId> |
| 2953 | + <artifactId>jakarta.xml.bind-api</artifactId> |
| 2954 | + <version>${version.jakarta-jaxb-api}</version> |
| 2955 | + </dependency> |
| 2956 | + <dependency> |
| 2957 | + <groupId>com.sun.xml.bind</groupId> |
| 2958 | + <artifactId>jaxb-impl</artifactId> |
| 2959 | + <version>${version.jakarta-jaxb}</version> |
| 2960 | + </dependency> |
| 2961 | + <dependency> |
| 2962 | + <groupId>jakarta.transaction</groupId> |
| 2963 | + <artifactId>jakarta.transaction-api</artifactId> |
| 2964 | + <version>${version.jakarta-jta}</version> |
| 2965 | + </dependency> |
| 2966 | + <dependency> |
| 2967 | + <groupId>jakarta.activation</groupId> |
| 2968 | + <artifactId>jakarta.activation-api</artifactId> |
| 2969 | + <version>${version.jakarta-activation}</version> |
| 2970 | + </dependency> |
| 2971 | + <dependency> |
| 2972 | + <groupId>${project.groupId}</groupId> |
| 2973 | + <artifactId>blaze-persistence-integration-hibernate-6.2</artifactId> |
| 2974 | + <scope>test</scope> |
| 2975 | + </dependency> |
| 2976 | + <dependency> |
| 2977 | + <groupId>${project.groupId}</groupId> |
| 2978 | + <artifactId>blaze-persistence-testsuite-base-hibernate</artifactId> |
| 2979 | + <scope>compile</scope> |
| 2980 | + </dependency> |
| 2981 | + <!-- IntelliJ apparently needs the annotation processor here --> |
| 2982 | + <dependency> |
| 2983 | + <groupId>org.hibernate</groupId> |
| 2984 | + <artifactId>hibernate-jpamodelgen</artifactId> |
| 2985 | + <version>${version.hibernate-5.6}</version> |
| 2986 | + <scope>provided</scope> |
| 2987 | + </dependency> |
| 2988 | + </dependencies> |
| 2989 | + <build> |
| 2990 | + <plugins> |
| 2991 | + <plugin> |
| 2992 | + <artifactId>maven-surefire-plugin</artifactId> |
| 2993 | + <configuration> |
| 2994 | + <skip>true</skip> |
| 2995 | + </configuration> |
| 2996 | + </plugin> |
| 2997 | + <plugin> |
| 2998 | + <artifactId>maven-jar-plugin</artifactId> |
| 2999 | + <executions> |
| 3000 | + <execution> |
| 3001 | + <goals> |
| 3002 | + <goal>test-jar</goal> |
| 3003 | + </goals> |
| 3004 | + </execution> |
| 3005 | + </executions> |
| 3006 | + </plugin> |
| 3007 | + <plugin> |
| 3008 | + <groupId>org.codehaus.mojo</groupId> |
| 3009 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 3010 | + <executions> |
| 3011 | + <execution> |
| 3012 | + <id>add-source</id> |
| 3013 | + <phase>generate-sources</phase> |
| 3014 | + <goals> |
| 3015 | + <goal>add-source</goal> |
| 3016 | + </goals> |
| 3017 | + <configuration> |
| 3018 | + <sources> |
| 3019 | + <source>${additional.source.directory}</source> |
| 3020 | + <source>${project.build.directory}/generated-sources/metamodel</source> |
| 3021 | + </sources> |
| 3022 | + </configuration> |
| 3023 | + </execution> |
| 3024 | + <execution> |
| 3025 | + <id>add-test-source-hibernate</id> |
| 3026 | + <phase>generate-test-sources</phase> |
| 3027 | + <goals> |
| 3028 | + <goal>add-test-source</goal> |
| 3029 | + </goals> |
| 3030 | + <configuration> |
| 3031 | + <sources> |
| 3032 | + <source>src/test/hibernate</source> |
| 3033 | + </sources> |
| 3034 | + </configuration> |
| 3035 | + </execution> |
| 3036 | + </executions> |
| 3037 | + </plugin> |
| 3038 | + <plugin> |
| 3039 | + <groupId>org.bsc.maven</groupId> |
| 3040 | + <artifactId>maven-processor-plugin</artifactId> |
| 3041 | + <executions> |
| 3042 | + <execution> |
| 3043 | + <id>process</id> |
| 3044 | + <goals> |
| 3045 | + <goal>process</goal> |
| 3046 | + </goals> |
| 3047 | + <phase>generate-sources</phase> |
| 3048 | + <configuration> |
| 3049 | + <additionalSourceDirectories> |
| 3050 | + <additionalSourceDirectory>${additional.source.directory}</additionalSourceDirectory> |
| 3051 | + </additionalSourceDirectories> |
| 3052 | + <!-- source output directory --> |
| 3053 | + <outputDirectory>${project.build.directory}/generated-sources/metamodel</outputDirectory> |
| 3054 | + <processors> |
| 3055 | + <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
| 3056 | + </processors> |
| 3057 | + </configuration> |
| 3058 | + </execution> |
| 3059 | + </executions> |
| 3060 | + <dependencies> |
| 3061 | + <!-- Metamodel --> |
| 3062 | + <dependency> |
| 3063 | + <groupId>org.hibernate</groupId> |
| 3064 | + <artifactId>hibernate-jpamodelgen</artifactId> |
| 3065 | + <version>${version.hibernate-5.6}</version> |
| 3066 | + </dependency> |
| 3067 | + <dependency> |
| 3068 | + <groupId>jakarta.xml.bind</groupId> |
| 3069 | + <artifactId>jakarta.xml.bind-api</artifactId> |
| 3070 | + <version>${version.jakarta-jaxb-api}</version> |
| 3071 | + </dependency> |
| 3072 | + <dependency> |
| 3073 | + <groupId>com.sun.xml.bind</groupId> |
| 3074 | + <artifactId>jaxb-impl</artifactId> |
| 3075 | + <version>${version.jakarta-jaxb}</version> |
| 3076 | + </dependency> |
| 3077 | + <dependency> |
| 3078 | + <groupId>jakarta.transaction</groupId> |
| 3079 | + <artifactId>jakarta.transaction-api</artifactId> |
| 3080 | + <version>${version.jakarta-jta}</version> |
| 3081 | + </dependency> |
| 3082 | + <dependency> |
| 3083 | + <groupId>jakarta.activation</groupId> |
| 3084 | + <artifactId>jakarta.activation-api</artifactId> |
| 3085 | + <version>${version.jakarta-activation}</version> |
| 3086 | + </dependency> |
| 3087 | + </dependencies> |
| 3088 | + </plugin> |
| 3089 | + </plugins> |
| 3090 | + </build> |
| 3091 | + </profile> |
2923 | 3092 | <profile> |
2924 | 3093 | <id>eclipselink</id> |
2925 | 3094 | <properties> |
|
0 commit comments