Keycloak
299 строк · 11.9 Кб
1<?xml version='1.0' encoding='UTF-8'?>
2<!--
3~ Copyright 2022 Red Hat, Inc. and/or its affiliates
4~ and other contributors as indicated by the @author tags.
5~
6~ Licensed under the Apache License, Version 2.0 (the "License");
7~ you may not use this file except in compliance with the License.
8~ 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<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">19<parent>20<groupId>org.keycloak</groupId>21<artifactId>galleon-feature-packs-parent</artifactId>22<version>999.0.0-SNAPSHOT</version>23</parent>24
25<modelVersion>4.0.0</modelVersion>26
27<groupId>org.keycloak</groupId>28<artifactId>keycloak-saml-adapter-galleon-pack</artifactId>29
30<name>Keycloak Galleon Feature Pack: SAML Adapter</name>31<packaging>pom</packaging>32
33<properties>34<feature-pack.resources.directory>${basedir}/../../saml-adapters/wildfly-adapter/wildfly-jakarta-modules/src/main/resources</feature-pack.resources.directory>35<license.directory>${project.build.directory}/resources/packages/docs.licenses/content/docs/licenses</license.directory>36</properties>37<dependencies>38<dependency>39<groupId>org.keycloak</groupId>40<artifactId>keycloak-adapter-spi</artifactId>41<exclusions>42<exclusion>43<groupId>*</groupId>44<artifactId>*</artifactId>45</exclusion>46</exclusions>47<scope>provided</scope>48</dependency>49<dependency>50<groupId>org.keycloak</groupId>51<artifactId>keycloak-common</artifactId>52<exclusions>53<exclusion>54<groupId>*</groupId>55<artifactId>*</artifactId>56</exclusion>57</exclusions>58<scope>provided</scope>59</dependency>60<dependency>61<groupId>org.keycloak</groupId>62<artifactId>keycloak-core</artifactId>63<exclusions>64<exclusion>65<groupId>*</groupId>66<artifactId>*</artifactId>67</exclusion>68</exclusions>69<scope>provided</scope>70</dependency>71<dependency>72<groupId>org.keycloak</groupId>73<artifactId>keycloak-crypto-default</artifactId>74<exclusions>75<exclusion>76<groupId>*</groupId>77<artifactId>*</artifactId>78</exclusion>79</exclusions>80<scope>provided</scope>81</dependency>82<dependency>83<groupId>org.keycloak</groupId>84<artifactId>keycloak-jboss-adapter-core</artifactId>85<exclusions>86<exclusion>87<groupId>*</groupId>88<artifactId>*</artifactId>89</exclusion>90</exclusions>91<scope>provided</scope>92</dependency>93<dependency>94<groupId>org.keycloak</groupId>95<artifactId>keycloak-saml-adapter-api-public</artifactId>96<exclusions>97<exclusion>98<groupId>*</groupId>99<artifactId>*</artifactId>100</exclusion>101</exclusions>102<scope>provided</scope>103</dependency>104<dependency>105<groupId>org.keycloak</groupId>106<artifactId>keycloak-saml-adapter-core-jakarta</artifactId>107<exclusions>108<exclusion>109<groupId>*</groupId>110<artifactId>*</artifactId>111</exclusion>112</exclusions>113<scope>provided</scope>114</dependency>115<dependency>116<groupId>org.keycloak</groupId>117<artifactId>keycloak-saml-core</artifactId>118<exclusions>119<exclusion>120<groupId>*</groupId>121<artifactId>*</artifactId>122</exclusion>123</exclusions>124<scope>provided</scope>125</dependency>126<dependency>127<groupId>org.keycloak</groupId>128<artifactId>keycloak-saml-core-public</artifactId>129<exclusions>130<exclusion>131<groupId>*</groupId>132<artifactId>*</artifactId>133</exclusion>134</exclusions>135<scope>provided</scope>136</dependency>137<dependency>138<groupId>org.keycloak</groupId>139<artifactId>keycloak-saml-undertow-adapter</artifactId>140<exclusions>141<exclusion>142<groupId>*</groupId>143<artifactId>*</artifactId>144</exclusion>145</exclusions>146<scope>provided</scope>147</dependency>148<dependency>149<groupId>org.keycloak</groupId>150<artifactId>keycloak-saml-wildfly-elytron-jakarta-adapter</artifactId>151<exclusions>152<exclusion>153<groupId>*</groupId>154<artifactId>*</artifactId>155</exclusion>156</exclusions>157<scope>provided</scope>158</dependency>159<dependency>160<groupId>org.keycloak</groupId>161<artifactId>keycloak-saml-wildfly-jakarta-subsystem</artifactId>162<exclusions>163<exclusion>164<groupId>*</groupId>165<artifactId>*</artifactId>166</exclusion>167</exclusions>168<scope>provided</scope>169</dependency>170<dependency>171<groupId>org.keycloak</groupId>172<artifactId>keycloak-undertow-adapter-spi</artifactId>173<exclusions>174<exclusion>175<groupId>*</groupId>176<artifactId>*</artifactId>177</exclusion>178</exclusions>179<scope>provided</scope>180</dependency>181<dependency>182<groupId>${ee.maven.groupId}</groupId>183<artifactId>wildfly-ee-galleon-pack</artifactId>184<version>${wildfly.version}</version>185<type>zip</type>186<scope>provided</scope>187</dependency>188</dependencies>189
190
191
192<build>193<plugins>194<plugin>195<groupId>org.apache.maven.plugins</groupId>196<artifactId>maven-resources-plugin</artifactId>197<executions>198<execution>199<id>copy-resources</id>200<phase>process-resources</phase>201<goals>202<goal>copy-resources</goal>203</goals>204<configuration>205<outputDirectory>${basedir}/target/resources</outputDirectory>206<resources>207<resource>208<directory>${basedir}/src/main/resources</directory>209</resource>210</resources>211</configuration>212</execution>213</executions>214</plugin>215<plugin>216<groupId>org.wildfly.galleon-plugins</groupId>217<artifactId>wildfly-galleon-maven-plugin</artifactId>218<version>${org.wildfly.galleon-plugins.version}</version>219<dependencies>220<!--221feature-spec-gen uses wildfly-embedded to generate the feature specs, hence the designated
222wildfly-embedded version must match the pack one
223-->
224<dependency>225<groupId>org.wildfly.core</groupId>226<artifactId>wildfly-embedded</artifactId>227<version>${wildfly.core.version}</version>228</dependency>229<!-- If you add a dependency on wildfly-embedded you need to bring your own transitives -->230<dependency>231<groupId>org.wildfly.common</groupId>232<artifactId>wildfly-common</artifactId>233<version>${wildfly.common.wildfly.aligned.version}</version>234</dependency>235</dependencies>236<executions>237<execution>238<id>keycloak-saml-adapter-galleon-pack-build</id>239<goals>240<goal>build-feature-pack</goal>241</goals>242<phase>compile</phase>243<configuration>244<wildfly-channel-resolution-mode>REQUIRED</wildfly-channel-resolution-mode>245<generate-channel-manifest>true</generate-channel-manifest>246<add-feature-packs-as-required-manifests>false</add-feature-packs-as-required-manifests>247<fork-embedded>false</fork-embedded>248</configuration>249</execution>250</executions>251</plugin>252<plugin>253<groupId>org.wildfly.maven.plugins</groupId>254<artifactId>licenses-plugin</artifactId>255<version>${org.wildfly.maven.plugins.licenses-plugin.version}</version>256<inherited>false</inherited>257<executions>258<execution>259<id>update-licenses-xml</id>260<goals>261<goal>insert-versions</goal>262</goals>263<phase>process-resources</phase>264<configuration>265<generateVersionProperty>true</generateVersionProperty>266<sortByGroupIdAndArtifactId>true</sortByGroupIdAndArtifactId>267<licensesConfigFiles>268<licensesConfigFile>${basedir}/target/resources/license/licenses.xml</licensesConfigFile>269</licensesConfigFiles>270<licensesOutputFile>${license.directory}/keycloak-saml-adapter-galleon-pack-licenses.xml</licensesOutputFile>271<excludedArtifacts>wildfly-common-ee-dependency-management|wildfly-ee-galleon-pack|wildfly-legacy-ee-bom|wildfly-standard-ee-bom\z</excludedArtifacts>272</configuration>273</execution>274</executions>275</plugin>276</plugins>277</build>278<profiles>279<profile>280<id>eap8-adapters</id>281<activation>282<property>283<name>eap8-adapters</name>284</property>285</activation>286<build>287<plugins>288<plugin>289<groupId>org.wildfly.galleon-plugins</groupId>290<artifactId>wildfly-galleon-maven-plugin</artifactId>291<configuration>292<config-file>wildfly-feature-pack-build-eap.xml</config-file>293</configuration>294</plugin>295</plugins>296</build>297</profile>298</profiles>299</project>