|
82 | 82 | <optional>true</optional>
|
83 | 83 | </dependency>
|
84 | 84 |
|
85 |
| - <!-- CDI --> |
86 |
| - <!-- Dependency order required to build against CDI 1.0 and test with CDI 2.0 --> |
87 |
| - <dependency> |
88 |
| - <groupId>org.apache.geronimo.specs</groupId> |
89 |
| - <artifactId>geronimo-jcdi_2.0_spec</artifactId> |
90 |
| - <version>1.0.1</version> |
91 |
| - <scope>test</scope> |
92 |
| - </dependency> |
93 |
| - |
94 |
| - <dependency> |
95 |
| - <groupId>javax.interceptor</groupId> |
96 |
| - <artifactId>javax.interceptor-api</artifactId> |
97 |
| - <version>1.2.1</version> |
98 |
| - <scope>test</scope> |
99 |
| - </dependency> |
100 |
| - |
101 |
| - <dependency> |
102 |
| - <groupId>javax.el</groupId> |
103 |
| - <artifactId>el-api</artifactId> |
104 |
| - <version>2.2</version> |
105 |
| - <scope>test</scope> |
106 |
| - </dependency> |
107 |
| - |
108 |
| - <dependency> |
109 |
| - <groupId>javax.enterprise</groupId> |
110 |
| - <artifactId>cdi-api</artifactId> |
111 |
| - <version>${cdi}</version> |
112 |
| - <optional>true</optional> |
113 |
| - <scope>provided</scope> |
114 |
| - <exclusions> |
115 |
| - <exclusion> |
116 |
| - <groupId>javax.annotation</groupId> |
117 |
| - <artifactId>jsr250-api</artifactId> |
118 |
| - </exclusion> |
119 |
| - </exclusions> |
120 |
| - </dependency> |
121 |
| - |
122 | 85 | <!-- Spring Framework -->
|
123 | 86 | <dependency>
|
124 | 87 | <groupId>org.springframework</groupId>
|
|
189 | 152 | </dependency>
|
190 | 153 |
|
191 | 154 | <!-- Test -->
|
| 155 | + <!-- CDI --> |
| 156 | + <!-- Dependency order required to build against CDI 1.0 and test with CDI 2.0 --> |
192 | 157 | <dependency>
|
193 |
| - <groupId>javax.annotation</groupId> |
194 |
| - <artifactId>javax.annotation-api</artifactId> |
195 |
| - <version>${javax-annotation-api}</version> |
| 158 | + <groupId>org.apache.geronimo.specs</groupId> |
| 159 | + <artifactId>geronimo-jcdi_2.0_spec</artifactId> |
| 160 | + <version>1.0.1</version> |
196 | 161 | <scope>test</scope>
|
197 | 162 | </dependency>
|
198 | 163 |
|
199 | 164 | <dependency>
|
200 |
| - <groupId>org.apache.derby</groupId> |
201 |
| - <artifactId>derbyLocale_zh_TW</artifactId> |
202 |
| - <version>10.9.1.0</version> |
| 165 | + <groupId>javax.interceptor</groupId> |
| 166 | + <artifactId>javax.interceptor-api</artifactId> |
| 167 | + <version>1.2.2</version> |
| 168 | + <scope>test</scope> |
| 169 | + </dependency> |
| 170 | + |
| 171 | + <dependency> |
| 172 | + <groupId>javax.el</groupId> |
| 173 | + <artifactId>el-api</artifactId> |
| 174 | + <version>2.2</version> |
| 175 | + <scope>test</scope> |
| 176 | + </dependency> |
| 177 | + |
| 178 | + <dependency> |
| 179 | + <groupId>javax.enterprise</groupId> |
| 180 | + <artifactId>cdi-api</artifactId> |
| 181 | + <version>${cdi}</version> |
| 182 | + <optional>true</optional> |
| 183 | + <scope>provided</scope> |
| 184 | + <exclusions> |
| 185 | + <exclusion> |
| 186 | + <groupId>javax.annotation</groupId> |
| 187 | + <artifactId>jsr250-api</artifactId> |
| 188 | + </exclusion> |
| 189 | + </exclusions> |
| 190 | + </dependency> |
| 191 | + |
| 192 | + <dependency> |
| 193 | + <groupId>javax.annotation</groupId> |
| 194 | + <artifactId>javax.annotation-api</artifactId> |
| 195 | + <version>${javax-annotation-api}</version> |
203 | 196 | <scope>test</scope>
|
204 | 197 | </dependency>
|
205 | 198 |
|
|
210 | 203 | <scope>test</scope>
|
211 | 204 | </dependency>
|
212 | 205 |
|
| 206 | + <dependency> |
| 207 | + <groupId>org.apache.xbean</groupId> |
| 208 | + <artifactId>xbean-asm9-shaded</artifactId> |
| 209 | + <version>${webbeans.xbean}</version> |
| 210 | + <scope>test</scope> |
| 211 | + </dependency> |
| 212 | + |
| 213 | + <dependency> |
| 214 | + <groupId>org.apache.derby</groupId> |
| 215 | + <artifactId>derbyLocale_zh_TW</artifactId> |
| 216 | + <version>10.9.1.0</version> |
| 217 | + <scope>test</scope> |
| 218 | + </dependency> |
| 219 | + |
213 | 220 | <dependency>
|
214 | 221 | <groupId>org.assertj</groupId>
|
215 | 222 | <artifactId>assertj-core</artifactId>
|
|
265 | 272 | <groupId>org.apache.maven.plugins</groupId>
|
266 | 273 | <artifactId>maven-surefire-plugin</artifactId>
|
267 | 274 | <configuration>
|
| 275 | + <argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine> |
268 | 276 | <includes>
|
269 | 277 | <include>**/*Tests.java</include>
|
270 | 278 | <include>**/*Test.java</include>
|
|
331 | 339 | </plugins>
|
332 | 340 | </build>
|
333 | 341 | </profile>
|
334 |
| - <profile> |
335 |
| - <id>remote-java17</id> |
336 |
| - <build> |
337 |
| - <plugins> |
338 |
| - <plugin> |
339 |
| - <groupId>org.apache.maven.plugins</groupId> |
340 |
| - <artifactId>maven-surefire-plugin</artifactId> |
341 |
| - <configuration> |
342 |
| - <argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine> |
343 |
| - <includes> |
344 |
| - <include>**/*Tests.java</include> |
345 |
| - <include>**/*Test.java</include> |
346 |
| - </includes> |
347 |
| - <reuseForks>false</reuseForks> |
348 |
| - <systemProperties> |
349 |
| - <java.util.logging.config.file>${basedir}/src/test/resources/java-util-logging.properties</java.util.logging.config.file> |
350 |
| - <gemfire.disableShutdownHook>true</gemfire.disableShutdownHook> |
351 |
| - <logback.log.level>error</logback.log.level> |
352 |
| - <spring.profiles.active>apache-geode</spring.profiles.active> |
353 |
| - </systemProperties> |
354 |
| - </configuration> |
355 |
| - </plugin> |
356 |
| - </plugins> |
357 |
| - </build> |
358 |
| - </profile> |
359 | 342 | </profiles>
|
360 | 343 |
|
361 | 344 | </project>
|
0 commit comments