| <!-- | |
| 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> | |
| <artifactId>cloud-plugin-hypervisor-kvm</artifactId> | |
| <name>Apache CloudStack Plugin - Hypervisor KVM</name> | |
| <parent> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloudstack-plugins</artifactId> | |
| <version>24.0.0-SNAPSHOT</version> | |
| <relativePath>../../pom.xml</relativePath> | |
| </parent> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.codehaus.groovy</groupId> | |
| <artifactId>groovy-all</artifactId> | |
| <version>${cs.groovy.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloud-agent</artifactId> | |
| <version>${project.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.cxf</groupId> | |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.libvirt</groupId> | |
| <artifactId>libvirt</artifactId> | |
| <version>${cs.libvirt-java.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloud-plugin-network-ovs</artifactId> | |
| <version>${project.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.cxf</groupId> | |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloud-engine-storage-configdrive</artifactId> | |
| <version>${project.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.cxf</groupId> | |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloud-engine-storage</artifactId> | |
| <version>${project.version}</version> | |
| <scope>compile</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.cxf</groupId> | |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.ceph</groupId> | |
| <artifactId>rados</artifactId> | |
| <version>${cs.rados-java.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.github.jai-imageio</groupId> | |
| <artifactId>jai-imageio-core</artifactId> | |
| <version>1.4.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.dynatrace.hash4j</groupId> | |
| <artifactId>hash4j</artifactId> | |
| <version>0.29.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.mikesamuel</groupId> | |
| <artifactId>json-sanitizer</artifactId> | |
| <version>1.2.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.linbit.linstor.api</groupId> | |
| <artifactId>java-linstor</artifactId> | |
| <version>${cs.java-linstor.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-core</artifactId> | |
| <version>${cs.jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-annotations</artifactId> | |
| <version>${cs.jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-databind</artifactId> | |
| <version>${cs.jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.datatype</groupId> | |
| <artifactId>jackson-datatype-jsr310</artifactId> | |
| <version>${cs.jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.module</groupId> | |
| <artifactId>jackson-module-jaxb-annotations</artifactId> | |
| <version>${cs.jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.java.dev.jna</groupId> | |
| <artifactId>jna</artifactId> | |
| <version>${cs.jna.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.java.dev.jna</groupId> | |
| <artifactId>jna-platform</artifactId> | |
| <version>${cs.jna.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloud-plugin-storage-volume-scaleio</artifactId> | |
| <version>${project.version}</version> | |
| <scope>compile</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.cxf</groupId> | |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.json</groupId> | |
| <artifactId>json</artifactId> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>copy-dependencies</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>copy-dependencies</goal> | |
| </goals> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/dependencies</outputDirectory> | |
| <includeScope>runtime</includeScope> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <!-- libvirt tests only build on Linux. The mocking fails before we can Assert OS name, so skip entirely --> | |
| <id>skip.libvirt.tests</id> | |
| <activation> | |
| <property> | |
| <name>skip.libvirt.tests</name> | |
| <value>true</value> | |
| </property> | |
| </activation> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>copy-dependencies</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>copy-dependencies</goal> | |
| </goals> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/dependencies</outputDirectory> | |
| <includeScope>runtime</includeScope> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <excludes> | |
| <exclude>**/QemuImg*.java</exclude> | |
| <exclude>**/LibvirtComputingResourceTest.java</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |