| <?xml version="1.0"?> |
| <!-- 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. |
| See accompanying LICENSE file. --> |
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.ambari</groupId> |
| <artifactId>ambari-project</artifactId> |
| <version>2.7.4.0.0</version> |
| <relativePath>../ambari-project</relativePath> |
| </parent> |
| <groupId>org.apache.ambari</groupId> |
| <artifactId>ambari-funtest</artifactId> |
| <version>2.7.4.0.0</version> |
| <packaging>${packagingFormat}</packaging> |
| <name>Ambari Functional Tests</name> |
| <description>Ambari Functional Tests</description> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.vafer</groupId> |
| <artifactId>jdeb</artifactId> |
| <version>1.0.1</version> |
| <executions> |
| <execution> |
| <!--Stub execution on direct plugin call - workaround for ambari deb build process--> |
| <id>stub-execution</id> |
| <phase>none</phase> |
| <goals> |
| <goal>jdeb</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <skip>true</skip> |
| <attach>false</attach> |
| <submodules>false</submodules> |
| <controlDir>${project.basedir}/../src/main/package/deb/control</controlDir> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>${assemblydescriptor}</descriptor> |
| </descriptors> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| <executions> |
| <execution> |
| <id>build-tarball</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>**/*.java</include> |
| </includes> |
| <forkMode>once</forkMode> |
| </configuration> |
| <executions> |
| <!-- Will display BUILD FAILURE if build fails or any test fails --> |
| <execution> |
| <id>run-verify</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/test/resources/version</exclude> |
| <exclude>src/test/resources/os_family.json</exclude> |
| <exclude>src/test/resources/stacks/**</exclude> |
| <exclude>derby.log</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>linux</id> |
| <activation> |
| <os> |
| <family>unix</family> |
| </os> |
| </activation> |
| <properties> |
| <envClassifier>linux</envClassifier> |
| <dirsep>/</dirsep> |
| <pathsep>:</pathsep> |
| <executable.shell>sh</executable.shell> |
| <fileextension.shell>sh</fileextension.shell> |
| <fileextension.dot.shell-default></fileextension.dot.shell-default> |
| <assemblydescriptor>src/main/assemblies/empty.xml</assemblydescriptor> |
| <packagingFormat>jar</packagingFormat> |
| </properties> |
| </profile> |
| <profile> |
| <id>windows</id> |
| <activation> |
| <os> |
| <family>win</family> |
| </os> |
| </activation> |
| <properties> |
| <envClassifier>win</envClassifier> |
| <dirsep>\</dirsep> |
| <pathsep>;</pathsep> |
| <executable.shell>cmd</executable.shell> |
| <fileextension.shell>cmd</fileextension.shell> |
| <fileextension.dot.shell-default></fileextension.dot.shell-default> |
| <assemblydescriptor>src/main/assemblies/empty.xml</assemblydescriptor> |
| <packagingFormat>jar</packagingFormat> |
| </properties> |
| </profile> |
| </profiles> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.inject.extensions</groupId> |
| <artifactId>guice-persist</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.inject</groupId> |
| <artifactId>guice</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ambari</groupId> |
| <artifactId>ambari-server</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </dependency> |
| </dependencies> |
| </project> |