| <!-- | |
| 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-utils</artifactId> | |
| <name>Apache CloudStack Utils</name> | |
| <parent> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloudstack</artifactId> | |
| <version>4.22.0.0-SNAPSHOT</version> | |
| <relativePath>../pom.xml</relativePath> | |
| </parent> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloud-framework-managed-context</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.cloudstack</groupId> | |
| <artifactId>cloud-framework-ca</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-context</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjweaver</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.logging.log4j</groupId> | |
| <artifactId>log4j-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.logging.log4j</groupId> | |
| <artifactId>log4j-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>cglib</groupId> | |
| <artifactId>cglib-nodep</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-validator</groupId> | |
| <artifactId>commons-validator</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-codec</groupId> | |
| <artifactId>commons-codec</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.bouncycastle</groupId> | |
| <artifactId>bcprov-jdk15on</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.bouncycastle</groupId> | |
| <artifactId>bcpkix-jdk15on</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.bouncycastle</groupId> | |
| <artifactId>bctls-jdk15on</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.jcraft</groupId> | |
| <artifactId>jsch</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jasypt</groupId> | |
| <artifactId>jasypt</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jenkins-ci</groupId> | |
| <artifactId>trilead-ssh2</artifactId> | |
| <version>${cs.trilead.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.amazonaws</groupId> | |
| <artifactId>aws-java-sdk-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.amazonaws</groupId> | |
| <artifactId>aws-java-sdk-s3</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.googlecode.java-ipv6</groupId> | |
| <artifactId>java-ipv6</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-configuration</groupId> | |
| <artifactId>commons-configuration</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.annotation</groupId> | |
| <artifactId>javax.annotation-api</artifactId> | |
| <version>${cs.javax.annotation.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>javax.servlet-api</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.cronutils</groupId> | |
| <artifactId>cron-utils</artifactId> | |
| <version>${cs.cron-utils.version}</version> | |
| </dependency> | |
| <!-- Test dependency in mysql for db tests --> | |
| <dependency> | |
| <groupId>com.mysql</groupId> | |
| <artifactId>mysql-connector-j</artifactId> | |
| <version>${cs.mysql.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| <scope>compile</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-lang3</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.reflections</groupId> | |
| <artifactId>reflections</artifactId> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>xml-apis</groupId> | |
| <artifactId>xml-apis</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.owasp.esapi</groupId> | |
| <artifactId>esapi</artifactId> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>log4j</groupId> | |
| <artifactId>log4j</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>xml-apis</groupId> | |
| <artifactId>xml-apis</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>xml-apis</groupId> | |
| <artifactId>xml-apis-ext</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>xerces</groupId> | |
| <artifactId>xmlParserAPIs</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>commons-beanutils</groupId> | |
| <artifactId>commons-beanutils-core</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.opensaml</groupId> | |
| <artifactId>opensaml</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-net</groupId> | |
| <artifactId>commons-net</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava-testlib</artifactId> | |
| <version>${cs.guava-testlib.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-databind</artifactId> | |
| <version>${cs.jackson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-compress</artifactId> | |
| <version>${cs.commons-compress.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.mail</groupId> | |
| <artifactId>mail</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-email</artifactId> | |
| <version>1.5</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.openjdk.nashorn</groupId> | |
| <artifactId>nashorn-core</artifactId> | |
| <version>15.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-cli</groupId> | |
| <artifactId>commons-cli</artifactId> | |
| <version>${cs.commons-cli.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.crypto.tink</groupId> | |
| <artifactId>tink</artifactId> | |
| <version>${cs.tink.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-collections4</artifactId> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>test-jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <excludes> | |
| <exclude>com/cloud/utils/testcase/*TestCase*</exclude> | |
| <exclude>com/cloud/utils/db/*Test*</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <version>3.0.0</version> | |
| <executions> | |
| <execution> | |
| <id>rebuild-war</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <finalName>${project.artifactId}-${project.version}-bundled</finalName> | |
| <createDependencyReducedPom>false</createDependencyReducedPom> | |
| <artifactSet> | |
| <includes> | |
| <include>org.apache.logging.log4j:log4j-core</include> | |
| <include>org.apache.logging.log4j:log4j-api</include> | |
| <include>com.google.crypto.tink:tink</include> | |
| <include>com.google.protobuf:protobuf-java</include> | |
| <include>commons-cli:commons-cli</include> | |
| <include>commons-codec:commons-codec</include> | |
| <include>org.apache.commons:commons-lang3</include> | |
| <include>org.jasypt:jasypt</include> | |
| </includes> | |
| </artifactSet> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>integration</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-failsafe-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>integration-test</goal> | |
| <goal>verify</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |