| <!-- |
| 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 current 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.tamaya.ext</groupId> |
| <artifactId>tamaya-extensions</artifactId> |
| <version>0.4-incubating</version> |
| </parent> |
| |
| <artifactId>tamaya-microprofile</artifactId> |
| <name>Apache Tamaya Modules - Microprofile API</name> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <maven.compile.sourceLevel>1.8</maven.compile.sourceLevel> |
| <maven.compile.targetLevel>1.8</maven.compile.targetLevel> |
| <microprofile.config.version>1.3</microprofile.config.version> |
| <geronimo-atinject-1.0-spec.version>1.0</geronimo-atinject-1.0-spec.version> |
| <geronimo-jcdi-1.1-spec.version>1.0</geronimo-jcdi-1.1-spec.version> |
| <version.shrinkwrap.resolvers>2.2.6</version.shrinkwrap.resolvers> |
| <tamaya-version>${project.version}</tamaya-version> |
| <arquillian.version>1.1.13.Final</arquillian.version> |
| <arquillian-weld-embedded.version>2.0.0.Final</arquillian-weld-embedded.version> |
| <cdi-api.version>2.0</cdi-api.version> |
| <weld.version>3.0.1.Final</weld.version> |
| <deltaspike.version>1.1.0</deltaspike.version> |
| <openejb.version>4.7.1</openejb.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.revapi</groupId> |
| <artifactId>revapi-maven-plugin</artifactId> |
| <configuration> |
| <oldArtifacts> |
| <artifact>${project.groupId}:${project.artifactId}:${released_version}</artifact> |
| </oldArtifacts> |
| <newArtifacts> |
| <artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact> |
| </newArtifacts> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| <version>1.3.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tamaya</groupId> |
| <artifactId>tamaya-core</artifactId> |
| <version>${tamaya-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tamaya</groupId> |
| <artifactId>tamaya-api</artifactId> |
| <version>${tamaya-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tamaya.ext</groupId> |
| <artifactId>tamaya-functions</artifactId> |
| <version>${tamaya-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tamaya.ext</groupId> |
| <artifactId>tamaya-collections</artifactId> |
| <version>${tamaya-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tamaya.ext</groupId> |
| <artifactId>tamaya-events</artifactId> |
| <version>${tamaya-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.microprofile.config</groupId> |
| <artifactId>microprofile-config-api</artifactId> |
| <version>${microprofile.config.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.enterprise</groupId> |
| <artifactId>cdi-api</artifactId> |
| <version>${cdi-api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.weld.se</groupId> |
| <artifactId>weld-se-shaded</artifactId> |
| <version>${weld.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- Microprofile TCK support only --> |
| <dependency> |
| <groupId>org.jboss.arquillian.testng</groupId> |
| <artifactId>arquillian-testng-container</artifactId> |
| <version>${arquillian.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>6.9.9</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.resolver</groupId> |
| <artifactId>shrinkwrap-resolver-depchain</artifactId> |
| <version>${version.shrinkwrap.resolvers}</version> |
| <scope>test</scope> |
| <type>pom</type> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>TCK</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.microprofile.config</groupId> |
| <artifactId>microprofile-config-tck</artifactId> |
| <version>${microprofile.config.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.container</groupId> |
| <artifactId>arquillian-weld-embedded</artifactId> |
| <version>${arquillian-weld-embedded.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.20.1</version> |
| <configuration> |
| <suiteXmlFiles> |
| <suiteXmlFile>src/test/tck-suite.xml</suiteXmlFile> |
| </suiteXmlFiles> |
| <!-- These env variables are required for org.eclipse.configjsr.CDIPropertyNameMatchingTest --> |
| <environmentVariables> |
| <my_int_property>45</my_int_property> |
| <MY_BOOLEAN_PROPERTY>true</MY_BOOLEAN_PROPERTY> |
| <my_string_property>haha</my_string_property> |
| <MY_STRING_PROPERTY>woohoo</MY_STRING_PROPERTY> |
| </environmentVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <repositories> |
| <repository> |
| <id>jitpack.io</id> |
| <url>https://jitpack.io</url> |
| </repository> |
| </repositories> |
| |
| </project> |