|
1 | | -<?xml version="1.0" encoding="UTF-8"?> |
| 1 | +<?xml version='1.0' encoding='UTF-8'?> |
2 | 2 | <!-- |
3 | 3 |
|
4 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
|
14 | 14 | limitations under the License. |
15 | 15 |
|
16 | 16 | --> |
17 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
18 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
19 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
20 | | - |
| 17 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
21 | 18 | <parent> |
22 | 19 | <groupId>org.apache</groupId> |
23 | 20 | <artifactId>apache</artifactId> |
24 | 21 | <version>18</version> |
25 | 22 | </parent> |
26 | 23 | <modelVersion>4.0.0</modelVersion> |
27 | | - |
28 | 24 | <packaging>pom</packaging> |
29 | | - |
30 | 25 | <groupId>io.streamnative.pulsar.handlers</groupId> |
31 | 26 | <artifactId>pulsar-protocol-handler-amqp-parent</artifactId> |
32 | | - <version>3.3.0-SNAPSHOT</version> |
| 27 | + <version>4.1.0-SNAPSHOT</version> |
33 | 28 | <name>StreamNative :: Pulsar Protocol Handler :: AoP Parent</name> |
34 | 29 | <description>Parent for AMQP on Pulsar implemented using Pulsar Protocol Handler.</description> |
35 | | - |
36 | 30 | <properties> |
37 | 31 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
38 | 32 | <maven.compiler.source>17</maven.compiler.source> |
39 | 33 | <maven.compiler.target>17</maven.compiler.target> |
40 | 34 | <project.compiler.release>${maven.compiler.target}</project.compiler.release> |
41 | | - |
42 | 35 | <!-- dependencies --> |
43 | 36 | <pulsar.version>4.1.0-SNAPSHOT</pulsar.version> |
44 | 37 | <qpid-protocol-plugin.version>8.0.0</qpid-protocol-plugin.version> |
45 | 38 | <rabbitmq.version>5.8.0</rabbitmq.version> |
46 | 39 | <sn.bom.version>4.1.0-SNAPSHOT</sn.bom.version> |
47 | | - |
48 | 40 | <!-- test dependencies --> |
49 | 41 | <qpid-client-version>6.4.0</qpid-client-version> |
50 | 42 | <geronimo-jms-version>1.1.1</geronimo-jms-version> |
|
53 | 45 | <awaitility.version>4.2.0</awaitility.version> |
54 | 46 | <assertj.version>3.15.0</assertj.version> |
55 | 47 | <mockito.version>5.12.0</mockito.version> |
56 | | - |
57 | 48 | <!-- plugin dependencies --> |
58 | 49 | <spotbugs-annotations.version>3.1.8</spotbugs-annotations.version> |
59 | 50 | <dockerfile-maven.version>1.4.9</dockerfile-maven.version> |
|
65 | 56 | <puppycrawl.checkstyle.version>8.37</puppycrawl.checkstyle.version> |
66 | 57 | <spotbugs-maven-plugin.version>4.2.2</spotbugs-maven-plugin.version> |
67 | 58 | </properties> |
68 | | - |
69 | 59 | <licenses> |
70 | 60 | <license> |
71 | 61 | <name>Apache License, Version 2.0</name> |
72 | 62 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
73 | 63 | <distribution>repo</distribution> |
74 | 64 | </license> |
75 | 65 | </licenses> |
76 | | - |
77 | 66 | <modules> |
78 | 67 | <module>amqp-impl</module> |
79 | 68 | <module>tests</module> |
80 | 69 | <module>tests-qpid-jms-client</module> |
81 | 70 | <module>amqp-client-auth</module> |
82 | 71 | </modules> |
83 | | - |
84 | 72 | <!-- dependency definitions --> |
85 | 73 | <dependencyManagement> |
86 | 74 | <dependencies> |
|
91 | 79 | <scope>import</scope> |
92 | 80 | <type>pom</type> |
93 | 81 | </dependency> |
94 | | - |
95 | 82 | <dependency> |
96 | 83 | <groupId>io.streamnative</groupId> |
97 | 84 | <artifactId>testmocks</artifactId> |
98 | 85 | <version>${pulsar.version}</version> |
99 | 86 | <scope>test</scope> |
100 | 87 | </dependency> |
101 | | - |
102 | 88 | <dependency> |
103 | 89 | <groupId>com.github.spotbugs</groupId> |
104 | 90 | <artifactId>spotbugs-annotations</artifactId> |
105 | 91 | <version>${spotbugs-annotations.version}</version> |
106 | 92 | </dependency> |
107 | | - |
108 | 93 | </dependencies> |
109 | 94 | </dependencyManagement> |
110 | | - |
111 | 95 | <!-- These dependencies are common to all submodules --> |
112 | 96 | <dependencies> |
113 | 97 | <!-- provided dependencies (available at compilation and test classpths and *NOT* packaged) --> |
|
116 | 100 | <artifactId>pulsar-broker</artifactId> |
117 | 101 | <scope>provided</scope> |
118 | 102 | </dependency> |
119 | | - |
120 | 103 | <dependency> |
121 | 104 | <groupId>org.projectlombok</groupId> |
122 | 105 | <artifactId>lombok</artifactId> |
123 | 106 | <scope>provided</scope> |
124 | 107 | </dependency> |
125 | | - |
126 | 108 | <dependency> |
127 | 109 | <groupId>com.github.spotbugs</groupId> |
128 | 110 | <artifactId>spotbugs-annotations</artifactId> |
129 | 111 | <scope>provided</scope> |
130 | 112 | </dependency> |
131 | | - |
132 | 113 | <!-- dependencies for tests --> |
133 | 114 | <dependency> |
134 | 115 | <groupId>io.streamnative</groupId> |
135 | 116 | <artifactId>testmocks</artifactId> |
136 | 117 | <scope>test</scope> |
137 | 118 | </dependency> |
138 | | - |
139 | 119 | <dependency> |
140 | 120 | <groupId>org.mockito</groupId> |
141 | 121 | <artifactId>mockito-core</artifactId> |
142 | 122 | <version>${mockito.version}</version> |
143 | 123 | <scope>test</scope> |
144 | 124 | </dependency> |
145 | | - |
146 | 125 | <dependency> |
147 | 126 | <groupId>org.awaitility</groupId> |
148 | 127 | <artifactId>awaitility</artifactId> |
149 | 128 | <version>${awaitility.version}</version> |
150 | 129 | <scope>test</scope> |
151 | 130 | </dependency> |
152 | | - |
153 | 131 | <dependency> |
154 | 132 | <groupId>org.assertj</groupId> |
155 | 133 | <artifactId>assertj-core</artifactId> |
156 | 134 | <version>${assertj.version}</version> |
157 | 135 | <scope>test</scope> |
158 | 136 | </dependency> |
159 | | - |
160 | 137 | <!-- TODO Currently, some tests use junit tool, we can unify the test framework in the future --> |
161 | 138 | <dependency> |
162 | 139 | <groupId>junit</groupId> |
163 | 140 | <artifactId>junit</artifactId> |
164 | 141 | <version>4.13.2</version> |
165 | 142 | <scope>test</scope> |
166 | 143 | </dependency> |
167 | | - |
168 | 144 | </dependencies> |
169 | | - |
170 | 145 | <build> |
171 | 146 | <pluginManagement> |
172 | 147 | <plugins> |
|
215 | 190 | <excludeFilterFile>resources/findbugsExclude.xml</excludeFilterFile> |
216 | 191 | </configuration> |
217 | 192 | </plugin> |
218 | | - |
219 | 193 | <plugin> |
220 | 194 | <artifactId>maven-compiler-plugin</artifactId> |
221 | 195 | <version>${maven-compiler-plugin.version}</version> |
|
232 | 206 | </compilerArgs> |
233 | 207 | </configuration> |
234 | 208 | </plugin> |
235 | | - |
236 | 209 | <plugin> |
237 | 210 | <artifactId>maven-surefire-plugin</artifactId> |
238 | 211 | <version>${maven-surefire-plugin.version}</version> |
|
248 | 221 | <trimStackTrace>false</trimStackTrace> |
249 | 222 | </configuration> |
250 | 223 | </plugin> |
251 | | - |
252 | 224 | <plugin> |
253 | 225 | <groupId>com.mycila</groupId> |
254 | 226 | <artifactId>license-maven-plugin</artifactId> |
255 | 227 | <version>${license-maven-plugin.version}</version> |
256 | 228 | <configuration> |
257 | 229 | <header>resources/license.template</header> |
258 | | - |
259 | 230 | <excludes> |
260 | 231 | <exclude>LICENSE</exclude> |
261 | 232 | <exclude>NOTICE</exclude> |
|
285 | 256 | </mapping> |
286 | 257 | </configuration> |
287 | 258 | </plugin> |
288 | | - |
289 | 259 | <plugin> |
290 | 260 | <groupId>org.codehaus.mojo</groupId> |
291 | 261 | <artifactId>templating-maven-plugin</artifactId> |
|
299 | 269 | </execution> |
300 | 270 | </executions> |
301 | 271 | </plugin> |
302 | | - |
303 | 272 | <plugin> |
304 | 273 | <groupId>pl.project13.maven</groupId> |
305 | 274 | <artifactId>git-commit-id-plugin</artifactId> |
|
325 | 294 | <commitIdGenerationMode>full</commitIdGenerationMode> |
326 | 295 | </configuration> |
327 | 296 | </plugin> |
328 | | - |
329 | 297 | </plugins> |
330 | 298 | </build> |
331 | | - |
332 | 299 | <repositories> |
333 | 300 | <repository> |
334 | 301 | <id>central</id> |
|
346 | 313 | <enabled>true</enabled> |
347 | 314 | </snapshots> |
348 | 315 | </repository> |
| 316 | + <repository> |
| 317 | + <id>ossrh</id> |
| 318 | + <url>https://s01.oss.sonatype.org/service/local/repositories/0/content</url> |
| 319 | + </repository> |
| 320 | + <repository> |
| 321 | + <id>nexus-snapshot-ci</id> |
| 322 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 323 | + </repository> |
349 | 324 | </repositories> |
350 | | - |
| 325 | + <distributionManagement> |
| 326 | + <snapshotRepository> |
| 327 | + <id>ossrh</id> |
| 328 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 329 | + </snapshotRepository> |
| 330 | + <repository> |
| 331 | + <id>ossrh</id> |
| 332 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 333 | + </repository> |
| 334 | + </distributionManagement> |
351 | 335 | </project> |
0 commit comments