Skip to content

Commit 35818ee

Browse files
author
Pradeep Kunchala
committed
WIP: address review comments before rebase
1 parent 4eec223 commit 35818ee

File tree

227 files changed

+719
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+719
-0
lines changed

activemq-kahadb-store/bin/pom.xml

Lines changed: 345 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,345 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
<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/maven-v4_0_0.xsd">
19+
20+
<modelVersion>4.0.0</modelVersion>
21+
22+
<parent>
23+
<groupId>org.apache.activemq</groupId>
24+
<artifactId>activemq-parent</artifactId>
25+
<version>6.3.0-SNAPSHOT</version>
26+
</parent>
27+
28+
<artifactId>activemq-kahadb-store</artifactId>
29+
<packaging>jar</packaging>
30+
<name>ActiveMQ :: KahaDB Store</name>
31+
<description>The ActiveMQ KahaDB Store Implementation</description>
32+
33+
<dependencies>
34+
35+
<!-- =============================== -->
36+
<!-- Required Dependencies -->
37+
<!-- =============================== -->
38+
<dependency>
39+
<groupId>org.apache.activemq</groupId>
40+
<artifactId>activemq-broker</artifactId>
41+
</dependency>
42+
<dependency>
43+
<groupId>org.apache.activemq.protobuf</groupId>
44+
<artifactId>activemq-protobuf</artifactId>
45+
<optional>false</optional>
46+
</dependency>
47+
48+
<!-- =============================== -->
49+
<!-- Optional Dependencies -->
50+
<!-- =============================== -->
51+
52+
<dependency>
53+
<groupId>org.osgi</groupId>
54+
<artifactId>osgi.core</artifactId>
55+
<scope>provided</scope>
56+
<optional>true</optional>
57+
</dependency>
58+
<dependency>
59+
<groupId>org.apache.activemq</groupId>
60+
<artifactId>activemq-jaas</artifactId>
61+
<optional>true</optional>
62+
</dependency>
63+
<dependency>
64+
<groupId>jakarta.transaction</groupId>
65+
<artifactId>jakarta.transaction-api</artifactId>
66+
<optional>true</optional>
67+
</dependency>
68+
<dependency>
69+
<groupId>jakarta.annotation</groupId>
70+
<artifactId>jakarta.annotation-api</artifactId>
71+
<optional>true</optional>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.geronimo.specs</groupId>
75+
<artifactId>geronimo-jacc_1.1_spec</artifactId>
76+
<optional>true</optional>
77+
</dependency>
78+
<dependency>
79+
<groupId>com.thoughtworks.xstream</groupId>
80+
<artifactId>xstream</artifactId>
81+
<optional>true</optional>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.codehaus.jettison</groupId>
85+
<artifactId>jettison</artifactId>
86+
<optional>true</optional>
87+
</dependency>
88+
89+
<!-- for XML parsing -->
90+
<dependency>
91+
<groupId>org.apache.xbean</groupId>
92+
<artifactId>xbean-spring</artifactId>
93+
<optional>true</optional>
94+
</dependency>
95+
<dependency>
96+
<groupId>org.springframework</groupId>
97+
<artifactId>spring-context</artifactId>
98+
<optional>true</optional>
99+
</dependency>
100+
101+
<!-- =============================== -->
102+
<!-- Testing Dependencies -->
103+
<!-- =============================== -->
104+
<dependency>
105+
<groupId>${project.groupId}</groupId>
106+
<artifactId>activemq-broker</artifactId>
107+
<type>test-jar</type>
108+
<scope>test</scope>
109+
</dependency>
110+
<dependency>
111+
<groupId>junit</groupId>
112+
<artifactId>junit</artifactId>
113+
<scope>test</scope>
114+
</dependency>
115+
<dependency>
116+
<groupId>org.apache.logging.log4j</groupId>
117+
<artifactId>log4j-core</artifactId>
118+
<scope>test</scope>
119+
</dependency>
120+
<dependency>
121+
<groupId>org.apache.logging.log4j</groupId>
122+
<artifactId>log4j-slf4j2-impl</artifactId>
123+
<scope>test</scope>
124+
</dependency>
125+
<dependency>
126+
<groupId>org.jmock</groupId>
127+
<artifactId>jmock-junit4</artifactId>
128+
<scope>test</scope>
129+
</dependency>
130+
<dependency>
131+
<groupId>org.jmock</groupId>
132+
<artifactId>jmock-legacy</artifactId>
133+
<scope>test</scope>
134+
</dependency>
135+
<dependency>
136+
<groupId>org.mockito</groupId>
137+
<artifactId>mockito-core</artifactId>
138+
<scope>test</scope>
139+
</dependency>
140+
</dependencies>
141+
142+
<build>
143+
<pluginManagement>
144+
<plugins>
145+
<!--This plugin's configuration is used to store Eclipse m2e settings only.
146+
It has no influence on the Maven build itself.-->
147+
<plugin>
148+
<groupId>org.eclipse.m2e</groupId>
149+
<artifactId>lifecycle-mapping</artifactId>
150+
<version>1.0.0</version>
151+
<configuration>
152+
<lifecycleMappingMetadata>
153+
<pluginExecutions>
154+
<pluginExecution>
155+
<pluginExecutionFilter>
156+
<groupId>org.apache.activemq.protobuf</groupId>
157+
<artifactId>activemq-protobuf</artifactId>
158+
<versionRange>[0.0.0,)</versionRange>
159+
<goals>
160+
<goal>compile</goal>
161+
</goals>
162+
</pluginExecutionFilter>
163+
<action>
164+
<execute>
165+
<runOnIncremental>true</runOnIncremental>
166+
</execute>
167+
</action>
168+
</pluginExecution>
169+
</pluginExecutions>
170+
</lifecycleMappingMetadata>
171+
</configuration>
172+
</plugin>
173+
</plugins>
174+
</pluginManagement>
175+
<plugins>
176+
<plugin>
177+
<groupId>org.apache.activemq.protobuf</groupId>
178+
<artifactId>activemq-protobuf</artifactId>
179+
<executions>
180+
<execution>
181+
<goals>
182+
<goal>compile</goal>
183+
</goals>
184+
</execution>
185+
</executions>
186+
</plugin>
187+
<plugin>
188+
<groupId>org.codehaus.mojo</groupId>
189+
<artifactId>build-helper-maven-plugin</artifactId>
190+
<executions>
191+
<execution>
192+
<id>add-source</id>
193+
<phase>generate-sources</phase>
194+
<goals>
195+
<goal>add-source</goal>
196+
</goals>
197+
<configuration>
198+
<sources>
199+
<source>${basedir}/target/generated-sources/proto</source>
200+
</sources>
201+
</configuration>
202+
</execution>
203+
</executions>
204+
</plugin>
205+
<plugin>
206+
<groupId>org.apache.maven.plugins</groupId>
207+
<artifactId>maven-surefire-plugin</artifactId>
208+
<version>${surefire.version}</version>
209+
<configuration>
210+
<argLine>${surefire.argLine}</argLine>
211+
<runOrder>alphabetical</runOrder>
212+
<reportFormat>plain</reportFormat>
213+
<failIfNoTests>false</failIfNoTests>
214+
<excludedGroups>org.apache.activemq.store.kahadb.ParallelTest</excludedGroups>
215+
<systemPropertyVariables>
216+
<org.apache.activemq.default.directory.prefix>${project.build.directory}/</org.apache.activemq.default.directory.prefix>
217+
</systemPropertyVariables>
218+
<consoleOutputReporter>
219+
<disable>true</disable>
220+
</consoleOutputReporter>
221+
<statelessTestsetInfoReporter
222+
implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter">
223+
<printStacktraceOnError>true</printStacktraceOnError>
224+
<printStacktraceOnFailure>true</printStacktraceOnFailure>
225+
<printStdoutOnError>true</printStdoutOnError>
226+
<printStdoutOnFailure>true</printStdoutOnFailure>
227+
<printStderrOnError>true</printStderrOnError>
228+
<printStderrOnFailure>true</printStderrOnFailure>
229+
</statelessTestsetInfoReporter>
230+
<includes>
231+
<include>**/*Test.*</include>
232+
</includes>
233+
<excludes>
234+
<exclude>**/*LoadTest.java</exclude>
235+
<exclude>**/*StressTest.java</exclude>
236+
</excludes>
237+
</configuration>
238+
<executions>
239+
<execution>
240+
<id>parallel</id>
241+
<phase>test</phase>
242+
<goals>
243+
<goal>test</goal>
244+
</goals>
245+
<configuration>
246+
<!-- drop the default excludedGroups -->
247+
<excludedGroups combine.self="override"/>
248+
<groups>org.apache.activemq.store.kahadb.ParallelTest</groups>
249+
<forkCount>2C</forkCount>
250+
<reuseForks>false</reuseForks>
251+
<forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
252+
<failIfNoTests>false</failIfNoTests>
253+
<systemPropertyVariables>
254+
<org.apache.activemq.default.directory.prefix>${project.build.directory}/parallel-tests-${surefire.forkNumber}/</org.apache.activemq.default.directory.prefix>
255+
<!-- when running tests in parallel in the CI (quite slow) we need to bump the wireformat negotiation timeout (5s by default) -->
256+
<org.apache.activemq.transport.wireFormatNegotiationTimeout>30000</org.apache.activemq.transport.wireFormatNegotiationTimeout>
257+
</systemPropertyVariables>
258+
</configuration>
259+
</execution>
260+
</executions>
261+
<dependencies>
262+
<dependency>
263+
<groupId>org.apache.maven.surefire</groupId>
264+
<artifactId>surefire-junit47</artifactId>
265+
<version>${surefire.version}</version>
266+
</dependency>
267+
<dependency>
268+
<groupId>me.fabriciorby</groupId>
269+
<artifactId>maven-surefire-junit5-tree-reporter</artifactId>
270+
<version>1.5.1</version>
271+
</dependency>
272+
</dependencies>
273+
</plugin>
274+
</plugins>
275+
</build>
276+
<profiles>
277+
<profile>
278+
<id>activemq.tests-sanity</id>
279+
<activation>
280+
<property>
281+
<name>activemq.tests</name>
282+
<value>smoke</value>
283+
</property>
284+
</activation>
285+
<build>
286+
<plugins>
287+
<plugin>
288+
<artifactId>maven-surefire-plugin</artifactId>
289+
<configuration>
290+
<excludes>
291+
<exclude>**/JournalCorruptionEofIndexRecoveryTest.*</exclude>
292+
<exclude>**/JournalCorruptionIndexRecoveryTest.*</exclude>
293+
<exclude>**/index/*.*</exclude>
294+
<exclude>**/PListImplTest.*</exclude>
295+
</excludes>
296+
</configuration>
297+
</plugin>
298+
</plugins>
299+
</build>
300+
</profile>
301+
<profile>
302+
<id>activemq.tests-autoTransport</id>
303+
<activation>
304+
<property>
305+
<name>activemq.tests</name>
306+
<value>autoTransport</value>
307+
</property>
308+
</activation>
309+
<build>
310+
<plugins>
311+
<plugin>
312+
<artifactId>maven-surefire-plugin</artifactId>
313+
<configuration>
314+
<excludes>
315+
<exclude>**</exclude>
316+
</excludes>
317+
</configuration>
318+
</plugin>
319+
</plugins>
320+
</build>
321+
</profile>
322+
323+
<profile>
324+
<id>activemq.tests.aix.excludes</id>
325+
<activation>
326+
<property>
327+
<name>os.name</name>
328+
<value>AIX</value>
329+
</property>
330+
</activation>
331+
<build>
332+
<plugins>
333+
<plugin>
334+
<artifactId>maven-surefire-plugin</artifactId>
335+
<configuration>
336+
<excludes combine.children="append">
337+
<exclude>**/PListImplTest.*</exclude>
338+
</excludes>
339+
</configuration>
340+
</plugin>
341+
</plugins>
342+
</build>
343+
</profile>
344+
</profiles>
345+
</project>
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)