|
43 | 43 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
44 | 44 | <spotless.check.skip>true</spotless.check.skip>
|
45 | 45 | <slf4j.version>1.7.36</slf4j.version>
|
46 |
| - <logback.version>1.2.13</logback.version> |
47 |
| - <protonj2.version>1.0.0-M21-SNAPSHOT</protonj2.version> |
| 46 | + <netty4.version>4.1.110.Final</netty4.version> |
| 47 | + <netty4.iouring.version>0.0.25.Final</netty4.iouring.version> |
| 48 | + <netty5.version>5.0.0.Alpha5</netty5.version> |
48 | 49 | <micrometer.version>1.13.0</micrometer.version>
|
| 50 | + <logback.version>1.2.13</logback.version> |
49 | 51 | <junit.jupiter.version>5.10.2</junit.jupiter.version>
|
50 | 52 | <assertj.version>3.26.0</assertj.version>
|
51 | 53 | <mockito.version>5.12.0</mockito.version>
|
|
80 | 82 | </dependency>
|
81 | 83 |
|
82 | 84 | <dependency>
|
83 |
| - <groupId>org.apache.qpid</groupId> |
84 |
| - <artifactId>protonj2-client</artifactId> |
85 |
| - <version>${protonj2.version}</version> |
| 85 | + <groupId>io.micrometer</groupId> |
| 86 | + <artifactId>micrometer-core</artifactId> |
| 87 | + <version>${micrometer.version}</version> |
| 88 | + <optional>true</optional> |
86 | 89 | </dependency>
|
87 | 90 |
|
| 91 | + <!-- QPid dependencies --> |
| 92 | + <dependency> |
| 93 | + <groupId>io.netty</groupId> |
| 94 | + <artifactId>netty-buffer</artifactId> |
| 95 | + <version>${netty4.version}</version> |
| 96 | + </dependency> |
| 97 | + <dependency> |
| 98 | + <groupId>io.netty</groupId> |
| 99 | + <artifactId>netty-common</artifactId> |
| 100 | + <version>${netty4.version}</version> |
| 101 | + </dependency> |
| 102 | + <dependency> |
| 103 | + <groupId>io.netty</groupId> |
| 104 | + <artifactId>netty-handler</artifactId> |
| 105 | + <version>${netty4.version}</version> |
| 106 | + </dependency> |
| 107 | + <dependency> |
| 108 | + <groupId>io.netty</groupId> |
| 109 | + <artifactId>netty-transport</artifactId> |
| 110 | + <version>${netty4.version}</version> |
| 111 | + </dependency> |
| 112 | + <dependency> |
| 113 | + <groupId>io.netty</groupId> |
| 114 | + <artifactId>netty-codec-http</artifactId> |
| 115 | + <version>${netty4.version}</version> |
| 116 | + </dependency> |
| 117 | + <dependency> |
| 118 | + <groupId>io.netty</groupId> |
| 119 | + <artifactId>netty-transport-native-epoll</artifactId> |
| 120 | + <version>${netty4.version}</version> |
| 121 | + <classifier>linux-x86_64</classifier> |
| 122 | + </dependency> |
| 123 | + <dependency> |
| 124 | + <groupId>io.netty</groupId> |
| 125 | + <artifactId>netty-transport-native-kqueue</artifactId> |
| 126 | + <version>${netty4.version}</version> |
| 127 | + <classifier>osx-x86_64</classifier> |
| 128 | + </dependency> |
88 | 129 | <dependency>
|
89 |
| - <groupId>org.apache.qpid</groupId> |
90 |
| - <artifactId>protonj2</artifactId> |
91 |
| - <version>${protonj2.version}</version> |
92 |
| - <scope>system</scope> |
93 |
| - <systemPath>${project.basedir}/protonj2-1.0.0-M21-SNAPSHOT.jar</systemPath> |
| 130 | + <groupId>io.netty.incubator</groupId> |
| 131 | + <artifactId>netty-incubator-transport-native-io_uring</artifactId> |
| 132 | + <version>${netty4.iouring.version}</version> |
| 133 | + <classifier>linux-x86_64</classifier> |
94 | 134 | </dependency>
|
95 | 135 |
|
96 | 136 | <dependency>
|
97 |
| - <groupId>io.micrometer</groupId> |
98 |
| - <artifactId>micrometer-core</artifactId> |
99 |
| - <version>${micrometer.version}</version> |
| 137 | + <groupId>io.netty</groupId> |
| 138 | + <artifactId>netty5-buffer</artifactId> |
| 139 | + <version>${netty5.version}</version> |
| 140 | + <optional>true</optional> |
| 141 | + </dependency> |
| 142 | + <dependency> |
| 143 | + <groupId>io.netty</groupId> |
| 144 | + <artifactId>netty5-common</artifactId> |
| 145 | + <version>${netty5.version}</version> |
| 146 | + <optional>true</optional> |
| 147 | + </dependency> |
| 148 | + <dependency> |
| 149 | + <groupId>io.netty</groupId> |
| 150 | + <artifactId>netty5-handler</artifactId> |
| 151 | + <version>${netty5.version}</version> |
| 152 | + <optional>true</optional> |
| 153 | + </dependency> |
| 154 | + <dependency> |
| 155 | + <groupId>io.netty</groupId> |
| 156 | + <artifactId>netty5-transport</artifactId> |
| 157 | + <version>${netty5.version}</version> |
| 158 | + <optional>true</optional> |
| 159 | + </dependency> |
| 160 | + <dependency> |
| 161 | + <groupId>io.netty</groupId> |
| 162 | + <artifactId>netty5-codec-http</artifactId> |
| 163 | + <version>${netty5.version}</version> |
100 | 164 | <optional>true</optional>
|
101 | 165 | </dependency>
|
| 166 | + <dependency> |
| 167 | + <groupId>io.netty</groupId> |
| 168 | + <artifactId>netty5-transport-native-epoll</artifactId> |
| 169 | + <version>${netty5.version}</version> |
| 170 | + <optional>true</optional> |
| 171 | + <classifier>linux-x86_64</classifier> |
| 172 | + </dependency> |
| 173 | + <dependency> |
| 174 | + <groupId>io.netty</groupId> |
| 175 | + <artifactId>netty5-transport-native-kqueue</artifactId> |
| 176 | + <version>${netty5.version}</version> |
| 177 | + <classifier>osx-x86_64</classifier> |
| 178 | + <optional>true</optional> |
| 179 | + </dependency> |
| 180 | + <!-- End of QPid dependencies --> |
102 | 181 |
|
103 | 182 | <dependency>
|
104 | 183 | <groupId>org.junit.jupiter</groupId>
|
|
416 | 495 | </configuration>
|
417 | 496 | </plugin>
|
418 | 497 |
|
| 498 | + <plugin> |
| 499 | + <groupId>org.apache.maven.plugins</groupId> |
| 500 | + <artifactId>maven-shade-plugin</artifactId> |
| 501 | + <version>3.6.0</version> |
| 502 | + <executions> |
| 503 | + <execution> |
| 504 | + <phase>package</phase> |
| 505 | + <goals> |
| 506 | + <goal>shade</goal> |
| 507 | + </goals> |
| 508 | + <configuration> |
| 509 | + <artifactSet> |
| 510 | + <includes> |
| 511 | + <include>com.rabbitmq.amqp:amqp-client</include> |
| 512 | + </includes> |
| 513 | + </artifactSet> |
| 514 | + <relocations> |
| 515 | + <relocation> |
| 516 | + <pattern>org.apache.qpid.protonj2</pattern> |
| 517 | + <shadedPattern>com.rabbitmq.qpid.protonj2</shadedPattern> |
| 518 | + <includes> |
| 519 | + <include>org.apache.qpid.protonj2.**</include> |
| 520 | + </includes> |
| 521 | + </relocation> |
| 522 | + </relocations> |
| 523 | + </configuration> |
| 524 | + </execution> |
| 525 | + </executions> |
| 526 | + </plugin> |
| 527 | + |
419 | 528 | <plugin>
|
420 | 529 | <groupId>com.github.spotbugs</groupId>
|
421 | 530 | <artifactId>spotbugs-maven-plugin</artifactId>
|
|
427 | 536 | <version>${spotbugs.version}</version>
|
428 | 537 | </dependency>
|
429 | 538 | </dependencies>
|
| 539 | + <configuration> |
| 540 | + <onlyAnalyze>com.rabbitmq.-</onlyAnalyze> |
| 541 | + </configuration> |
430 | 542 | <executions>
|
431 | 543 | <execution>
|
432 | 544 | <goals>
|
|
436 | 548 | </executions>
|
437 | 549 | </plugin>
|
438 | 550 |
|
| 551 | + <plugin> |
| 552 | + <groupId>org.codehaus.mojo</groupId> |
| 553 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 554 | + <version>3.2.0</version> |
| 555 | + <executions> |
| 556 | + <execution> |
| 557 | + <id>add-source</id> |
| 558 | + <phase>generate-sources</phase> |
| 559 | + <goals> |
| 560 | + <goal>add-source</goal> |
| 561 | + </goals> |
| 562 | + <configuration> |
| 563 | + <sources> |
| 564 | + <source>src/main/qpid/</source> |
| 565 | + </sources> |
| 566 | + </configuration> |
| 567 | + </execution> |
| 568 | + </executions> |
| 569 | + </plugin> |
| 570 | + |
| 571 | + |
439 | 572 | </plugins>
|
440 | 573 |
|
441 | 574 | </build>
|
|
0 commit comments