|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | + ~ contributor license agreements. See the NOTICE file distributed with |
| 5 | + ~ this work for additional information regarding copyright ownership. |
| 6 | + ~ The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 | + ~ (the "License"); you may not use this file except in compliance with |
| 8 | + ~ the License. You may obtain a copy of the License at |
| 9 | + ~ |
| 10 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + ~ |
| 12 | + ~ Unless required by applicable law or agreed to in writing, software |
| 13 | + ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + ~ See the License for the specific language governing permissions and |
| 16 | + ~ limitations under the License. |
| 17 | + --> |
| 18 | + |
| 19 | +<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"> |
| 20 | + <modelVersion>4.0.0</modelVersion> |
| 21 | + <parent> |
| 22 | + <groupId>org.apache.unomi</groupId> |
| 23 | + <artifactId>unomi-root</artifactId> |
| 24 | + <version>3.1.0-SNAPSHOT</version> |
| 25 | + </parent> |
| 26 | + <artifactId>unomi-distribution</artifactId> |
| 27 | + <name>Apache Unomi :: Distribution</name> |
| 28 | + <description>Apache Unomi Distribution's Karaf features assemblies for the Apache Unomi Context Server</description> |
| 29 | + <packaging>kar</packaging> |
| 30 | + |
| 31 | + <dependencyManagement> |
| 32 | + <dependencies> |
| 33 | + <dependency> |
| 34 | + <groupId>org.apache.unomi</groupId> |
| 35 | + <artifactId>unomi-bom</artifactId> |
| 36 | + <version>${project.version}</version> |
| 37 | + <type>pom</type> |
| 38 | + <scope>import</scope> |
| 39 | + </dependency> |
| 40 | + </dependencies> |
| 41 | + </dependencyManagement> |
| 42 | + |
| 43 | + <dependencies> |
| 44 | + <dependency> |
| 45 | + <groupId>org.apache.unomi</groupId> |
| 46 | + <artifactId>unomi-api</artifactId> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>org.apache.unomi</groupId> |
| 50 | + <artifactId>unomi-common</artifactId> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>org.apache.unomi</groupId> |
| 54 | + <artifactId>unomi-wab</artifactId> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>org.apache.unomi</groupId> |
| 58 | + <artifactId>unomi-rest</artifactId> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>org.apache.unomi</groupId> |
| 62 | + <artifactId>unomi-metrics</artifactId> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>org.apache.unomi</groupId> |
| 66 | + <artifactId>unomi-services</artifactId> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.apache.unomi</groupId> |
| 70 | + <artifactId>unomi-scripting</artifactId> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>org.apache.unomi</groupId> |
| 74 | + <artifactId>unomi-persistence-elasticsearch-core</artifactId> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.apache.unomi</groupId> |
| 78 | + <artifactId>unomi-persistence-elasticsearch-conditions</artifactId> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>org.apache.unomi</groupId> |
| 82 | + <artifactId>unomi-persistence-opensearch-core</artifactId> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>org.apache.unomi</groupId> |
| 86 | + <artifactId>unomi-persistence-opensearch-conditions</artifactId> |
| 87 | + </dependency> |
| 88 | + |
| 89 | + <!-- plugins --> |
| 90 | + <dependency> |
| 91 | + <groupId>org.apache.unomi</groupId> |
| 92 | + <artifactId>unomi-plugins-base</artifactId> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>org.apache.unomi</groupId> |
| 96 | + <artifactId>unomi-plugins-request</artifactId> |
| 97 | + </dependency> |
| 98 | + <dependency> |
| 99 | + <groupId>org.apache.unomi</groupId> |
| 100 | + <artifactId>unomi-plugins-mail</artifactId> |
| 101 | + </dependency> |
| 102 | + <dependency> |
| 103 | + <groupId>org.apache.unomi</groupId> |
| 104 | + <artifactId>unomi-plugins-optimization-test</artifactId> |
| 105 | + </dependency> |
| 106 | + |
| 107 | + <!-- extensions --> |
| 108 | + <dependency> |
| 109 | + <groupId>org.apache.unomi</groupId> |
| 110 | + <artifactId>cxs-lists-extension-services</artifactId> |
| 111 | + </dependency> |
| 112 | + <dependency> |
| 113 | + <groupId>org.apache.unomi</groupId> |
| 114 | + <artifactId>cxs-lists-extension-rest</artifactId> |
| 115 | + </dependency> |
| 116 | + <dependency> |
| 117 | + <groupId>org.apache.unomi</groupId> |
| 118 | + <artifactId>cxs-lists-extension-actions</artifactId> |
| 119 | + </dependency> |
| 120 | + <dependency> |
| 121 | + <groupId>org.apache.unomi</groupId> |
| 122 | + <artifactId>cxs-geonames-services</artifactId> |
| 123 | + </dependency> |
| 124 | + <dependency> |
| 125 | + <groupId>org.apache.unomi</groupId> |
| 126 | + <artifactId>cxs-geonames-rest</artifactId> |
| 127 | + </dependency> |
| 128 | + <dependency> |
| 129 | + <groupId>org.apache.unomi</groupId> |
| 130 | + <artifactId>cxs-privacy-extension-services</artifactId> |
| 131 | + </dependency> |
| 132 | + <dependency> |
| 133 | + <groupId>org.apache.unomi</groupId> |
| 134 | + <artifactId>cxs-privacy-extension-rest</artifactId> |
| 135 | + </dependency> |
| 136 | + <dependency> |
| 137 | + <groupId>org.apache.unomi</groupId> |
| 138 | + <artifactId>unomi-json-schema-services</artifactId> |
| 139 | + </dependency> |
| 140 | + <dependency> |
| 141 | + <groupId>org.apache.unomi</groupId> |
| 142 | + <artifactId>unomi-json-schema-rest</artifactId> |
| 143 | + </dependency> |
| 144 | + <dependency> |
| 145 | + <groupId>org.apache.unomi</groupId> |
| 146 | + <artifactId>shell-dev-commands</artifactId> |
| 147 | + </dependency> |
| 148 | + <dependency> |
| 149 | + <groupId>org.apache.unomi</groupId> |
| 150 | + <artifactId>unomi-web-tracker-wab</artifactId> |
| 151 | + </dependency> |
| 152 | + |
| 153 | + <dependency> |
| 154 | + <groupId>joda-time</groupId> |
| 155 | + <artifactId>joda-time</artifactId> |
| 156 | + </dependency> |
| 157 | + <!-- Apache HTTP Client --> |
| 158 | + <dependency> |
| 159 | + <groupId>org.apache.httpcomponents</groupId> |
| 160 | + <artifactId>httpcore-osgi</artifactId> |
| 161 | + </dependency> |
| 162 | + <dependency> |
| 163 | + <groupId>org.apache.httpcomponents</groupId> |
| 164 | + <artifactId>httpclient-osgi</artifactId> |
| 165 | + </dependency> |
| 166 | + </dependencies> |
| 167 | + <build> |
| 168 | + <pluginManagement> |
| 169 | + <plugins> |
| 170 | + <plugin> |
| 171 | + <groupId>org.apache.karaf.tooling</groupId> |
| 172 | + <artifactId>karaf-maven-plugin</artifactId> |
| 173 | + <extensions>true</extensions> |
| 174 | + <configuration> |
| 175 | + <includeTransitiveDependency>false</includeTransitiveDependency> |
| 176 | + </configuration> |
| 177 | + </plugin> |
| 178 | + </plugins> |
| 179 | + </pluginManagement> |
| 180 | + |
| 181 | + <plugins> |
| 182 | + <plugin> |
| 183 | + <groupId>org.apache.karaf.tooling</groupId> |
| 184 | + <artifactId>karaf-maven-plugin</artifactId> |
| 185 | + <configuration> |
| 186 | + <startLevel>85</startLevel> |
| 187 | + </configuration> |
| 188 | + <executions> |
| 189 | + <execution> |
| 190 | + <id>generate-features</id> |
| 191 | + <phase>generate-resources</phase> |
| 192 | + <goals> |
| 193 | + <goal>features-generate-descriptor</goal> |
| 194 | + </goals> |
| 195 | + <configuration> |
| 196 | + <enableGeneration>true</enableGeneration> |
| 197 | + </configuration> |
| 198 | + </execution> |
| 199 | + <execution> |
| 200 | + <id>verify</id> |
| 201 | + <phase>process-resources</phase> |
| 202 | + <goals> |
| 203 | + <goal>verify</goal> |
| 204 | + </goals> |
| 205 | + <configuration> |
| 206 | + <descriptors> |
| 207 | + <descriptor>mvn:org.apache.karaf.features/standard/${karaf.version}/xml/features</descriptor> |
| 208 | + <descriptor>mvn:org.apache.karaf.features/enterprise/${karaf.version}/xml/features</descriptor> |
| 209 | + <descriptor>file:${project.build.directory}/feature/feature.xml</descriptor> |
| 210 | + </descriptors> |
| 211 | + <distribution>org.apache.karaf:apache-karaf:zip:${karaf.version}</distribution> |
| 212 | + <javase>17</javase> |
| 213 | + <framework> |
| 214 | + <feature>framework</feature> |
| 215 | + </framework> |
| 216 | + |
| 217 | + <features> |
| 218 | + <feature>unomi-distribution-opensearch</feature> |
| 219 | + <feature>unomi-distribution-elasticsearch</feature> |
| 220 | + </features> |
| 221 | + |
| 222 | + <ignoreMissingConditions>false</ignoreMissingConditions> |
| 223 | + </configuration> |
| 224 | + </execution> |
| 225 | + </executions> |
| 226 | + </plugin> |
| 227 | + </plugins> |
| 228 | + </build> |
| 229 | +</project> |
0 commit comments