continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitesh51 <mit_b...@yahoo.com>
Subject Checkstyle Problem
Date Thu, 31 Jan 2008 10:07:49 GMT

I want to use checkstyle plugin and use it in continuum.

My pom.xml looks like .........

<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany.app</groupId>
  <artifactId>my-app</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>my-app</name>
  <url>http://maven.apache.org</url>
<scm>
	<connection>

scm:svn:svn://shikhas:shikhas@192.168.145.145/iLabsDevRepo/Source/trunk/iTraining/trunk/maven/my-app/
	</connection>
</scm>

  <dependencies>
   <dependency>
      <groupId>checkstyle</groupId>
      <artifactId>checkstyle</artifactId>
      <version>4.1</version>
	  <type>jar</type>
      <scope>package</scope>
	  <optional>true</optional>
    </dependency>

  </dependencies>

	<reporting> 
                <plugins> 
                        <plugin> 
                                <groupId>org.apache.maven.plugins</groupId> 
                               
<artifactId>maven-checkstyle-plugin</artifactId> 
                                <configuration> 
                                        <configLocation>D:\ILabs
Task\Maven\checkstyle-4.4\sun_checks.xml</configLocation> 
                                </configuration> 
                        </plugin> 
                </plugins> 
        </reporting> 

</project>

It is downloading the jars necessary for the checkstyle but it is not
generating the checkstyle documents.

Is there anything missing in pom.xml?

After running the build script in continuum, It does not generate the
checkstyle reports in the Output directory with the use of continuum.

Any Suggestions??
-- 
View this message in context: http://www.nabble.com/Checkstyle-Problem-tp15201303p15201303.html
Sent from the Continuum - Users mailing list archive at Nabble.com.


Mime
View raw message