pom.xml

77 lines | 3.07 kB Blame History Raw Download
<?xml version="1.0"?>
<!--
~ 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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <parent>
        <groupId>org.keycloak.testsuite</groupId>
        <artifactId>integration-arquillian-servers-auth-server-jboss</artifactId>
        <version>3.4.1.CR1</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <packaging>pom</packaging>

    <artifactId>integration-arquillian-servers-auth-server-eap</artifactId>

    <name>Auth Server - JBoss - EAP</name>

    <properties>
        <auth.server.jboss>eap</auth.server.jboss>
        <auth.server.home>${project.build.directory}/unpacked/${product.unpacked.folder.name}</auth.server.home>

        <!--server-dist-->
        <auth.server.dist.version>${product.version}</auth.server.dist.version>
        <auth.server.dist.unpacked.folder.name>${product.unpacked.folder.name}</auth.server.dist.unpacked.folder.name>

        <!--server-overlay-->
        <auth.server.overlay.version>${product.version}</auth.server.overlay.version>
        <overlaid.container.groupId>org.jboss.eap</overlaid.container.groupId>
        <overlaid.container.version>${eap.version}</overlaid.container.version>
        <overlaid.container.unpacked.folder.name>jboss-eap-7.0</overlaid.container.unpacked.folder.name>
    </properties>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-enforcer-plugin</artifactId>
                <executions>
                    <execution>
                        <id>enforce-auth-server-jboss-profile</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <skip>false</skip>
                            <rules>
                                <requireProperty>
                                    <property>product.version</property>
                                </requireProperty>
                                <requireProperty>
                                    <property>product.unpacked.folder.name</property>
                                </requireProperty>
                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>