| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you 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 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.shiro.integrationtests.jaxrs</groupId> |
| <artifactId>shiro-its-jaxrs</artifactId> |
| <version>2.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>shiro-its-jaxrs-openliberty</artifactId> |
| <name>Apache Shiro :: ITs :: JAX-RS :: OpenLiberty</name> |
| |
| <properties> |
| <module.name>its.jaxrs.openliberty</module.name> |
| <liberty.var.default.http.port>9080</liberty.var.default.http.port> |
| <liberty.var.default.https.port>9443</liberty.var.default.https.port> |
| <liberty.var.app.filename>shiro-its-jaxrs-app-${project.version}</liberty.var.app.filename> |
| <liberty.var.app.context.root>/</liberty.var.app.context.root> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.shiro.integrationtests.jaxrs</groupId> |
| <artifactId>shiro-its-jaxrs-app</artifactId> |
| <type>war</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.shiro.integrationtests.jaxrs</groupId> |
| <artifactId>shiro-its-jaxrs-tests</artifactId> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>io.openliberty.tools</groupId> |
| <artifactId>liberty-maven-plugin</artifactId> |
| <version>3.10.3</version> |
| <configuration> |
| <serverName>shiro-its-jaxrs-openliberty</serverName> |
| <features> |
| <acceptLicense>true</acceptLicense> |
| <feature>jaxrs-2.1</feature> |
| <feature>servlet-4.0</feature> |
| <feature>cdi-2.0</feature> |
| <feature>jsonb-1.0</feature> |
| </features> |
| <deployPackages>dependencies</deployPackages> |
| <looseApplication>false</looseApplication> |
| <copyDependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>1.7.30</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j2-impl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.30</version> |
| </dependency> |
| </copyDependencies> |
| </configuration> |
| <executions> |
| <execution> |
| <id>test-start</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>create</goal> |
| <goal>deploy</goal> |
| <goal>install-feature</goal> |
| <goal>start</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>test-stop</id> |
| <phase>post-integration-test</phase> |
| <goals> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <http.port>${liberty.var.default.http.port}</http.port> |
| <war.name>${liberty.var.app.context.root}</war.name> |
| <app.context.root>${liberty.var.app.context.root}</app.context.root> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>jdk17</id> |
| <activation> |
| <jdk>[16,)</jdk> |
| </activation> |
| <properties> |
| <surefire.argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens |
| java.base/java.net=ALL-UNNAMED |
| </surefire.argLine> |
| <failsafe.argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens |
| java.base/java.net=ALL-UNNAMED |
| </failsafe.argLine> |
| </properties> |
| </profile> |
| </profiles> |
| |
| </project> |