File tree 15 files changed +92
-50
lines changed
src/main/java/io/helidon/microprofile/arquillian
tck-core-profile/tck-core-profile-test
tck-inject/tck-inject-test
15 files changed +92
-50
lines changed Original file line number Diff line number Diff line change 53
53
</dependency >
54
54
<dependency >
55
55
<groupId >io.helidon.microprofile.bundles</groupId >
56
- <artifactId >helidon-microprofile</artifactId >
57
- <exclusions >
58
- <exclusion >
59
- <groupId >io.helidon.health</groupId >
60
- <artifactId >helidon-health-checks</artifactId >
61
- </exclusion >
62
- </exclusions >
56
+ <artifactId >helidon-microprofile-core</artifactId >
63
57
</dependency >
64
58
<dependency >
65
59
<groupId >junit</groupId >
70
64
<groupId >org.testng</groupId >
71
65
<artifactId >testng</artifactId >
72
66
</dependency >
67
+ <dependency >
68
+ <groupId >org.eclipse.microprofile.metrics</groupId >
69
+ <artifactId >microprofile-metrics-api</artifactId >
70
+ </dependency >
71
+ <dependency >
72
+ <groupId >jakarta.inject</groupId >
73
+ <artifactId >jakarta.inject-api</artifactId >
74
+ </dependency >
73
75
</dependencies >
74
76
</project >
Original file line number Diff line number Diff line change 53
53
54
54
import io .helidon .config .mp .MpConfigSources ;
55
55
56
+ import jakarta .enterprise .inject .ResolutionException ;
56
57
import jakarta .enterprise .inject .se .SeContainer ;
57
58
import jakarta .enterprise .inject .spi .CDI ;
58
59
import jakarta .enterprise .inject .spi .DefinitionException ;
@@ -583,9 +584,10 @@ private void cleanupBaseMetrics() {
583
584
new BaseRegistryTypeLiteral ()).get ();
584
585
Objects .requireNonNull (metricRegistry );
585
586
metricRegistry .removeMatching ((m , v ) -> true );
586
- } catch (IllegalStateException e ) {
587
+ } catch (IllegalStateException | ResolutionException e ) {
587
588
// this may be a negative CDI test (e.g. when CDI is intended not to start)
588
589
// in such cases, CDI will not be available
590
+ // It can also be that metrics are not used at all in some tests, so we don't want to fail.
589
591
LOGGER .log (Level .DEBUG , "Unable to cleanup base metrics" , e );
590
592
}
591
593
}
Original file line number Diff line number Diff line change 28
28
<name >Helidon Microprofile Tests TCK CDI</name >
29
29
30
30
<dependencies >
31
+ <dependency >
32
+ <groupId >io.helidon.microprofile.cdi</groupId >
33
+ <artifactId >helidon-microprofile-cdi</artifactId >
34
+ <scope >test</scope >
35
+ </dependency >
31
36
<dependency >
32
37
<groupId >io.helidon.microprofile.tests</groupId >
33
38
<artifactId >helidon-arquillian</artifactId >
Original file line number Diff line number Diff line change 30
30
<name >Helidon Microprofile Tests TCK Core Profile</name >
31
31
32
32
<dependencies >
33
+ <dependency >
34
+ <groupId >io.helidon.microprofile.bundles</groupId >
35
+ <artifactId >helidon-microprofile-core</artifactId >
36
+ <scope >test</scope >
37
+ </dependency >
33
38
<dependency >
34
39
<groupId >io.helidon.microprofile.tests</groupId >
35
40
<artifactId >helidon-arquillian</artifactId >
Original file line number Diff line number Diff line change 35
35
</properties >
36
36
37
37
<dependencies >
38
+ <dependency >
39
+ <groupId >io.helidon.microprofile.metrics</groupId >
40
+ <artifactId >helidon-microprofile-metrics</artifactId >
41
+ <version >${project.version} </version >
42
+ <scope >test</scope >
43
+ </dependency >
38
44
<dependency >
39
45
<groupId >io.helidon.microprofile.tests</groupId >
40
46
<artifactId >helidon-arquillian</artifactId >
41
47
<version >${project.version} </version >
42
48
<scope >test</scope >
43
49
</dependency >
44
50
<dependency >
45
- <groupId >io.helidon.microprofile.bundles </groupId >
46
- <artifactId >helidon-microprofile</artifactId >
51
+ <groupId >io.helidon.microprofile</groupId >
52
+ <artifactId >helidon-microprofile-fault-tolerance </artifactId >
47
53
<version >${project.version} </version >
48
54
<scope >test</scope >
49
55
</dependency >
Original file line number Diff line number Diff line change 31
31
<name >Helidon Microprofile Tests TCK Health</name >
32
32
33
33
<dependencies >
34
+ <dependency >
35
+ <groupId >io.helidon.microprofile.health</groupId >
36
+ <artifactId >helidon-microprofile-health</artifactId >
37
+ <scope >test</scope >
38
+ </dependency >
34
39
<dependency >
35
40
<groupId >io.helidon.microprofile.tests</groupId >
36
41
<artifactId >helidon-arquillian</artifactId >
Original file line number Diff line number Diff line change 41
41
<scope >test</scope >
42
42
</dependency >
43
43
<dependency >
44
- <groupId >io.helidon.microprofile.bundles </groupId >
45
- <artifactId >helidon-microprofile</artifactId >
44
+ <groupId >io.helidon.microprofile.cdi </groupId >
45
+ <artifactId >helidon-microprofile-cdi </artifactId >
46
46
<scope >test</scope >
47
47
</dependency >
48
48
<dependency >
Original file line number Diff line number Diff line change 35
35
<artifactId >junit-jupiter-engine</artifactId >
36
36
<scope >test</scope >
37
37
</dependency >
38
- <dependency >
39
- <groupId >io.helidon.microprofile.bundles</groupId >
40
- <artifactId >helidon-microprofile</artifactId >
41
- <scope >test</scope >
42
- </dependency >
43
38
<dependency >
44
39
<groupId >jakarta.json.bind</groupId >
45
40
<artifactId >jakarta.json.bind-tck</artifactId >
Original file line number Diff line number Diff line change 35
35
<artifactId >junit-jupiter-engine</artifactId >
36
36
<scope >test</scope >
37
37
</dependency >
38
- <dependency >
39
- <groupId >io.helidon.microprofile.bundles</groupId >
40
- <artifactId >helidon-microprofile</artifactId >
41
- <scope >test</scope >
42
- </dependency >
43
38
<!-- Dependencies coming from below maven-antrun-plugin -->
44
39
<dependency >
45
40
<groupId >jakarta.json</groupId >
46
41
<artifactId >jakarta.json-tck-tests</artifactId >
47
42
<version >${version.lib.jakarta.jsonp-api} </version >
48
43
<scope >test</scope >
49
44
</dependency >
45
+ <dependency >
46
+ <groupId >org.eclipse.parsson</groupId >
47
+ <artifactId >parsson</artifactId >
48
+ <scope >test</scope >
49
+ </dependency >
50
50
</dependencies >
51
51
52
52
<build >
Original file line number Diff line number Diff line change 32
32
</properties >
33
33
34
34
<dependencies >
35
+ <dependency >
36
+ <groupId >org.glassfish.jersey.media</groupId >
37
+ <artifactId >jersey-media-json-binding</artifactId >
38
+ <scope >test</scope >
39
+ </dependency >
35
40
<dependency >
36
41
<groupId >org.eclipse.microprofile.lra</groupId >
37
42
<artifactId >microprofile-lra-tck</artifactId >
40
45
<groupId >io.helidon.microprofile.tests</groupId >
41
46
<artifactId >helidon-arquillian</artifactId >
42
47
<version >${project.version} </version >
43
- <exclusions >
44
- <exclusion >
45
- <artifactId >helidon-microprofile-openapi</artifactId >
46
- <groupId >io.helidon.microprofile.openapi</groupId >
47
- </exclusion >
48
- <exclusion >
49
- <groupId >io.helidon.microprofile.tracing</groupId >
50
- <artifactId >helidon-microprofile-tracing</artifactId >
51
- </exclusion >
52
- <exclusion >
53
- <groupId >io.helidon.microprofile.metrics</groupId >
54
- <artifactId >helidon-microprofile-metrics</artifactId >
55
- </exclusion >
56
- <exclusion >
57
- <groupId >io.helidon.microprofile</groupId >
58
- <artifactId >helidon-microprofile-fault-tolerance</artifactId >
59
- </exclusion >
60
- <exclusion >
61
- <groupId >io.helidon.microprofile.jwt</groupId >
62
- <artifactId >helidon-microprofile-jwt-auth</artifactId >
63
- </exclusion >
64
- </exclusions >
65
48
</dependency >
66
49
<dependency >
67
50
<groupId >io.helidon.microprofile.lra</groupId >
Original file line number Diff line number Diff line change 30
30
<name >Helidon Microprofile Tests TCK Metrics</name >
31
31
32
32
<dependencies >
33
+ <dependency >
34
+ <groupId >io.helidon.microprofile.metrics</groupId >
35
+ <artifactId >helidon-microprofile-metrics</artifactId >
36
+ <scope >test</scope >
37
+ </dependency >
33
38
<dependency >
34
39
<groupId >io.helidon.microprofile.tests</groupId >
35
40
<artifactId >helidon-arquillian</artifactId >
Original file line number Diff line number Diff line change 47
47
</dependencyManagement >
48
48
49
49
<dependencies >
50
+ <dependency >
51
+ <groupId >io.helidon.microprofile.openapi</groupId >
52
+ <artifactId >helidon-microprofile-openapi</artifactId >
53
+ <scope >test</scope >
54
+ </dependency >
50
55
<dependency >
51
56
<groupId >io.helidon.microprofile.tests</groupId >
52
57
<artifactId >helidon-arquillian</artifactId >
Original file line number Diff line number Diff line change 28
28
<name >Helidon Microprofile Tests TCK Opentracing</name >
29
29
30
30
<dependencies >
31
+ <dependency >
32
+ <groupId >org.glassfish.jersey.media</groupId >
33
+ <artifactId >jersey-media-json-binding</artifactId >
34
+ <scope >test</scope >
35
+ </dependency >
36
+ <dependency >
37
+ <groupId >io.helidon.microprofile.tracing</groupId >
38
+ <artifactId >helidon-microprofile-tracing</artifactId >
39
+ <scope >test</scope >
40
+ </dependency >
41
+ <dependency >
42
+ <groupId >io.helidon.microprofile.rest-client</groupId >
43
+ <artifactId >helidon-microprofile-rest-client</artifactId >
44
+ <scope >test</scope >
45
+ </dependency >
46
+ <dependency >
47
+ <groupId >io.helidon.microprofile.server</groupId >
48
+ <artifactId >helidon-microprofile-server</artifactId >
49
+ <scope >test</scope >
50
+ </dependency >
31
51
<dependency >
32
52
<groupId >io.helidon.microprofile.tests</groupId >
33
53
<artifactId >helidon-arquillian</artifactId >
Original file line number Diff line number Diff line change 34
34
<artifactId >helidon-arquillian</artifactId >
35
35
<version >${project.version} </version >
36
36
<scope >test</scope >
37
- <exclusions >
38
- <exclusion >
39
- <groupId >io.helidon.microprofile.bundles</groupId >
40
- <artifactId >helidon-microprofile-3.1</artifactId >
41
- </exclusion >
42
- </exclusions >
43
37
</dependency >
44
38
<dependency >
45
39
<groupId >io.helidon.microprofile.reactive-streams</groupId >
Original file line number Diff line number Diff line change 29
29
<name >Helidon Microprofile Tests TCK REST Client</name >
30
30
31
31
<dependencies >
32
+ <dependency >
33
+ <groupId >org.glassfish.jersey.media</groupId >
34
+ <artifactId >jersey-media-json-binding</artifactId >
35
+ <scope >test</scope >
36
+ </dependency >
37
+ <dependency >
38
+ <groupId >io.helidon.microprofile.rest-client</groupId >
39
+ <artifactId >helidon-microprofile-rest-client</artifactId >
40
+ <scope >test</scope >
41
+ </dependency >
42
+ <dependency >
43
+ <groupId >io.helidon.microprofile.server</groupId >
44
+ <artifactId >helidon-microprofile-server</artifactId >
45
+ <scope >test</scope >
46
+ </dependency >
32
47
<dependency >
33
48
<groupId >io.helidon.microprofile.tests</groupId >
34
49
<artifactId >helidon-arquillian</artifactId >
You can’t perform that action at this time.
0 commit comments