|
23 | 23 | <name>WildFly Jakarta CDI TCK Runner</name>
|
24 | 24 |
|
25 | 25 | <properties>
|
26 |
| - <testng.version>7.4.0</testng.version> |
| 26 | + <testng.version>7.9.0</testng.version> |
27 | 27 | </properties>
|
28 | 28 |
|
29 | 29 | <dependencies>
|
|
54 | 54 | <dependency>
|
55 | 55 | <groupId>jakarta.enterprise</groupId>
|
56 | 56 | <artifactId>cdi-tck-core-impl</artifactId>
|
57 |
| - <version>${cdi.tck.version}</version> |
| 57 | + <version>${version.jakarta.cdi.tck}</version> |
58 | 58 | <scope>test</scope>
|
59 | 59 | <exclusions>
|
60 | 60 | <exclusion>
|
|
90 | 90 | <dependency>
|
91 | 91 | <groupId>jakarta.enterprise</groupId>
|
92 | 92 | <artifactId>cdi-tck-core-impl</artifactId>
|
93 |
| - <version>${cdi.tck.version}</version> |
| 93 | + <version>${version.jakarta.cdi.tck}</version> |
94 | 94 | <type>sig</type>
|
95 |
| - <classifier>sigtest-jdk11</classifier> |
| 95 | + <classifier>sigtest-jdk17</classifier> |
96 | 96 | <scope>test</scope>
|
97 | 97 | <exclusions>
|
98 | 98 | <exclusion>
|
|
108 | 108 | <dependency>
|
109 | 109 | <groupId>org.jboss.weld</groupId>
|
110 | 110 | <artifactId>weld-porting-package-tck</artifactId>
|
111 |
| - <version>${weld.version}</version> |
| 111 | + <version>${version.org.jboss.weld}</version> |
112 | 112 | <scope>test</scope>
|
113 | 113 | <exclusions>
|
114 | 114 | <exclusion>
|
|
128 | 128 | <dependency>
|
129 | 129 | <groupId>jakarta.ee.tck.coreprofile</groupId>
|
130 | 130 | <artifactId>cdi-lite-tck-suite</artifactId>
|
131 |
| - <version>${core.profile.tck.version}</version> |
| 131 | + <version>${version.jakarta.platform.core.profile.tck.version}</version> |
132 | 132 | <scope>test</scope>
|
133 | 133 | </dependency>
|
134 | 134 | <dependency>
|
135 | 135 | <groupId>jakarta.ee.tck.coreprofile</groupId>
|
136 | 136 | <artifactId>cdi-lite-tck-suite</artifactId>
|
137 | 137 | <type>xml</type>
|
138 |
| - <version>${core.profile.tck.version}</version> |
| 138 | + <version>${version.jakarta.platform.core.profile.tck.version}</version> |
139 | 139 | <scope>test</scope>
|
140 | 140 | </dependency>
|
141 | 141 |
|
142 | 142 | <dependency>
|
143 | 143 | <groupId>jakarta.ee.tck.coreprofile</groupId>
|
144 | 144 | <artifactId>common-annotations</artifactId>
|
145 |
| - <version>${core.profile.tck.version}</version> |
| 145 | + <version>${version.jakarta.platform.core.profile.tck.version}</version> |
146 | 146 | <type>sig</type>
|
147 |
| - <classifier>sigtest-jdk11</classifier> |
| 147 | + <classifier>${core.profile.sigtest.classifier}</classifier> |
148 | 148 | <scope>test</scope>
|
149 | 149 | </dependency>
|
150 | 150 |
|
|
162 | 162 | <dependency>
|
163 | 163 | <groupId>org.jboss.arquillian.protocol</groupId>
|
164 | 164 | <artifactId>arquillian-protocol-servlet-jakarta</artifactId>
|
165 |
| - <version>${version.org.jboss.arquillian}</version> |
166 | 165 | <scope>test</scope>
|
167 | 166 | </dependency>
|
168 | 167 | <dependency>
|
|
220 | 219 | <includeGroupIds>jakarta.enterprise</includeGroupIds>
|
221 | 220 | <includeArtifactIds>cdi-tck-core-impl</includeArtifactIds>
|
222 | 221 | <type>sig</type>
|
223 |
| - <classifier>sigtest-jdk11</classifier> |
| 222 | + <classifier>sigtest-jdk17</classifier> |
224 | 223 | <stripVersion>true</stripVersion>
|
225 | 224 | <overWriteReleases>true</overWriteReleases>
|
226 | 225 | <outputDirectory>${project.build.directory}/sigtest</outputDirectory>
|
|
237 | 236 | <includeGroupIds>jakarta.ee.tck.coreprofile</includeGroupIds>
|
238 | 237 | <includeArtifactIds>common-annotations</includeArtifactIds>
|
239 | 238 | <type>sig</type>
|
240 |
| - <classifier>sigtest-jdk11</classifier> |
| 239 | + <classifier>${core.profile.sigtest.classifier}</classifier> |
241 | 240 | <stripVersion>true</stripVersion>
|
242 | 241 | <overWriteReleases>true</overWriteReleases>
|
243 | 242 | <outputDirectory>${project.build.directory}/sigtest</outputDirectory>
|
|
269 | 268 | </unzip>
|
270 | 269 | <fileset id="jakarta-api-jars"
|
271 | 270 | dir="${jboss.home}${file.separator}modules/system/layers/base/jakarta/">
|
| 271 | + <!-- Jakarta API's needed on the test class path --> |
272 | 272 | <include name="**/annotation/api/main/*.jar"/>
|
273 |
| - <include name="**/el/main/*.jar"/> |
| 273 | + <include name="**/el/api/main/*.jar"/> |
274 | 274 | <include name="**/enterprise/api/main/*.jar"/>
|
275 | 275 | <include name="**/inject/api/main/*.jar"/>
|
276 | 276 | <include name="**/interceptor/api/main/*.jar"/>
|
|
279 | 279 | property="jakarta.api.jars" refid="jakarta-api-jars"/>
|
280 | 280 | <fileset id="weld-jars"
|
281 | 281 | dir="${jboss.home}${file.separator}modules/system/layers/base/org//">
|
| 282 | + <!-- Implementations are required on the test class path --> |
282 | 283 | <include name="**/jboss/weld/**/weld*.jar"/>
|
283 | 284 | <!-- Required by Weld -->
|
284 | 285 | <include name="**/jboss/classfilewriter/main/*.jar"/>
|
|
291 | 292 | </target>
|
292 | 293 | </configuration>
|
293 | 294 | </execution>
|
| 295 | + <execution> |
| 296 | + <id>echo</id> |
| 297 | + <phase>process-test-classes</phase> |
| 298 | + <goals> |
| 299 | + <goal>run</goal> |
| 300 | + </goals> |
| 301 | + <configuration> |
| 302 | + <target> |
| 303 | + <echo message="sigtest.classpath=${sigtest.classpath}"/> |
| 304 | + <echo message="jakarta.api.jars=${jakarta.api.jars}"/> |
| 305 | + <echo message="impl.jars=${impl.jars}"/> |
| 306 | + </target> |
| 307 | + </configuration> |
| 308 | + </execution> |
294 | 309 | </executions>
|
295 | 310 | </plugin>
|
296 | 311 |
|
|
313 | 328 | <value>false</value>
|
314 | 329 | </property>
|
315 | 330 | </properties>
|
316 |
| - <forkMode>once</forkMode> |
317 | 331 | <dependenciesToScan>
|
318 | 332 | <dependency>jakarta.enterprise:cdi-tck-core-impl</dependency>
|
319 | 333 | </dependenciesToScan>
|
|
353 | 367 | </goals>
|
354 | 368 | <configuration>
|
355 | 369 | <additionalClasspathElements>
|
| 370 | + <!-- Include the libraries from the server on the test class path --> |
356 | 371 | <additionalClasspathElement>${weld.jars}</additionalClasspathElement>
|
357 | 372 | <additionalClasspathElement>${jakarta.api.jars}</additionalClasspathElement>
|
358 | 373 | </additionalClasspathElements>
|
| 374 | + <!-- Exclude transitive dependencies from the class we provide on the class path above from |
| 375 | + the server. |
| 376 | + --> |
359 | 377 | <classpathDependencyExcludes>
|
360 | 378 | <exclude>jakarta.annotation:jakarta.annotation-api</exclude>
|
361 | 379 | <exclude>jakarta.enterprise:jakarta.enterprise.cdi-api</exclude>
|
362 | 380 | <exclude>jakarta.inject:jakarta.inject-api</exclude>
|
363 | 381 | <exclude>jakarta.interceptor:jakarta.interceptor-api</exclude>
|
| 382 | + <exclude>org.jboss.spec.javax.servlet:*</exclude> |
364 | 383 | </classpathDependencyExcludes>
|
365 | 384 | </configuration>
|
366 | 385 | </execution>
|
367 | 386 | </executions>
|
368 | 387 | </plugin>
|
369 | 388 |
|
370 | 389 | <plugin>
|
371 |
| - <groupId>org.netbeans.tools</groupId> |
| 390 | + <groupId>jakarta.tck</groupId> |
372 | 391 | <artifactId>sigtest-maven-plugin</artifactId>
|
373 |
| - <version>1.7</version> |
374 |
| - <configuration> |
375 |
| - <!-- Avoids an NPE fixed upstream --> |
376 |
| - <ignoreJDKClasses/> |
377 |
| - </configuration> |
378 | 392 | <executions>
|
379 | 393 | <execution>
|
380 | 394 | <id>sigtest</id>
|
|
383 | 397 | <goal>check</goal>
|
384 | 398 | </goals>
|
385 | 399 | <configuration>
|
386 |
| - <sigfile>${project.build.directory}/sigtest/cdi-tck-core-impl-sigtest-jdk11.sig</sigfile> |
| 400 | + <sigfile>${project.build.directory}/sigtest/cdi-tck-core-impl-sigtest-jdk17.sig</sigfile> |
387 | 401 | <packages>jakarta.decorator,jakarta.enterprise,jakarta.interceptor</packages>
|
388 | 402 | <classes>${project.build.directory}/sig-classes/</classes>
|
389 | 403 | <report>${project.build.directory}/cdi-sig-report.txt</report>
|
|
396 | 410 | <goal>check</goal>
|
397 | 411 | </goals>
|
398 | 412 | <configuration>
|
399 |
| - <sigfile>${project.build.directory}/sigtest/common-annotations-sigtest-jdk11.sig</sigfile> |
| 413 | + <sigfile>${project.build.directory}/sigtest/common-annotations-${core.profile.sigtest.classifier}.sig</sigfile> |
400 | 414 | <packages>jakarta.annotation</packages>
|
401 | 415 | <classes>${project.build.directory}/sig-classes/</classes>
|
402 | 416 | <report>${project.build.directory}/ca-sig-report.txt</report>
|
|
0 commit comments