Adding a pom.xml for each tool

This commit is contained in:
Subrahmanyam Mandavilli 2015-12-21 16:21:03 +05:30
Родитель 94401a4055
Коммит 14694506e8
3 изменённых файлов: 116 добавлений и 56 удалений

Просмотреть файл

@ -3,62 +3,56 @@
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>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<outputDirectory>${session.executionRootDirectory}/_build</outputDirectory>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<executions>
<execution>
<id>prepare-unit-test-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${session.executionRootDirectory}/_build/testReports/codecoverage/jacoco.exec</destFile>
<append>true</append>
</configuration>
</execution>
<execution>
<id>pre-integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${session.executionRootDirectory}/_build/testReports/codecoverage/jacoco.exec</destFile>
<append>true</append>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>vmOpsTool</module>
</modules>
<parent>
<groupId>com.microsoft.vmware</groupId>
<artifactId>module-main</artifactId>
<version>1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>Tools</artifactId>
<groupId>com.microsoft.vmware.tools</groupId>
<artifactId>Tools</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.vmware</groupId>
<artifactId>vimjar</artifactId>
<version>6.0</version>
<scope>system</scope>
<systemPath>${env.SYSTEMDRIVE}/externalapis/vim25.jar</systemPath>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>./vmOpsTool</sourceDirectory>
<outputDirectory>../../_build/src/tools</outputDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<includes>
<include>**</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>../../_build</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

Просмотреть файл

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>com.microsoft.vmware.tools</groupId>
<artifactId>Tools</artifactId>
<version>1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.microsoft.vmware.tools.vmopstool</groupId>
<artifactId>vmOpsTool</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.vmware</groupId>
<artifactId>vimjar</artifactId>
<version>6.0</version>
<scope>system</scope>
<systemPath>${env.SYSTEMDRIVE}/externalapis/vim25.jar</systemPath>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>./</sourceDirectory>
<outputDirectory>../../../_build/src/tools/vmOpsTool</outputDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<includes>
<include>**</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>../../../_build/src/tasks/vmOperations</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<name>vmOpsTool</name>
<description>This project contains all the source code related to manage VM operations on VMWare vCenter Server</description>
</project>

Просмотреть файл

@ -14,8 +14,8 @@
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.microsoft.vmware.tools</groupId>
<artifactId>Tools</artifactId>
<groupId>com.microsoft.vmware.tools.vmopstool</groupId>
<artifactId>vmOpsTool</artifactId>
<version>1.0</version>
<type>jar</type>
</dependency>
@ -25,8 +25,8 @@
<version>4.12</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
</dependency>
</dependencies>