|
40 | 40 | <project.compiler.release>${maven.compiler.target}</project.compiler.release> |
41 | 41 |
|
42 | 42 | <!-- dependencies --> |
43 | | - <pulsar.version>4.0.0-ursa-10-SNAPSHOT</pulsar.version> |
| 43 | + <pulsar.version>4.1.0-SNAPSHOT</pulsar.version> |
44 | 44 | <qpid-protocol-plugin.version>8.0.0</qpid-protocol-plugin.version> |
45 | 45 | <rabbitmq.version>5.8.0</rabbitmq.version> |
| 46 | + <sn.bom.verison>4.1.0-SNAPSHOT</sn.bom.verison> |
46 | 47 |
|
47 | 48 | <!-- test dependencies --> |
48 | 49 | <qpid-client-version>6.4.0</qpid-client-version> |
|
51 | 52 | <testng.version>6.14.3</testng.version> |
52 | 53 | <awaitility.version>4.2.0</awaitility.version> |
53 | 54 | <assertj.version>3.15.0</assertj.version> |
| 55 | + <mockito.version>5.12.0</mockito.version> |
54 | 56 |
|
55 | 57 | <!-- plugin dependencies --> |
56 | 58 | <spotbugs-annotations.version>3.1.8</spotbugs-annotations.version> |
|
82 | 84 | <!-- dependency definitions --> |
83 | 85 | <dependencyManagement> |
84 | 86 | <dependencies> |
85 | | - |
86 | 87 | <dependency> |
87 | 88 | <groupId>io.streamnative</groupId> |
88 | | - <artifactId>pulsar</artifactId> |
89 | | - <version>${pulsar.version}</version> |
90 | | - <type>pom</type> |
| 89 | + <artifactId>streamnative-bom</artifactId> |
| 90 | + <version>4.1.0-SNAPSHOT</version> |
91 | 91 | <scope>import</scope> |
92 | | - </dependency> |
93 | | - |
94 | | - <dependency> |
95 | | - <groupId>io.streamnative</groupId> |
96 | | - <artifactId>pulsar-broker</artifactId> |
97 | | - <version>${pulsar.version}</version> |
98 | | - </dependency> |
99 | | - |
100 | | - <dependency> |
101 | | - <groupId>io.streamnative</groupId> |
102 | | - <artifactId>pulsar-broker</artifactId> |
103 | | - <version>${pulsar.version}</version> |
104 | | - <type>test-jar</type> |
| 92 | + <type>pom</type> |
105 | 93 | </dependency> |
106 | 94 |
|
107 | 95 | <dependency> |
108 | 96 | <groupId>io.streamnative</groupId> |
109 | 97 | <artifactId>testmocks</artifactId> |
110 | 98 | <version>${pulsar.version}</version> |
111 | | - </dependency> |
112 | | - |
113 | | - <dependency> |
114 | | - <groupId>com.rabbitmq</groupId> |
115 | | - <artifactId>amqp-client</artifactId> |
116 | | - <version>${rabbitmq.version}</version> |
117 | | - </dependency> |
118 | | - |
119 | | - <dependency> |
120 | | - <groupId>org.apache.qpid</groupId> |
121 | | - <artifactId>qpid-client</artifactId> |
122 | | - <version>${qpid-client-version}</version> |
123 | | - </dependency> |
124 | | - |
125 | | - <dependency> |
126 | | - <groupId>org.apache.geronimo.specs</groupId> |
127 | | - <artifactId>geronimo-jms_1.1_spec</artifactId> |
128 | | - <version>${geronimo-jms-version}</version> |
129 | | - </dependency> |
130 | | - |
131 | | - <dependency> |
132 | | - <groupId>org.apache.qpid</groupId> |
133 | | - <artifactId>qpid-test-utils</artifactId> |
134 | | - <version>${qpid-protocol-plugin.version}</version> |
| 99 | + <scope>test</scope> |
135 | 100 | </dependency> |
136 | 101 |
|
137 | 102 | <dependency> |
|
165 | 130 | </dependency> |
166 | 131 |
|
167 | 132 | <!-- dependencies for tests --> |
168 | | - <dependency> |
169 | | - <groupId>io.streamnative</groupId> |
170 | | - <artifactId>pulsar-broker</artifactId> |
171 | | - <type>test-jar</type> |
172 | | - <scope>test</scope> |
173 | | - </dependency> |
174 | | - |
175 | 133 | <dependency> |
176 | 134 | <groupId>io.streamnative</groupId> |
177 | 135 | <artifactId>testmocks</artifactId> |
178 | 136 | <scope>test</scope> |
179 | 137 | </dependency> |
180 | 138 |
|
181 | | - <dependency> |
182 | | - <groupId>org.testng</groupId> |
183 | | - <artifactId>testng</artifactId> |
184 | | - <scope>test</scope> |
185 | | - </dependency> |
186 | | - |
187 | 139 | <dependency> |
188 | 140 | <groupId>org.mockito</groupId> |
189 | 141 | <artifactId>mockito-core</artifactId> |
| 142 | + <version>${mockito.version}</version> |
190 | 143 | <scope>test</scope> |
191 | 144 | </dependency> |
192 | 145 |
|
193 | 146 | <dependency> |
194 | 147 | <groupId>org.awaitility</groupId> |
195 | 148 | <artifactId>awaitility</artifactId> |
| 149 | + <version>${awaitility.version}</version> |
196 | 150 | <scope>test</scope> |
197 | 151 | </dependency> |
198 | 152 |
|
199 | 153 | <dependency> |
200 | 154 | <groupId>org.assertj</groupId> |
201 | 155 | <artifactId>assertj-core</artifactId> |
| 156 | + <version>${assertj.version}</version> |
202 | 157 | <scope>test</scope> |
203 | 158 | </dependency> |
204 | 159 |
|
|
282 | 237 | <artifactId>maven-surefire-plugin</artifactId> |
283 | 238 | <version>${maven-surefire-plugin.version}</version> |
284 | 239 | <configuration> |
285 | | - <argLine> -Xmx2G |
| 240 | + <argLine>-Xmx2G |
286 | 241 | -Dpulsar.allocator.pooled=false |
287 | 242 | -Dpulsar.allocator.leak_detection=Advanced |
288 | 243 | -Dlog4j.configurationFile="log4j2.xml" |
|
385 | 340 | <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
386 | 341 | </repository> |
387 | 342 | <repository> |
388 | | - <id>ossrh</id> |
389 | | - <url>https://s01.oss.sonatype.org/service/local/repositories/0/content</url> |
| 343 | + <id>github</id> |
| 344 | + <url>https://maven.pkg.github.com/streamnative/streamnative-bom</url> |
| 345 | + <snapshots> |
| 346 | + <enabled>true</enabled> |
| 347 | + </snapshots> |
390 | 348 | </repository> |
391 | 349 | </repositories> |
392 | 350 |
|
|
0 commit comments