plugins: Indentation fix for pom.xml, add build/test rules for api discovery
Signed-off-by: Rohit Yadav <bhais...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/26d8113f Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/26d8113f Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/26d8113f Branch: refs/heads/regions Commit: 26d8113f997b5e665d6a71d3d084875f8efbc128 Parents: 179db40 Author: Rohit Yadav <bhais...@apache.org> Authored: Tue Jan 22 14:26:40 2013 -0800 Committer: Rohit Yadav <bhais...@apache.org> Committed: Tue Jan 22 14:28:31 2013 -0800 ---------------------------------------------------------------------- plugins/api/discovery/pom.xml | 64 ++++++++++++++++++++++++------------ 1 files changed, 43 insertions(+), 21 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/26d8113f/plugins/api/discovery/pom.xml ---------------------------------------------------------------------- diff --git a/plugins/api/discovery/pom.xml b/plugins/api/discovery/pom.xml index a61b275..1cfc5c2 100644 --- a/plugins/api/discovery/pom.xml +++ b/plugins/api/discovery/pom.xml @@ -20,25 +20,47 @@ 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-api-discovery</artifactId> - <name>Apache CloudStack Plugin - API Discovery</name> - <parent> - <groupId>org.apache.cloudstack</groupId> - <artifactId>cloudstack-plugins</artifactId> - <version>4.1.0-SNAPSHOT</version> - <relativePath>../../pom.xml</relativePath> - </parent> - <dependencies> - <dependency> - <groupId>org.apache.cloudstack</groupId> - <artifactId>cloud-api</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.cloudstack</groupId> - <artifactId>cloud-utils</artifactId> - <version>${project.version}</version> - </dependency> - </dependencies> + <modelVersion>4.0.0</modelVersion> + <artifactId>cloud-plugin-api-discovery</artifactId> + <name>Apache CloudStack Plugin - API Discovery</name> + <parent> + <groupId>org.apache.cloudstack</groupId> + <artifactId>cloudstack-plugins</artifactId> + <version>4.1.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <dependencies> + <dependency> + <groupId>org.apache.cloudstack</groupId> + <artifactId>cloud-api</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.cloudstack</groupId> + <artifactId>cloud-utils</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> + <build> + <defaultGoal>install</defaultGoal> + <sourceDirectory>src</sourceDirectory> + <testSourceDirectory>test</testSourceDirectory> + <testResources> + <testResource> + <directory>test/resources</directory> + </testResource> + </testResources> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine>-Xmx1024m</argLine> + <excludes> + <exclude>org/apache/cloudstack/discovery/integration/*</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> </project>