forked from apache/incubator-kie-optaplanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
207 lines (195 loc) · 8.22 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kie</groupId>
<artifactId>kie-parent</artifactId>
<version>7.13.0-SNAPSHOT</version>
<!-- relativePath causes out-of-date problems on hudson slaves -->
<!--<relativePath>../droolsjbpm-build-bootstrap/pom.xml</relativePath>-->
</parent>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner</artifactId>
<packaging>pom</packaging>
<name>OptaPlanner multiproject parent</name>
<description>
OptaPlanner solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module is just the multiproject parent. The planning engine itself is in optaplanner-core.
</description>
<url>https://www.optaplanner.org</url>
<inceptionYear>2006</inceptionYear>
<properties>
<findbugs.failOnViolation>true</findbugs.failOnViolation>
</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:[email protected]:kiegroup/optaplanner.git</connection>
<developerConnection>scm:git:[email protected]:kiegroup/optaplanner.git</developerConnection>
<url>https://github.com/kiegroup/optaplanner</url>
</scm>
<issueManagement>
<system>jira</system>
<url>https://issues.jboss.org/browse/PLANNER</url>
</issueManagement>
<modules>
<module>optaplanner-core</module>
<module>optaplanner-persistence</module>
<module>optaplanner-integration</module>
<module>optaplanner-benchmark</module>
<module>optaplanner-test</module>
<module>optaplanner-examples</module>
<module>optaplanner-webexamples</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-bom</artifactId>
<version>${version.org.kie}</version>
<type>pom</type>
<scope>import</scope>
</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.glassfish</groupId>
<artifactId>javax.json</artifactId>
<!-- Old version until this issue is resolved: https://github.com/ImmobilienScout24/illegal-transitive-dependency-check/issues/30 -->
<version>1.0.4</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>fullProfile</id>
<activation>
<property>
<name>full</name>
</property>
</activation>
<modules>
<module>optaplanner-docs</module>
<module>optaplanner-distribution</module>
</modules>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<maxRank>14</maxRank>
<includeTests>true</includeTests>
</configuration>
</plugin>
<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 combine.self="override">
<module name="Checker">
<property name="severity" value="warning" default="warning"/>
<!-- Checks whether files end with a new line. -->
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf"/>
</module>
<!-- Checks for whitespace. -->
<module name="FileTabCharacter">
<property name="severity" value="error"/>
<property name="eachLine" value="true"/>
</module>
<module name="SuppressWarningsFilter"/>
<module name="TreeWalker">
<property name="cacheFile" value="target/cachefile"/>
<property name="tabWidth" value="4"/>
<!-- Checks for Javadoc comments. -->
<module name="JavadocStyle"/>
<!-- TODO: Enable NonEmptyAtclauseDescription after https://github.com/checkstyle/checkstyle/issues/1064 is fixed -->
<!-- Update: #1064 is resolved and the performance has greatly improved but this check still adds ~2 seconds -->
<!-- to the build time -> always measure build time before enabling this module (use github.com/jcgay/maven-profiler) -->
<!--<module name="NonEmptyAtclauseDescription"/>-->
<!-- Checks for imports. -->
<module name="RedundantImport"/>
<!-- defaults to sun.* packages -->
<module name="IllegalImport"/>
<!-- Checks for size violations. -->
<!--<module name="LineLength">-->
<!--<property name="max" value="120"/>-->
<!--</module>-->
<module name="ParameterNumber"/>
<!-- Checks for whitespace. -->
<module name="GenericWhitespace"/>
<module name="MethodParamPad"/>
<module name="NoWhitespaceBefore"/>
<module name="ParenPad"/>
<module name="TypecastParenPad"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyTypes" value="true"/>
</module>
<!-- Checks for blocks. -->
<module name="LeftCurly"/>
<module name="NeedBraces"/>
<module name="RightCurly"/>
<!-- Checks for common coding problems. -->
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="OneStatementPerLine"/>
<!-- Checks for class design. -->
<!--<module name="HideUtilityClassConstructor"/>-->
<module name="InterfaceIsType"/>
<!-- Miscellaneous other checks. -->
<module name="ArrayTypeStyle"/>
<module name="UpperEll"/>
<module name="SuppressWarningsHolder"/>
</module>
</module>
</checkstyleRules>
<consoleOutput>true</consoleOutput>
<logViolationsToConsole>true</logViolationsToConsole>
<failOnViolation>true</failOnViolation>
<failsOnError>true</failsOnError>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>