RE: Checkstyle Problem

2008-01-31 Thread Mitesh51

When I put ur block in pom.xml and try to run on simple maven then it gives
the following error.

'run' was specified in an execution, but not found in the plugin



nicklist wrote:
 
 What goals are you running from continuum?
 
 You could attach the checkstyle:checkstyle goal to another phase:
 build
 plugins
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-checkstyle-plugin/artifactId
 executions
 execution
 goals
 goalrun/goal
 /goals
 phaseverify/phase
 execution
 executions
 /plugin
 /plugins
 /build
 
 Hth,
 
 Nick Stolwijk
 
 -Original Message-
 From: Mitesh51 [mailto:[EMAIL PROTECTED]
 Sent: Thu 1/31/2008 11:40 AM
 To: continuum-users@maven.apache.org
 Subject: 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;
   modelVersion4.0.0/modelVersion
   groupIdcom.mycompany.app/groupId
   artifactIdmy-app/artifactId
   packagingjar/packaging
   version1.0-SNAPSHOT/version
   namemy-app/name
   urlhttp://maven.apache.org/url
 scm
  connection
 
 scm:svn:svn://shikhas:[EMAIL 
 PROTECTED]/iLabsDevRepo/Source/trunk/iTraining/trunk/maven/my-app/
  /connection
 /scm
 
   dependencies
dependency
   groupIdcheckstyle/groupId
   artifactIdcheckstyle/artifactId
   version4.1/version
typejar/type
   scopepackage/scope
optionaltrue/optional
 /dependency
 
   /dependencies
 
  reporting 
 plugins 
 plugin 

 groupIdorg.apache.maven.plugins/groupId 

 artifactIdmaven-checkstyle-plugin/artifactId 
 configuration 
 configLocationD:\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-tp15201303p15202595.html
Sent from the Continuum - Users mailing list archive at Nabble.com.



RE: Checkstyle Problem

2008-01-31 Thread nicklist
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;
   modelVersion4.0.0/modelVersion
   groupIdcom.mycompany.app/groupId
   artifactIdmy-app/artifactId
   packagingjar/packaging
   version1.0-SNAPSHOT/version
   namemy-app/name
   urlhttp://maven.apache.org/url
 scm
  connection
 
 scm:svn:svn://shikhas:[EMAIL 
 PROTECTED]/iLabsDevRepo/Source/trunk/iTraining/trunk/maven/my-app/
  /connection
 /scm
 
   dependencies
dependency
   groupIdcheckstyle/groupId
   artifactIdcheckstyle/artifactId
   version4.1/version
typejar/type
   scopepackage/scope
optionaltrue/optional
 /dependency
 
   /dependencies
 
  reporting 
 plugins 
 plugin

 groupIdorg.apache.maven.plugins/groupId

 artifactIdmaven-checkstyle-plugin/artifactId 
 configuration 
 configLocationD:\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.