apache-ignite
274 строки · 9.6 Кб
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4Licensed to the Apache Software Foundation (ASF) under one or more
5contributor license agreements. See the NOTICE file distributed with
6this work for additional information regarding copyright ownership.
7The ASF licenses this file to You under the Apache License, Version 2.0
8(the "License"); you may not use this file except in compliance with
9the License. You may obtain a copy of the License at
10http://www.apache.org/licenses/LICENSE-2.0
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16-->
17
18<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"19xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">20<modelVersion>4.0.0</modelVersion>21
22<parent>23<groupId>org.apache.ignite</groupId>24<artifactId>ignite-parent-internal</artifactId>25<version>${revision}</version>26<relativePath>../parent-internal/pom.xml</relativePath>27</parent>28
29<artifactId>ignite-examples</artifactId>30
31<dependencies>32<dependency>33<groupId>javax.cache</groupId>34<artifactId>cache-api</artifactId>35<version>${javax.cache.version}</version>36</dependency>37
38<dependency>39<groupId>${project.groupId}</groupId>40<artifactId>ignite-core</artifactId>41</dependency>42
43<dependency>44<groupId>${project.groupId}</groupId>45<artifactId>ignite-spring</artifactId>46<!--Remove exclusion while upgrading ignite-spring version to 5.0-->47<exclusions>48<exclusion>49<groupId>org.springframework</groupId>50<artifactId>spring-core</artifactId>51</exclusion>52<exclusion>53<groupId>org.springframework</groupId>54<artifactId>spring-beans</artifactId>55</exclusion>56</exclusions>57</dependency>58
59<!--Remove spring-core and spring-beans dependencies while upgrading ignite-spring version to 5.0-->60<dependency>61<groupId>org.springframework</groupId>62<artifactId>spring-core</artifactId>63<version>${spring.version}</version>64</dependency>65
66<dependency>67<groupId>org.springframework</groupId>68<artifactId>spring-beans</artifactId>69<version>${spring.version}</version>70</dependency>71
72<dependency>73<groupId>${project.groupId}</groupId>74<artifactId>ignite-log4j2</artifactId>75</dependency>76
77<dependency>78<groupId>${project.groupId}</groupId>79<artifactId>ignite-indexing</artifactId>80</dependency>81
82<dependency>83<groupId>${project.groupId}</groupId>84<artifactId>ignite-calcite</artifactId>85</dependency>86
87<dependency>88<groupId>${project.groupId}</groupId>89<artifactId>ignite-opencensus</artifactId>90</dependency>91
92<dependency>93<groupId>io.opencensus</groupId>94<artifactId>opencensus-exporter-stats-prometheus</artifactId>95<version>${opencensus.version}</version>96</dependency>97
98<dependency>99<groupId>io.prometheus</groupId>100<artifactId>simpleclient_httpserver</artifactId>101<version>0.3.0</version>102</dependency>103
104<dependency>105<groupId>${project.groupId}</groupId>106<artifactId>ignite-kubernetes</artifactId>107</dependency>108
109<dependency>110<groupId>commons-cli</groupId>111<artifactId>commons-cli</artifactId>112<version>1.2</version>113</dependency>114
115<dependency>116<groupId>com.google.code.simple-spring-memcached</groupId>117<artifactId>spymemcached</artifactId>118<version>2.8.4</version>119</dependency>120
121<dependency>122<groupId>${project.groupId}</groupId>123<artifactId>ignite-core</artifactId>124<type>test-jar</type>125<scope>test</scope>126</dependency>127
128<dependency>129<groupId>${project.groupId}</groupId>130<artifactId>ignite-tools</artifactId>131<scope>test</scope>132<exclusions>133<exclusion>134<groupId>org.apache.rat</groupId>135<artifactId>apache-rat-core</artifactId>136</exclusion>137</exclusions>138</dependency>139
140<dependency>141<groupId>org.javassist</groupId>142<artifactId>javassist</artifactId>143<version>${javassist.version}</version>144</dependency>145
146<dependency>147<groupId>commons-io</groupId>148<artifactId>commons-io</artifactId>149<version>2.11.0</version>150</dependency>151</dependencies>152
153<properties>154<!-- will be changed by profile activation. allows to combine profiles. -->155<lgpl.folder>src/main/java</lgpl.folder>156<lgpl.test.folder>src/test/java</lgpl.test.folder>157</properties>158
159<profiles>160<profile>161<id>lgpl</id>162
163<properties>164<lgpl.folder>src/main/java-lgpl</lgpl.folder>165<lgpl.test.folder>src/test/java-lgpl</lgpl.test.folder>166</properties>167
168<dependencies>169<dependency>170<groupId>${project.groupId}</groupId>171<artifactId>ignite-schedule</artifactId>172</dependency>173</dependencies>174
175<build>176<plugins>177<plugin>178<groupId>org.apache.maven.plugins</groupId>179<artifactId>maven-checkstyle-plugin</artifactId>180<configuration>181<sourceDirectories combine.children="append">182<sourceDirectory>${lgpl.folder}</sourceDirectory>183<sourceDirectory>${lgpl.test.folder}</sourceDirectory>184</sourceDirectories>185</configuration>186</plugin>187</plugins>188</build>189</profile>190</profiles>191
192<build>193<resources>194<resource>195<directory>src/main/java</directory>196<excludes>197<exclude>**/*.java</exclude>198</excludes>199</resource>200<resource>201<directory>config</directory>202</resource>203</resources>204
205<plugins>206<plugin>207<groupId>org.codehaus.mojo</groupId>208<artifactId>build-helper-maven-plugin</artifactId>209<executions>210<execution>211<id>add-sources</id>212<phase>generate-sources</phase>213<goals>214<goal>add-source</goal>215</goals>216<configuration>217<sources>218<source>${lgpl.folder}</source>219</sources>220</configuration>221</execution>222
223<execution>224<id>add-tests</id>225<phase>generate-test-sources</phase>226<goals>227<goal>add-test-source</goal>228</goals>229<configuration>230<sources>231<source>${lgpl.test.folder}</source>232</sources>233</configuration>234</execution>235</executions>236</plugin>237
238<plugin>239<groupId>org.apache.maven.plugins</groupId>240<artifactId>maven-deploy-plugin</artifactId>241<configuration>242<skip>true</skip>243</configuration>244</plugin>245
246<plugin>247<groupId>org.apache.maven.plugins</groupId>248<artifactId>maven-javadoc-plugin</artifactId>249
250<configuration>251<additionalDependencies>252<dependency>253<groupId>com.fasterxml.jackson.core</groupId>254<artifactId>jackson-core</artifactId>255<version>${jackson.version}</version>256</dependency>257
258<dependency>259<groupId>com.fasterxml.jackson.core</groupId>260<artifactId>jackson-databind</artifactId>261<version>${jackson.version}</version>262</dependency>263
264<dependency>265<groupId>com.fasterxml.jackson.core</groupId>266<artifactId>jackson-annotations</artifactId>267<version>${jackson.version}</version>268</dependency>269</additionalDependencies>270</configuration>271</plugin>272</plugins>273</build>274</project>275