pom.xml

52 lines | 1.95 kB Blame History Raw Download
<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">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>keycloak-examples-saml-parent</artifactId>
        <groupId>org.keycloak</groupId>
        <version>1.2.0.RC1-SNAPSHOT</version>
    </parent>

    <artifactId>keycloak-example-saml-federation-saml-sp-post-basic</artifactId>

    <packaging>war</packaging>

    <name>keycloak-example-saml-federation-saml-sp-post-basic</name>

    <build>
        <!-- Set the name of the war, used as the context root when the app is deployed -->
        <finalName>${project.artifactId}</finalName>
        <plugins>
            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>

                    <!-- We need to get the configuration resources for the provided target container. -->
                    <classifier>${target.container}</classifier>
                    <webResources>
                        <resource>
                            <directory>${basedir}/conf/${target.container}</directory>
                        </resource>
                    </webResources>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.jboss.as.plugins</groupId>
                <artifactId>jboss-as-maven-plugin</artifactId>
                <configuration>
                    <skip>false</skip>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.wildfly.plugins</groupId>
                <artifactId>wildfly-maven-plugin</artifactId>
                <configuration>
                    <skip>false</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>