Skip to content

Commit 0c2a4b2

Browse files
author
Alex Huang
committed
Everything now builds
1 parent be5e5cc commit 0c2a4b2

File tree

2 files changed

+31
-4
lines changed

2 files changed

+31
-4
lines changed

deps/XenServerJava/pom.xml

+30-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727
<artifactId>xapi</artifactId>
28-
<version>5.6.100-1-SNAPSHOT</version>
28+
<version>4.4.0-SNAPSHOT</version>
2929
<name>Apache XenSource XAPI</name>
3030
<description>XenSource XAPI Java Bindings</description>
3131
<dependencies>
@@ -36,7 +36,34 @@
3636
</dependency>
3737
</dependencies>
3838
<build>
39-
<sourceDirectory>src</sourceDirectory>
40-
<defaultGoal>install</defaultGoal>
39+
<plugins>
40+
<plugin>
41+
<groupId>org.apache.maven.plugins</groupId>
42+
<artifactId>maven-checkstyle-plugin</artifactId>
43+
<dependencies>
44+
<dependency>
45+
<groupId>org.apache.cloudstack</groupId>
46+
<artifactId>build-checkstyle</artifactId>
47+
<version>${project.version}</version>
48+
</dependency>
49+
</dependencies>
50+
<executions>
51+
<execution>
52+
<phase>process-classes</phase>
53+
<goals>
54+
<goal>check</goal>
55+
</goals>
56+
</execution>
57+
</executions>
58+
<configuration>
59+
<failsOnError>true</failsOnError>
60+
<configLocation>tooling/checkstyle.xml</configLocation>
61+
<consoleOutput>true</consoleOutput>
62+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
63+
<sourceDirectory>${project.basedir}</sourceDirectory>
64+
<excludes>**\/*</excludes>
65+
</configuration>
66+
</plugin>
67+
</plugins>
4168
</build>
4269
</project>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@
470470
<includeTestSourceDirectory>true</includeTestSourceDirectory>
471471
<sourceDirectory>${project.basedir}</sourceDirectory>
472472
<includes>**\/*.java</includes>
473-
<excludes>**\/deps\/,**\/test\/,**\/target\/,**\/bin\/,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/awsapi\/,**\/xapi\/,**\/apidoc\/</excludes>
473+
<excludes>**\/deps\/,**\/test\/,**\/target\/,**\/bin\/,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/awsapi\/,**\/XenServerJava\/,**\/apidoc\/</excludes>
474474
</configuration>
475475
</plugin>
476476
</plugins>

0 commit comments

Comments
 (0)