What goals or phase are you running from Continuum? The reporting section is 
only used when generating a site (thus, running mvn site) and not when running 
an install or deploy.

Hth,

Nick Stolwijk

ps. I don't think you need the checkstyle artifact as dependency. This way it 
will be included in your project.


-----Original Message-----
From: Mitesh51 [mailto:[EMAIL PROTECTED]
Sent: Thu 1/31/2008 11:07 AM
To: continuum-users@maven.apache.org
Subject: Checkstyle Problem
 

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:[EMAIL 
PROTECTED]/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.


Reply via email to