| <!-- |
| ! 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> |
| <artifactId>apache-asterixdb</artifactId> |
| <groupId>org.apache.asterix</groupId> |
| <version>0.9.8.2-SNAPSHOT</version> |
| </parent> |
| <artifactId>asterix-podman</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>asterix-server</artifactId> |
| <version>${project.version}</version> |
| <type>deb</type> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.asterix</groupId> |
| <artifactId>asterix-app</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.asterix</groupId> |
| <artifactId>asterix-test-framework</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers</artifactId> |
| <version>1.17.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <properties> |
| <root.dir>${basedir}/..</root.dir> |
| </properties> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| <comments>A business-friendly OSS license</comments> |
| </license> |
| </licenses> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <exclude>src/test/resources/setup.sh</exclude> |
| <exclude>src/test/resources/passwd</exclude> |
| <exclude>src/test/resources/socktest/Containerfile</exclude> |
| <exclude>src/test/resources/testenv.conf</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>podman.tests</id> |
| <properties> |
| <test.excludes>**/*.java</test.excludes> |
| <itest.includes>**/PodmanPythonFunctionIT.java</itest.includes> |
| <failIfNoTests>false</failIfNoTests> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>nl.lexemmens</groupId> |
| <artifactId>podman-maven-plugin</artifactId> |
| <version>1.8.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>build</goal> |
| </goals> |
| <phase>generate-test-resources</phase> |
| </execution> |
| </executions> |
| <configuration> |
| <skipAuth>true</skipAuth> |
| <images> |
| <image> |
| <name>asterixdb/socktest</name> |
| <build> |
| <pull>false</pull> |
| <createLatestTag>true</createLatestTag> |
| <containerFileDir>src/test/resources/socktest</containerFileDir> |
| </build> |
| </image> |
| </images> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-external-data-resources</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>target/</outputDirectory> |
| <overwrite>true</overwrite> |
| <resources> |
| <resource> |
| <directory>../asterix-server/target</directory> |
| <includes> |
| <include>asterix-server*.deb</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |