File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,15 +7,13 @@ To run the example, you can simply run it with WildFly:
77[source,bash]
88----
99$ mvn wildfly:run
10-
1110----
1211
1312After server started, we can access the server and get the tracing info:
1413
1514[source,bash]
1615----
1716$ curl -i http://localhost:8080/tracing-example/level
18-
1917----
2018
2119And here is the sample output:
Original file line number Diff line number Diff line change 3737 <version .org.jboss.resteasy>6.2.3.Final</version .org.jboss.resteasy>
3838 <version .org.jboss.resteasy.extensions>2.0.0.Final</version .org.jboss.resteasy.extensions>
3939 <version .org.junit>5.9.2</version .org.junit>
40- <version .org.wildfly>27.0.1.Final</version .org.wildfly>
4140 <version .org.wildfly.arquillian>5.0.0.Alpha6</version .org.wildfly.arquillian>
42-
41+ <!-- There is bug in the plugin that prevent from `mvn wildfly:run` currently, please use the command `mvn wildfly:dev` instead. -->
4342 <version .wildfly-maven-plugin>4.1.0.Beta5</version .wildfly-maven-plugin>
44-
43+ <version .org.wildfly>28.0.0.Beta1</version .org.wildfly>
44+ <dep .tracing.scope>provided</dep .tracing.scope>
4545 <!-- Test properties -->
4646 <jboss .home>${project.build.directory}${file.separator} wildfly</jboss .home>
4747 <debug .port>8787</debug .port>
4848 <debugJvmArgs />
4949 </properties >
5050
51+ <profiles >
52+ <profile >
53+ <id >wildfly27</id >
54+ <properties >
55+ <version .org.wildfly>27.0.1.Final</version .org.wildfly>
56+ <dep .tracing.scope>compile</dep .tracing.scope>
57+ </properties >
58+ </profile >
59+ </profiles >
60+
5161 <dependencyManagement >
5262 <dependencies >
5363 <dependency >
111121 <groupId >org.jboss.resteasy</groupId >
112122 <artifactId >resteasy-tracing-api</artifactId >
113123 <version >${version.org.jboss.resteasy.extensions} </version >
124+ <scope >${dep.tracing.scope} </scope >
114125 </dependency >
115-
116126 <!-- Test Dependencies -->
117127 <dependency >
118128 <groupId >org.junit.jupiter</groupId >
You can’t perform that action at this time.
0 commit comments