Everything now builds
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0c2a4b25 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0c2a4b25 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0c2a4b25 Branch: refs/heads/master Commit: 0c2a4b251ad876493b1223b1cf72a768d7d2b86f Parents: be5e5cc Author: Alex Huang <alex.hu...@citrix.com> Authored: Thu Dec 12 12:23:09 2013 -0800 Committer: Alex Huang <alex.hu...@citrix.com> Committed: Thu Dec 12 12:26:08 2013 -0800 ---------------------------------------------------------------------- deps/XenServerJava/pom.xml | 33 ++++++++++++++++++++++++++++++--- pom.xml | 2 +- 2 files changed, 31 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0c2a4b25/deps/XenServerJava/pom.xml ---------------------------------------------------------------------- diff --git a/deps/XenServerJava/pom.xml b/deps/XenServerJava/pom.xml index a621ab3..dbd2e86 100644 --- a/deps/XenServerJava/pom.xml +++ b/deps/XenServerJava/pom.xml @@ -25,7 +25,7 @@ <relativePath>../../pom.xml</relativePath> </parent> <artifactId>xapi</artifactId> - <version>5.6.100-1-SNAPSHOT</version> + <version>4.4.0-SNAPSHOT</version> <name>Apache XenSource XAPI</name> <description>XenSource XAPI Java Bindings</description> <dependencies> @@ -36,7 +36,34 @@ </dependency> </dependencies> <build> - <sourceDirectory>src</sourceDirectory> - <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <dependencies> + <dependency> + <groupId>org.apache.cloudstack</groupId> + <artifactId>build-checkstyle</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> + <executions> + <execution> + <phase>process-classes</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <failsOnError>true</failsOnError> + <configLocation>tooling/checkstyle.xml</configLocation> + <consoleOutput>true</consoleOutput> + <includeTestSourceDirectory>true</includeTestSourceDirectory> + <sourceDirectory>${project.basedir}</sourceDirectory> + <excludes>**\/*</excludes> + </configuration> + </plugin> + </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0c2a4b25/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 59f3a6a..13e6a33 100644 --- a/pom.xml +++ b/pom.xml @@ -470,7 +470,7 @@ <includeTestSourceDirectory>true</includeTestSourceDirectory> <sourceDirectory>${project.basedir}</sourceDirectory> <includes>**\/*.java</includes> - <excludes>**\/deps\/,**\/test\/,**\/target\/,**\/bin\/,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/awsapi\/,**\/xapi\/,**\/apidoc\/</excludes> + <excludes>**\/deps\/,**\/test\/,**\/target\/,**\/bin\/,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/awsapi\/,**\/XenServerJava\/,**\/apidoc\/</excludes> </configuration> </plugin> </plugins>