Please throw away the first, the goal jar:install is not valid.

If you use the second, with my configuration it should work.

Hth,

Nick Stolwijk

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

in Continuum-> Bulild Defination Template, There are 2 Goals 

clean:clean jar:install

clean install


MATHUS Baptiste wrote:
> 
> Hi,
> 
> If you need something urgently as you say, better would be to try to
> answer questions asked by those who try to help you :-). 
> 
> *What goal did you configure inside Continuum for your project ?*
> 
> To generate the reports, you have to use "mvn site" at least. If not, the
> site, and so the integrated reports won't be generated.
> 
> Cheers.
> 
> -----Message d'origine-----
> De : Mitesh51 [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 31 janvier 2008 11:40
> À : continuum-users@maven.apache.org
> Objet : RE: Checkstyle Problem
> 
> 
> What i want to do is generate a checkstyle report.
> 
> I can do thais via mvn checkstyle:checkstyle from command prompt but i am
> not able to generate that report when i use the continumm to run the Maven
> project.
> 
> If u have yahoo id then can u give me?
> 
> Please I need the solution very urgently. 
> 
> 
> nicklist wrote:
>> 
>> 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.
>> 
>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/Checkstyle-Problem-tp15201303p15201976.html
> Sent from the Continuum - Users mailing list archive at Nabble.com.
> 
> 

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


Reply via email to