89 lines
3.5 KiB
XML
Executable file
89 lines
3.5 KiB
XML
Executable file
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
|
~ and other contributors as indicated by the @author tags.
|
|
~
|
|
~ Licensed 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/maven-v4_0_0.xsd">
|
|
<parent>
|
|
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<version>12.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>fuse-example-cxf-jaxrs-fuse7-undertow</artifactId>
|
|
<packaging>bundle</packaging>
|
|
<name>CXF JAXRS Example - Secured in Karaf/Fuse 7 on Undertow</name>
|
|
|
|
<properties>
|
|
<keycloak.osgi.export>
|
|
</keycloak.osgi.export>
|
|
<keycloak.osgi.import>
|
|
javax.ws.rs;version="[2,3)",
|
|
META-INF.cxf;version="[2.7,3.3)",
|
|
META-INF.cxf.osgi;version="[2.7,3.3)";resolution:=optional,
|
|
org.apache.cxf.transport.http;version="[2.7,3.3)",
|
|
org.apache.cxf.*;version="[2.7,3.3)",
|
|
com.fasterxml.jackson.jaxrs.json;version="[2.8,3)",
|
|
org.keycloak.*;version="${project.version}",
|
|
*;resolution:=optional
|
|
</keycloak.osgi.import>
|
|
<keycloak.osgi.private>
|
|
org.keycloak.example.rs.*
|
|
</keycloak.osgi.private>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
<version>${cxf.jaxrs.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
<version>${cxf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http-undertow</artifactId>
|
|
<version>${cxf.undertow.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<instructions>
|
|
<Bundle-Name>${project.name}</Bundle-Name>
|
|
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
|
|
<Import-Package>${keycloak.osgi.import}</Import-Package>
|
|
<Private-Package>${keycloak.osgi.private}</Private-Package>
|
|
<Export-Package>${keycloak.osgi.export}</Export-Package>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|