|
28 | 28 | </parent> |
29 | 29 |
|
30 | 30 | <artifactId>mybatis-cdi</artifactId> |
31 | | - <version>1.1.5-SNAPSHOT</version> |
| 31 | + <version>2.0.0-SNAPSHOT</version> |
32 | 32 |
|
33 | 33 | <name>mybatis-cdi</name> |
34 | 34 | <url>https://www.mybatis.org/cdi</url> |
|
58 | 58 | </distributionManagement> |
59 | 59 |
|
60 | 60 | <properties> |
61 | | - <clirr.comparisonVersion>1.0.3</clirr.comparisonVersion> |
| 61 | + <java.version>11</java.version> |
| 62 | + <java.release.version>11</java.release.version> |
| 63 | + <clirr.comparisonVersion>1.1.4</clirr.comparisonVersion> |
62 | 64 | <findbugs.onlyAnalyze>org.mybatis.cdi.*</findbugs.onlyAnalyze> |
63 | 65 | <module.name>org.mybatis.cdi</module.name> |
64 | 66 | <osgi.import>org.mybatis.*;resolution:=optional,*</osgi.import> |
|
69 | 71 | </properties> |
70 | 72 |
|
71 | 73 | <dependencies> |
| 74 | + <!-- MyBatis --> |
72 | 75 | <dependency> |
73 | 76 | <groupId>org.mybatis</groupId> |
74 | 77 | <artifactId>mybatis</artifactId> |
75 | 78 | <version>3.5.13</version> |
76 | 79 | <scope>provided</scope> |
77 | 80 | </dependency> |
| 81 | + |
| 82 | + <!-- EE Apis --> |
78 | 83 | <dependency> |
79 | 84 | <groupId>jakarta.annotation</groupId> |
80 | 85 | <artifactId>jakarta.annotation-api</artifactId> |
81 | | - <version>1.3.5</version> |
| 86 | + <version>2.1.1</version> |
82 | 87 | <scope>provided</scope> |
83 | 88 | </dependency> |
84 | 89 | <dependency> |
85 | 90 | <groupId>jakarta.transaction</groupId> |
86 | 91 | <artifactId>jakarta.transaction-api</artifactId> |
87 | | - <version>1.3.3</version> |
| 92 | + <version>2.0.1</version> |
| 93 | + <scope>provided</scope> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>jakarta.enterprise</groupId> |
| 97 | + <artifactId>jakarta.enterprise.cdi-api</artifactId> |
| 98 | + <version>4.0.1</version> |
| 99 | + <scope>provided</scope> |
| 100 | + </dependency> |
| 101 | + |
| 102 | + <!-- Weld --> |
| 103 | + <dependency> |
| 104 | + <groupId>org.jboss.classfilewriter</groupId> |
| 105 | + <artifactId>jboss-classfilewriter</artifactId> |
| 106 | + <version>1.3.0.Final</version> |
88 | 107 | <scope>provided</scope> |
89 | 108 | </dependency> |
| 109 | + <dependency> |
| 110 | + <groupId>org.jboss.weld.se</groupId> |
| 111 | + <artifactId>weld-se-core</artifactId> |
| 112 | + <version>5.1.0.Final</version> |
| 113 | + <scope>test</scope> |
| 114 | + </dependency> |
90 | 115 |
|
91 | | - <!-- Test dependencies --> |
| 116 | + <!-- Tests --> |
92 | 117 | <dependency> |
93 | 118 | <groupId>org.junit.jupiter</groupId> |
94 | 119 | <artifactId>junit-jupiter-engine</artifactId> |
95 | 120 | <version>5.9.2</version> |
96 | 121 | <scope>test</scope> |
97 | 122 | </dependency> |
| 123 | + <dependency> |
| 124 | + <groupId>org.mockito</groupId> |
| 125 | + <artifactId>mockito-core</artifactId> |
| 126 | + <version>5.2.0</version> |
| 127 | + <scope>test</scope> |
| 128 | + </dependency> |
| 129 | + <dependency> |
| 130 | + <groupId>org.mockito</groupId> |
| 131 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 132 | + <version>5.2.0</version> |
| 133 | + <scope>test</scope> |
| 134 | + </dependency> |
| 135 | + <dependency> |
| 136 | + <groupId>org.jboss.weld</groupId> |
| 137 | + <artifactId>weld-junit5</artifactId> |
| 138 | + <version>4.0.0.Final</version> |
| 139 | + <scope>test</scope> |
| 140 | + </dependency> |
98 | 141 |
|
99 | 142 | <!-- Database --> |
100 | 143 | <dependency> |
101 | 144 | <groupId>org.jboss.narayana.jta</groupId> |
102 | | - <artifactId>narayana-jta</artifactId> |
| 145 | + <artifactId>narayana-jta-jakarta</artifactId> |
103 | 146 | <version>5.13.1.Final</version> |
104 | 147 | <scope>test</scope> |
105 | 148 | </dependency> |
|
121 | 164 | <version>10.15.2.0</version> |
122 | 165 | <scope>test</scope> |
123 | 166 | </dependency> |
124 | | - <dependency> |
125 | | - <groupId>org.mockito</groupId> |
126 | | - <artifactId>mockito-core</artifactId> |
127 | | - <version>5.2.0</version> |
128 | | - <scope>test</scope> |
129 | | - </dependency> |
130 | | - <dependency> |
131 | | - <groupId>org.mockito</groupId> |
132 | | - <artifactId>mockito-junit-jupiter</artifactId> |
133 | | - <version>5.2.0</version> |
134 | | - <scope>test</scope> |
135 | | - </dependency> |
136 | | - <!-- TODO: Switch to weld-junit5 once we drop cdi 1.1 support |
137 | | - <dependency> |
138 | | - <groupId>org.jboss.weld</groupId> |
139 | | - <artifactId>weld-junit5</artifactId> |
140 | | - <version>2.0.2.Final</version> |
141 | | - <scope>test</scope> |
142 | | - </dependency> |
143 | | - --> |
| 167 | + |
| 168 | + <!-- Logging --> |
144 | 169 | <dependency> |
145 | 170 | <groupId>org.slf4j</groupId> |
146 | 171 | <artifactId>slf4j-api</artifactId> |
|
153 | 178 | <version>2.0.7</version> |
154 | 179 | <scope>test</scope> |
155 | 180 | </dependency> |
156 | | - |
157 | | - <dependency> |
158 | | - <groupId>org.jboss.classfilewriter</groupId> |
159 | | - <artifactId>jboss-classfilewriter</artifactId> |
160 | | - <version>1.2.5.Final</version> |
161 | | - <scope>provided</scope> |
162 | | - </dependency> |
163 | 181 | </dependencies> |
164 | 182 |
|
165 | 183 | <build> |
|
209 | 227 | </build> |
210 | 228 |
|
211 | 229 | <profiles> |
212 | | - <profile> |
213 | | - <id>cdi-2.0</id> |
214 | | - <dependencies> |
215 | | - <dependency> |
216 | | - <groupId>jakarta.enterprise</groupId> |
217 | | - <artifactId>jakarta.enterprise.cdi-api</artifactId> |
218 | | - <version>2.0.2</version> |
219 | | - <scope>provided</scope> |
220 | | - </dependency> |
221 | | - <dependency> |
222 | | - <groupId>org.jboss.weld.se</groupId> |
223 | | - <artifactId>weld-se-core</artifactId> |
224 | | - <version>3.1.9.Final</version> |
225 | | - <scope>test</scope> |
226 | | - </dependency> |
227 | | - </dependencies> |
228 | | - </profile> |
229 | | - <profile> |
230 | | - <id>cdi-1.2</id> |
231 | | - <dependencies> |
232 | | - <dependency> |
233 | | - <groupId>javax.enterprise</groupId> |
234 | | - <artifactId>cdi-api</artifactId> |
235 | | - <version>1.2</version> |
236 | | - <scope>provided</scope> |
237 | | - </dependency> |
238 | | - <dependency> |
239 | | - <groupId>org.jboss.weld.se</groupId> |
240 | | - <artifactId>weld-se</artifactId> |
241 | | - <version>2.4.8.Final</version> |
242 | | - <scope>test</scope> |
243 | | - </dependency> |
244 | | - </dependencies> |
245 | | - </profile> |
246 | | - <profile> |
247 | | - <id>cdi-1.1</id> |
248 | | - <dependencies> |
249 | | - <dependency> |
250 | | - <groupId>javax.enterprise</groupId> |
251 | | - <artifactId>cdi-api</artifactId> |
252 | | - <version>1.1</version> |
253 | | - <scope>provided</scope> |
254 | | - </dependency> |
255 | | - <dependency> |
256 | | - <groupId>org.jboss.weld.se</groupId> |
257 | | - <artifactId>weld-se</artifactId> |
258 | | - <version>2.1.2.Final</version> |
259 | | - <scope>test</scope> |
260 | | - </dependency> |
261 | | - </dependencies> |
262 | | - </profile> |
263 | 230 | <profile> |
264 | 231 | <id>jdk17on</id> |
265 | 232 | <activation> |
|
269 | 236 | <argLine>-Djdk.attach.allowAttachSelf --add-opens java.base/java.lang=ALL-UNNAMED</argLine> |
270 | 237 | </properties> |
271 | 238 | </profile> |
272 | | - <profile> |
273 | | - <id>eclipse</id> |
274 | | - <activation> |
275 | | - <property> |
276 | | - <name>m2e.version</name> |
277 | | - </property> |
278 | | - </activation> |
279 | | - <dependencies> |
280 | | - <dependency> |
281 | | - <groupId>jakarta.enterprise</groupId> |
282 | | - <artifactId>jakarta.enterprise.cdi-api</artifactId> |
283 | | - <version>2.0.2</version> |
284 | | - <scope>provided</scope> |
285 | | - </dependency> |
286 | | - <dependency> |
287 | | - <groupId>org.jboss.weld.se</groupId> |
288 | | - <artifactId>weld-se-core</artifactId> |
289 | | - <version>3.1.9.Final</version> |
290 | | - <scope>test</scope> |
291 | | - </dependency> |
292 | | - </dependencies> |
293 | | - </profile> |
294 | 239 | </profiles> |
295 | 240 |
|
296 | 241 | </project> |
0 commit comments