forked from ybroeker/wildfly-camunda-feature-pack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
348 lines (324 loc) · 15 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2019 Red Hat, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>35</version>
</parent>
<groupId>corlab.wildfly-camunda-feature-pack</groupId>
<artifactId>wildfly-camunda-bpm-pack-parent</artifactId>
<version>1.5.0.Alpha-RC1</version>
<packaging>pom</packaging>
<name>WildFly Camunda Galleon Pack - Parent</name>
<description>WildFly Camunda Galleon Pack</description>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<!--
Target WildFly version, and other parts needed for the Galleon maven plugin
-->
<version.org.wildfly>23.0.1.Final</version.org.wildfly>
<!--
The value of version.org.wildfly.core from the WildFly version tag. E.g. for 20.0.0.Final it is
found here: https://github.com/wildfly/wildfly/blob/20.0.0.Final/pom.xml#L445
-->
<version.org.wildfly.core>15.0.1.Final</version.org.wildfly.core>
<!--
The value of version.org.wildfly.common from the WildFly Core version tag. E.g. for 12.0.1.Final it is
found here: https://github.com/wildfly/wildfly-core/blob/12.0.1.Final/pom.xml#L217
-->
<version.org.wildfly.common>1.5.4.Final</version.org.wildfly.common>
<version.org.camunda.bpm>7.18.0</version.org.camunda.bpm>
<!-- Other dependency versions -->
<version.org.jboss.arquillian.junit>1.6.0.Final</version.org.jboss.arquillian.junit>
<version.org.jboss.galleon>4.2.9.Final</version.org.jboss.galleon>
<!-- Plugin versions and their dependency versions -->
<version.org.wildfly.checkstyle-config>1.0.8.Final</version.org.wildfly.checkstyle-config>
<version.org.wildfly.galleon-plugins>4.2.9.Final</version.org.wildfly.galleon-plugins>
<!-- Misc. -->
<wildfly-extras.repo.scm.connection>[email protected]:wildfly-extras/wildfly-galleon-pack-template.git</wildfly-extras.repo.scm.connection>
<wildfly-extras.repo.scm.url>https://github.com/wildfly-extras/wildfly-galleon-pack-template</wildfly-extras.repo.scm.url>
<!-- Protocol to use for communication with remote maven repositories.
You can set to 'http' if you are using a maven proxy and 'https'
interferes with that. Use 'https' for builds that will be released
to non-snapshot public maven repos
-->
<maven.repository.protocol>https</maven.repository.protocol>
<!-- The full remote maven repo URL; can be overridden via -D for special use cases -->
<maven.repository.url>${maven.repository.protocol}://repository.jboss.org/nexus/content/groups/public/</maven.repository.url>
<!-- https://access.redhat.com/maven-repository - this is needed for the picketlink dependency -->
<maven.redhat.repository.url>${maven.repository.protocol}://maven.repository.redhat.com/ga/</maven.redhat.repository.url>
<!-- Name of the built server -->
<server.name>wildfly-${version.org.wildfly}-camunda-feature-pack-${project.version}</server.name>
<wildfly.build.output.dir>build/target/${server.name}</wildfly.build.output.dir>
<!-- Galleon -->
<galleon.fork.embedded>false</galleon.fork.embedded>
<galleon.log.time>true</galleon.log.time>
<!-- Builds need to override this -->
<galleon.wildfly.home>/tmp</galleon.wildfly.home>
<!-- Checkstyle configuration -->
<linkXRef>false</linkXRef>
<!-- WildFLy plugin version. We use it to be able to run wildfly:deploy for the example -->
<version.wildfly.maven.plugin>2.0.0.Final</version.wildfly.maven.plugin>
</properties>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>${maven.repository.url}</url>
<layout>default</layout>
</repository>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
<id>jboss-enterprise-maven-repository</id>
<name>JBoss Enterprise Maven Repository</name>
<url>${maven.redhat.repository.url}</url>
<layout>default</layout>
</repository>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
<id>camunda-bpm</id>
<name>camunda-bpm</name>
<url>https://artifacts.camunda.com/artifactory/camunda-bpm/</url>
<layout>default</layout>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<!-- WildFly dependencies -->
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-galleon-pack</artifactId>
<version>${version.org.wildfly}</version>
<type>zip</type>
</dependency>
<!-- This BOM makes most of the dependencies from WildFly available for normal (non-plugin use -->
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-component-matrix</artifactId>
<version>${version.org.wildfly}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Camunda BOM-->
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>${version.org.camunda.bpm}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.camunda.commons</groupId>-->
<!-- <artifactId>camunda-commons-bom</artifactId>-->
<!-- <version>1.9.0</version>-->
<!-- <scope>import</scope>-->
<!-- <type>pom</type>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.camunda.connect</groupId>-->
<!-- <artifactId>camunda-connect-bom</artifactId>-->
<!-- <version>${version.camunda.connect}</version>-->
<!-- <scope>import</scope>-->
<!-- <type>pom</type>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.camunda.spin</groupId>-->
<!-- <artifactId>camunda-spin-bom</artifactId>-->
<!-- <version>${version.camunda.spin}</version>-->
<!-- <scope>import</scope>-->
<!-- <type>pom</type>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.camunda.template-engines</groupId>-->
<!-- <artifactId>camunda-template-engines-bom</artifactId>-->
<!-- <version>${version.camunda.template-engines}</version>-->
<!-- <scope>import</scope>-->
<!-- <type>pom</type>-->
<!-- </dependency>-->
<!-- Project -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>wildfly-camunda-feature-pack</artifactId>
<version>${project.version}</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>wildfly-camunda-feature-pack</artifactId>
<version>${project.version}</version>
<type>zip</type>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- External dependencies -->
<!-- This does not go into the modules so don't worry about exclusions -->
<dependency>
<groupId>org.wildfly.checkstyle</groupId>
<artifactId>wildfly-checkstyle-config</artifactId>
<version>${version.org.wildfly.checkstyle-config}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-core</artifactId>
<scope>test</scope>
<version>${version.org.jboss.arquillian.junit}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jboss.galleon</groupId>
<artifactId>galleon-maven-plugin</artifactId>
<version>${version.org.jboss.galleon}</version>
</plugin>
<plugin>
<groupId>org.wildfly.galleon-plugins</groupId>
<artifactId>wildfly-galleon-maven-plugin</artifactId>
<version>${version.org.wildfly.galleon-plugins}</version>
<dependencies>
<!--
feature-spec-gen uses wildfly-embedded to generate the feature specs, hence the designated
wildfly-embedded version must match the pack one
-->
<dependency>
<groupId>org.wildfly.core</groupId>
<artifactId>wildfly-embedded</artifactId>
<version>${version.org.wildfly.core}</version>
</dependency>
<!-- If you add a dependency on wildfly-embedded you need to bring your own transitives -->
<dependency>
<groupId>org.wildfly.common</groupId>
<artifactId>wildfly-common</artifactId>
<version>${version.org.wildfly.common}</version>
</dependency>
</dependencies>
</plugin>
<!-- Only here to be able to run wildfly:deploy for the example -->
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>${version.wildfly.maven.plugin}</version>
</plugin>
<!-- Checkstyle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${version.checkstyle.plugin}</version>
<executions>
<execution>
<id>check-style</id>
<phase>compile</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.wildfly.checkstyle</groupId>
<artifactId>wildfly-checkstyle-config</artifactId>
<version>${version.org.wildfly.checkstyle-config}</version>
</dependency>
</dependencies>
<configuration>
<configLocation>wildfly-checkstyle/checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<excludes>**/*$logger.java,**/*$bundle.java</excludes>
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
<useFile></useFile>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:git:${wildfly-extras.repo.scm.connection}</connection>
<developerConnection>scm:git:${wildfly-extras.repo.scm.connection}</developerConnection>
<url>${wildfly-extras.repo.scm.url}</url>
<tag>HEAD</tag>
</scm>
<modules>
<module>build</module>
<module>feature-pack</module>
<module>testsuite</module>
</modules>
<profiles>
<profile>
<id>jdk9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<modular.jdk.args>--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
--add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
--add-modules=java.se</modular.jdk.args>
</properties>
</profile>
</profiles>
</project>