mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Brought in Hugo's checkstyle
This commit is contained in:
parent
8d62744681
commit
0232906708
42
pom.xml
42
pom.xml
@ -29,7 +29,7 @@
|
|||||||
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/cloudstack.git</developerConnection>
|
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/cloudstack.git</developerConnection>
|
||||||
</scm>
|
</scm>
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>jira</system>
|
<system>jira</system>
|
||||||
<url>https://issues.apache.org/jira/browse/CLOUDSTACK</url>
|
<url>https://issues.apache.org/jira/browse/CLOUDSTACK</url>
|
||||||
</issueManagement>
|
</issueManagement>
|
||||||
|
|
||||||
@ -86,7 +86,7 @@
|
|||||||
<cs.target.dir>target</cs.target.dir>
|
<cs.target.dir>target</cs.target.dir>
|
||||||
<cs.daemon.version>1.0.10</cs.daemon.version>
|
<cs.daemon.version>1.0.10</cs.daemon.version>
|
||||||
<cs.jna.version>4.0.0</cs.jna.version>
|
<cs.jna.version>4.0.0</cs.jna.version>
|
||||||
<cs.checkstyle.version>2.10</cs.checkstyle.version>
|
<cs.checkstyle.version>2.11</cs.checkstyle.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
@ -445,18 +445,44 @@
|
|||||||
<outputDirectory>${basedir}/${cs.target.dir}/classes</outputDirectory>
|
<outputDirectory>${basedir}/${cs.target.dir}/classes</outputDirectory>
|
||||||
<testOutputDirectory>${basedir}/${cs.target.dir}/test-classes</testOutputDirectory>
|
<testOutputDirectory>${basedir}/${cs.target.dir}/test-classes</testOutputDirectory>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<!--
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<plugin>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<version>2.11</version>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
</plugin>
|
<version>${cs.checkstyle.version}</version>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.cloudstack</groupId>
|
||||||
|
<artifactId>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>
|
||||||
|
<includes>**\/*.java</includes>
|
||||||
|
<excludes>**\/target\/,**\/bin\/,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</excludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
-->
|
||||||
</plugins>
|
</plugins>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
<version>2.11</version>
|
<version>${cs.checkstyle.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user