Advertisement
ILyaCyclone

keycloak adapter pom

May 3rd, 2021
1,424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.   <modelVersion>4.0.0</modelVersion>
  5.   <parent>
  6.     <groupId>org.springframework.boot</groupId>
  7.     <artifactId>spring-boot-starter-parent</artifactId>
  8.     <version>2.4.2</version>
  9.     <relativePath/> <!-- lookup parent from repository -->
  10.   </parent>
  11.   <groupId>cyclone.keycloak.adapterclient</groupId>
  12.   <artifactId>keycloak-adapter-client</artifactId>
  13.   <version>0.0.1-SNAPSHOT</version>
  14.   <name>keycloak-adapter-client-test</name>
  15.   <description>Demo project for Spring Boot</description>
  16.  
  17.   <properties>
  18.     <java.version>1.8</java.version>
  19.   </properties>
  20.  
  21.   <dependencyManagement>
  22.     <dependencies>
  23.       <dependency>
  24.         <groupId>org.keycloak.bom</groupId>
  25.         <artifactId>keycloak-adapter-bom</artifactId>
  26.         <version>12.0.3</version>
  27.         <type>pom</type>
  28.         <scope>import</scope>
  29.       </dependency>
  30.     </dependencies>
  31.   </dependencyManagement>
  32.  
  33.   <dependencies>
  34.     <dependency>
  35.       <groupId>org.keycloak</groupId>
  36.       <artifactId>keycloak-spring-boot-starter</artifactId>
  37.     </dependency>
  38.     <!-- is this needed ??? -->
  39.     <dependency>
  40.       <groupId>org.keycloak</groupId>
  41.       <artifactId>keycloak-spring-security-adapter</artifactId>
  42.       <version>12.0.3</version>
  43.     </dependency>
  44.  
  45.  
  46.     <dependency>
  47.       <groupId>org.springframework.boot</groupId>
  48.       <artifactId>spring-boot-starter-web</artifactId>
  49.     </dependency>
  50.     <dependency>
  51.       <groupId>org.springframework.boot</groupId>
  52.       <artifactId>spring-boot-starter-security</artifactId>
  53.     </dependency>
  54.  
  55.     <dependency>
  56.       <groupId>org.springframework.boot</groupId>
  57.       <artifactId>spring-boot-devtools</artifactId>
  58.       <scope>runtime</scope>
  59.       <optional>true</optional>
  60.     </dependency>
  61.     <dependency>
  62.       <groupId>org.projectlombok</groupId>
  63.       <artifactId>lombok</artifactId>
  64.       <optional>true</optional>
  65.     </dependency>
  66.     <dependency>
  67.       <groupId>org.springframework.boot</groupId>
  68.       <artifactId>spring-boot-starter-test</artifactId>
  69.       <scope>test</scope>
  70.     </dependency>
  71.     <dependency>
  72.       <groupId>org.springframework.security</groupId>
  73.       <artifactId>spring-security-test</artifactId>
  74.       <scope>test</scope>
  75.     </dependency>
  76.  
  77.   </dependencies>
  78.  
  79.   <build>
  80.     <plugins>
  81.       <plugin>
  82.         <groupId>org.springframework.boot</groupId>
  83.         <artifactId>spring-boot-maven-plugin</artifactId>
  84.         <configuration>
  85.           <excludes>
  86.             <exclude>
  87.               <groupId>org.projectlombok</groupId>
  88.               <artifactId>lombok</artifactId>
  89.             </exclude>
  90.           </excludes>
  91.         </configuration>
  92.       </plugin>
  93.     </plugins>
  94.   </build>
  95.  
  96. </project>
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement