forked from kiegroup/jbpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
232 lines (217 loc) · 8.3 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
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kie</groupId>
<artifactId>kie-parent</artifactId>
<version>7.11.0-SNAPSHOT</version>
<!-- relativePath causes out-of-date problems on hudson slaves -->
<!--<relativePath>../droolsjbpm-build-bootstrap/pom.xml</relativePath>-->
</parent>
<groupId>org.jbpm</groupId>
<artifactId>jbpm</artifactId>
<packaging>pom</packaging>
<name>jBPM :: Multiproject</name>
<description>jBPM: a Business Process Management (BPM) Suite</description>
<url>https://www.jboss.org/jbpm/</url>
<properties>
<!--
These properties are used in the database profiles. Some of them must be initialized as empty strings
so that Maven applies them via filtering.
-->
<maven.hibernate.dialect>org.hibernate.dialect.H2Dialect</maven.hibernate.dialect>
<maven.datasource.classname>org.h2.jdbcx.JdbcDataSource</maven.datasource.classname>
<maven.jdbc.driver.class>org.h2.Driver</maven.jdbc.driver.class>
<maven.jdbc.db.name/>
<maven.jdbc.db.port/>
<maven.jdbc.db.server/>
<maven.jdbc.driver.jar/>
<maven.jdbc.username>sa</maven.jdbc.username>
<maven.jdbc.password>sasa</maven.jdbc.password>
<maven.jdbc.url>jdbc:h2:tcp:https://localhost/${project.basedir}/target/jbpm-test;MVCC=TRUE</maven.jdbc.url>
<maven.jdbc.schema>public</maven.jdbc.schema>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.logViolationsToConsole>true</checkstyle.logViolationsToConsole>
<findbugs.failOnViolation>true</findbugs.failOnViolation>
<checkstyle.header.template><![CDATA[
^\/\*$\n^
\* Copyright \d\d\d\d Red Hat, Inc\. and\/or its affiliates\.$\n^
\*$\n^
\* Licensed under the Apache License, Version 2\.0 \(the "License"\);$\n^
\* you may not use this file except in compliance with the License\.$\n^
\* You may obtain a copy of the License at$\n^
\*$\n^
\* http:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0$\n^
\*$\n^
\* Unless required by applicable law or agreed to in writing, software$\n^
\* distributed under the License is distributed on an "AS IS" BASIS,$\n^
\* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.$\n^
\* See the License for the specific language governing permissions and$\n^
\* limitations under the License\.$\n^
\*\/$
]]>
</checkstyle.header.template>
</properties>
<repositories>
<!-- Bootstrap repository to locate the parent pom when the parent pom has not been build locally. -->
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<scm>
<connection>scm:git:https://github.com:kiegroup/jbpm.git</connection>
<developerConnection>scm:git:[email protected]:kiegroup/jbpm.git</developerConnection>
<url>https://github.com/kiegroup/jbpm</url>
</scm>
<issueManagement>
<system>jira</system>
<url>https://issues.jboss.org/browse/JBPM</url>
</issueManagement>
<modules>
<module>jbpm-test-util</module>
<module>jbpm-flow</module>
<module>jbpm-flow-builder</module>
<module>jbpm-persistence</module>
<module>jbpm-query-jpa</module>
<module>jbpm-audit</module>
<module>jbpm-bpmn2</module>
<module>jbpm-bpmn2-emfextmodel</module>
<module>jbpm-workitems</module>
<module>jbpm-human-task</module>
<module>jbpm-runtime-manager</module>
<module>jbpm-services</module>
<module>jbpm-document</module>
<module>jbpm-test</module>
<module>jbpm-case-mgmt</module>
<module>jbpm-test-coverage</module>
<module>jbpm-examples</module>
<module>jbpm-installer</module>
<module>jbpm-container-test</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>${maven.jdbc.driver.jar}</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
<!-- checkstyle plugin should only do header(copyright) check -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<checkstyleRules>
<module name="Checker">
<module name="RegexpHeader">
<property name="header" value="${checkstyle.header.template}"/>
<property name="fileExtensions" value="${checkstyle.header.extensions}"/>
</module>
</module>
</checkstyleRules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-bom</artifactId>
<version>${version.org.kie}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-test-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-bom</artifactId>
<version>${version.org.kie}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.kie.soup</groupId>
<artifactId>kie-soup-bom</artifactId>
<version>${version.org.kie}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-bom</artifactId>
<version>${version.org.kie}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>simple-jndi</groupId>
<artifactId>simple-jndi</artifactId>
<version>0.11.4.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>fullProfile</id>
<activation>
<property>
<name>full</name>
</property>
</activation>
<modules>
<module>jbpm-distribution</module>
</modules>
</profile>
<profile>
<id>mariadb</id>
<!-- Important: one still needs to specify the MariaDB JDBC driver jar!
Following are the default values for MariaDB started via Docker:
"docker run --name mariadb-jbpm -e MYSQL_ROOT_PASSWORD="admin1234" -d -p 3306:3306 mariadb:latest"
(replace the "--" with two "-"
More info at https://hub.docker.com/_/mariadb/-->
<properties>
<maven.hibernate.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</maven.hibernate.dialect>
<maven.datasource.classname>org.mariadb.jdbc.MySQLDataSource</maven.datasource.classname>
<maven.jdbc.driver.class>org.mariadb.jdbc.Driver</maven.jdbc.driver.class>
<maven.jdbc.db.name>mysql</maven.jdbc.db.name>
<maven.jdbc.db.port>3306</maven.jdbc.db.port>
<maven.jdbc.driver.jar/>
<maven.jdbc.username>root</maven.jdbc.username>
<maven.jdbc.password>admin1234</maven.jdbc.password>
<maven.jdbc.url>jdbc:mariadb:https://localhost:3306/mysql?pinGlobalTxToPhysicalConnection=true</maven.jdbc.url>
<maven.jdbc.schema>mysql</maven.jdbc.schema>
</properties>
</profile>
</profiles>
</project>