92 lines
3.5 KiB
XML
Executable file
92 lines
3.5 KiB
XML
Executable file
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>keycloak-parent</artifactId>
|
|
<groupId>org.keycloak</groupId>
|
|
<version>1.2.0.RC1-SNAPSHOT</version>
|
|
<relativePath>../../../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.keycloak.example.demo</groupId>
|
|
<artifactId>product-portal-fuse-example</artifactId>
|
|
<packaging>bundle</packaging>
|
|
|
|
<name>Product Portal - Secured in Karaf/Fuse</name>
|
|
<description/>
|
|
|
|
<properties>
|
|
<keycloak.osgi.export>
|
|
</keycloak.osgi.export>
|
|
<keycloak.osgi.import>
|
|
javax.xml.namespace,
|
|
org.eclipse.jetty.security;version="[8.1,10)",
|
|
org.eclipse.jetty.util.security;version="[8.1,10)",
|
|
org.apache.cxf.service.model;version="[2.7,3.2)",
|
|
org.apache.cxf.*;version="[2.7,3.2)",
|
|
org.keycloak.adapters.jetty;version="${project.version}",
|
|
org.keycloak.*;version="${project.version}",
|
|
*;resolution:=optional
|
|
</keycloak.osgi.import>
|
|
<keycloak.osgi.private>
|
|
org.keycloak.example.*
|
|
</keycloak.osgi.private>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jboss.spec.javax.servlet</groupId>
|
|
<artifactId>jboss-servlet-api_3.0_spec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Dependency for jaxws client to allow sending request to jaxws endpoint provided by cxf-jaxws-example -->
|
|
<dependency>
|
|
<groupId>org.keycloak.example.demo</groupId>
|
|
<artifactId>cxf-jaxws-example</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<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>
|