-
Notifications
You must be signed in to change notification settings - Fork 556
/
pom.xml
166 lines (152 loc) · 5.1 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.camunda</groupId>
<artifactId>zeebe-parent</artifactId>
<version>8.0.3</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<artifactId>zeebe-journal</artifactId>
<packaging>jar</packaging>
<name>Zeebe Journal</name>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<license.header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</license.header>
</properties>
<dependencies>
<dependency>
<groupId>org.agrona</groupId>
<artifactId>agrona</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>uk.co.real-logic</groupId>
<artifactId>sbe-tool</artifactId>
</dependency>
<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-protocol</artifactId>
</dependency>
<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-util</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<!-- LICENSE PLUGIN -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<!--
Will only add license headers if file has none, to only add our copyright
to new added files. We need to make sure that the old ONF copyrights are saved
and not replaced accidentally.
-->
<skipExistingHeaders>true</skipExistingHeaders>
</configuration>
</plugin>
<!-- FOR SBE -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<goals>
<goal>add-source</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<sources combine.children="append">
<!-- merging with parent config for benchmarks -->
<source>${project.build.directory}/generated-sources/sbe</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executableDependency>
<groupId>uk.co.real-logic</groupId>
<artifactId>sbe</artifactId>
</executableDependency>
<mainClass>uk.co.real_logic.sbe.SbeTool</mainClass>
<arguments>
<argument>${project.build.resources[0].directory}/journal-schema.xml</argument>
</arguments>
<workingDirectory>${project.build.directory}/generated-sources</workingDirectory>
<!-- system properties defined in zeebe-parent -->
</configuration>
<dependencies>
<dependency>
<groupId>uk.co.real-logic</groupId>
<artifactId>sbe-all</artifactId>
<version>${version.sbe}</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<usedDependencies>
<!-- dependency used but plugin seems to report a false positive here -->
<dependency>uk.co.real-logic:sbe-tool</dependency>
<!--
ensures that zeebe-protocol is built first, preventing concurrent executions
of the sbe-tool
-->
<dependency>io.camunda:zeebe-protocol</dependency>
</usedDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>