Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

kiegroup_drools_drools-core_pom.xml 7.1 KB

You have to be logged in to leave a comment. Sign In
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
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.kie</groupId>
  7. <artifactId>drools-build-parent</artifactId>
  8. <version>8.31.0-SNAPSHOT</version>
  9. <relativePath>../build-parent/pom.xml</relativePath>
  10. </parent>
  11. <groupId>org.drools</groupId>
  12. <artifactId>drools-core</artifactId>
  13. <name>Drools :: Core</name>
  14. <properties>
  15. <java.module.name>org.drools.core</java.module.name>
  16. <surefire.forkCount>2</surefire.forkCount>
  17. </properties>
  18. <dependencies>
  19. <!--
  20. following are required for parser (lang). May be refactored out of
  21. core module.
  22. -->
  23. <dependency>
  24. <groupId>org.kie</groupId>
  25. <artifactId>kie-api</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.kie</groupId>
  29. <artifactId>kie-internal</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.kie</groupId>
  33. <artifactId>kie-util-xml</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.drools</groupId>
  37. <artifactId>drools-wiring-api</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.drools</groupId>
  41. <artifactId>drools-wiring-static</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.drools</groupId>
  45. <artifactId>drools-io</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.antlr</groupId>
  49. <artifactId>antlr-runtime</artifactId>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.antlr</groupId>
  54. <artifactId>antlr</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.sun.xml.bind</groupId>
  59. <artifactId>jaxb-xjc</artifactId>
  60. <scope>provided</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.sun.xml.bind</groupId>
  64. <artifactId>jaxb-core</artifactId>
  65. <scope>provided</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.sun.xml.bind</groupId>
  69. <artifactId>jaxb-impl</artifactId>
  70. <scope>provided</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>jakarta.xml.bind</groupId>
  74. <artifactId>jakarta.xml.bind-api</artifactId>
  75. <scope>provided</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>jakarta.activation</groupId>
  79. <artifactId>jakarta.activation-api</artifactId>
  80. <scope>provided</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>jakarta.inject</groupId>
  84. <artifactId>jakarta.inject-api</artifactId>
  85. <scope>provided</scope><!-- HACK for OSGi: should be <optional>true</optional> instead -->
  86. </dependency>
  87. <!-- Logging -->
  88. <dependency>
  89. <groupId>org.slf4j</groupId>
  90. <artifactId>slf4j-api</artifactId>
  91. </dependency>
  92. <dependency><!-- For unit test logging: configure in src/test/resources/logback-test.xml -->
  93. <groupId>ch.qos.logback</groupId>
  94. <artifactId>logback-classic</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <!-- Base64 encoding -->
  98. <dependency>
  99. <groupId>commons-codec</groupId>
  100. <artifactId>commons-codec</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-lang3</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>junit</groupId>
  109. <artifactId>junit</artifactId>
  110. <scope>test</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.assertj</groupId>
  114. <artifactId>assertj-core</artifactId>
  115. <scope>test</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.mockito</groupId>
  119. <artifactId>mockito-core</artifactId>
  120. <scope>test</scope>
  121. </dependency>
  122. </dependencies>
  123. <profiles>
  124. <profile>
  125. <id>grammarsProfile</id>
  126. <activation>
  127. <property>
  128. <name>grammars</name>
  129. </property>
  130. </activation>
  131. <build>
  132. <plugins>
  133. <plugin><!-- TODO JBRULES-2740 use mojo's antlr-maven-plugin or antlr3-maven-plugin so the jar versions are always up to date -->
  134. <artifactId>maven-antrun-plugin</artifactId>
  135. <executions>
  136. <execution>
  137. <phase>generate-sources</phase>
  138. <configuration>
  139. <tasks if="generategrammars">
  140. <path id="base.classpath">
  141. <pathelement
  142. path="${user.home}/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar"/>
  143. <pathelement
  144. path="${user.home}/.m2/repository/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar"/>
  145. <pathelement
  146. path="${user.home}/.m2/repository/org/antlr/antlr/3.1.1/antlr-3.1.1.jar"/>
  147. </path>
  148. <property name="antlr_classpath" refid="maven.compile.classpath"/>
  149. <echo message="Generating Antlr Grammars"/>
  150. <java classname="org.antlr.Tool" fork="true">
  151. <arg
  152. line="-lib src/test/resources/org/drools/reteoo/test/parser src/test/resources/org/drools/reteoo/test/parser/NodeTestDSL.g src/test/resources/org/drools/reteoo/test/parser/NodeTestDSLTree.g"/>
  153. <classpath refid="base.classpath"/>
  154. </java>
  155. <move todir="src/test/java/org/drools/reteoo/test/parser">
  156. <fileset dir="src/test/resources/org/drools/reteoo/test/parser">
  157. <include name="**/*.java"/>
  158. <exclude name="**/__*"/>
  159. </fileset>
  160. </move>
  161. <delete>
  162. <fileset dir="src/test/resources/org/drools/reteoo/test/parser">
  163. <include name="**/*.tokens"/>
  164. <include name="**/classes"/>
  165. <include name="**/__*"/>
  166. <include name="NodeTestDSL__.g"/>
  167. </fileset>
  168. </delete>
  169. </tasks>
  170. </configuration>
  171. <goals>
  172. <goal>run</goal>
  173. </goals>
  174. </execution>
  175. </executions>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </profile>
  180. </profiles>
  181. <build>
  182. <resources>
  183. <resource>
  184. <directory>src/main/resources</directory>
  185. </resource>
  186. <resource>
  187. <filtering>true</filtering>
  188. <directory>src/main/filtered-resources</directory>
  189. </resource>
  190. </resources>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-javadoc-plugin</artifactId>
  195. </plugin>
  196. <plugin>
  197. <groupId>com.github.spotbugs</groupId>
  198. <artifactId>spotbugs-maven-plugin</artifactId>
  199. <configuration>
  200. <excludeFilterFile>${project.basedir}/src/main/spotbugs/spotbugs-exclude.xml</excludeFilterFile>
  201. </configuration>
  202. </plugin>
  203. </plugins>
  204. </build>
  205. </project>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...