| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to You under the Apache License, Version 2.0 |
| ~ (the "License"); you may not use this file except in compliance with |
| ~ the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.unomi</groupId> |
| <artifactId>unomi-graphql</artifactId> |
| <version>3.1.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>cdp-graphql-feature</artifactId> |
| <name>Apache Unomi :: GraphQL API :: Karaf Feature</name> |
| <description>Apache Unomi Context GraphQL API Karaf Feature</description> |
| <packaging>kar</packaging> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.unomi</groupId> |
| <artifactId>unomi-bom</artifactId> |
| <version>${project.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr4-runtime</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.graphql-java</groupId> |
| <artifactId>java-dataloader</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.reactivestreams</groupId> |
| <artifactId>reactive-streams</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.graphql-java</groupId> |
| <artifactId>graphql-java</artifactId> |
| <version>${graphql.java.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.github.graphql-java</groupId> |
| <artifactId>graphql-java-annotations</artifactId> |
| <version>${graphql.java.annotations.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.graphql-java</groupId> |
| <artifactId>graphql-java-extended-scalars</artifactId> |
| <version>${graphql.java.extended.scalars.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.reactivex.rxjava2</groupId> |
| <artifactId>rxjava</artifactId> |
| <version>${reactivex.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty.websocket</groupId> |
| <artifactId>websocket-server</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util-ajax</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.unomi</groupId> |
| <artifactId>cdp-graphql-api-impl</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.karaf.tooling</groupId> |
| <artifactId>karaf-maven-plugin</artifactId> |
| <version>${karaf.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <startLevel>80</startLevel> |
| <includeTransitiveDependency>false</includeTransitiveDependency> |
| </configuration> |
| <executions> |
| <execution> |
| <id>generate-features</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>features-generate-descriptor</goal> |
| </goals> |
| <configuration> |
| <enableGeneration>true</enableGeneration> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify-feature</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>mvn:org.apache.karaf.features/standard/${karaf.version}/xml/features</descriptor> |
| <descriptor>mvn:org.apache.karaf.features/enterprise/${karaf.version}/xml/features</descriptor> |
| <descriptor>mvn:org.apache.unomi/unomi-kar/${project.version}/xml/features</descriptor> |
| <descriptor>file:${project.build.directory}/feature/feature.xml</descriptor> |
| </descriptors> |
| <distribution>org.apache.karaf:apache-karaf:zip:${karaf.version}</distribution> |
| <javase>17</javase> |
| <framework> |
| <feature>framework</feature> |
| </framework> |
| <features> |
| <feature>unomi-services</feature> |
| <feature>wrap</feature> |
| <feature>cdp-graphql-feature</feature> |
| </features> |
| <ignoreMissingConditions>true</ignoreMissingConditions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| </build> |
| |
| </project> |